--- layout: default navsection: admin title: "Migrating account providers" ... {% comment %} 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. h2. Configure multiple providers in SSO 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.