4 title: Changing upstream login providers
7 Copyright (C) The Arvados Authors. All rights reserved.
9 SPDX-License-Identifier: CC-BY-SA-3.0
12 This page describes how to enable users to use more than one upstream identity 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.
14 h2. Configure multiple or alternate provider in SSO
16 In @application.yml@ for the SSO server, you can enable both @google_oauth2@ and @ldap@ providers:
20 google_oauth2_client_id: abcd
21 google_oauth2_client_secret: abcd
25 host: ldap.example.com
28 base: "ou=Users, dc=example, dc=com"
33 Restart the SSO server after changing the configuration.
35 h2. Matching on email address
37 If the new account provider supplies an email address (primary or alternate) that matches an existing user account, the user will be logged into that account. No further migration is necessary, and the old provider can be removed from the SSO configuration.
41 If the new provider cannot provide matching email addresses, users will have to migrate manually by "linking accounts":{{site.baseurl}}/user/topics/link-accounts.html
43 After linking accounts, users can use the new provider to access their existing Arvados account.
45 Once all users have migrated, the old account provider can be removed from the SSO configuration.