X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cc572d714646b424d70facff4feb6d36480e8f7c..f42ee7c19b794e25db30051b1dfc4bee83929bcd:/doc/admin/migrating-providers.html.textile.liquid diff --git a/doc/admin/migrating-providers.html.textile.liquid b/doc/admin/migrating-providers.html.textile.liquid index 9231dc2926..b684111f95 100644 --- a/doc/admin/migrating-providers.html.textile.liquid +++ b/doc/admin/migrating-providers.html.textile.liquid @@ -1,7 +1,7 @@ --- layout: default navsection: admin -title: "Migrating account providers" +title: Changing upstream login providers ... {% comment %} Copyright (C) The Arvados Authors. All rights reserved. @@ -9,33 +9,8 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} -This page describes how to enable users to use more than one provider to log into the same Arvados account. This can be used to migrate account providers, for example, from LDAP to Google. In order to do this, users must be able to log into both the "old" and "new" providers. +When a user logs in to Arvados, their email address (as returned by the authentication provider) is used as the primary key for their Arvados account. -h2. Configure multiple providers in SSO +If you reconfigure Arvados to use a different authentication provider after some users have created accounts, you should either ensure the new provider returns the same email addresses as the old one, or update your Arvados users' @email@ attributes to match the email addresses returned by the new provider. -In @application.yml@ for the SSO server, enable both @google_oauth2@ and @ldap@ providers: - -
-production:
-  google_oauth2_client_id: abcd
-  google_oauth2_client_secret: abcd
-
-  use_ldap:
-    title: Example LDAP
-    host: ldap.example.com
-    port: 636
-    method: ssl
-    base: "ou=Users, dc=example, dc=com"
-    uid: uid
-    username: uid
-
- -Restart the SSO server after changing the configuration. - -h2. Link accounts - -Instruct users to go through the process of "linking accounts":{{site.baseurl}}/user/topics/link-accounts.html - -After linking accounts, users can use the new provider to access their existing Arvados account. - -Once all users have migrated, the old account provider can be removed from the SSO configuration. +Otherwise, next time users log in, they will be given new accounts instead of logging in to their existing accounts.