Migrate Users to FusionAuth
On this page
FusionAuth can import user data from a homegrown system or from another identity provider. An import can carry profile data, roles, groups, registrations, refresh tokens, and password hashes. FusionAuth stores fields without a FusionAuth equivalent in user.data.
Import Users#
FusionAuth offers the following ways to bring users in:
- The Import Users API loads users in batches, with their existing password hashes. Use the Import Users API for a bulk migration.
- The Create a User API creates one user at a time. The Create a User API takes a plaintext password or no password, not a hash. Use the Create a User API for a few users, for users without passwords, or for an instance that already has users.
- Connectors move each user at the user's first login. Use Connectors for a slow migration when you can't export password hashes. Connectors require the Starter plan or higher.
- SCIMAn open standard defining an HTTP REST protocol and schema for automating user and group provisioning across systems. provisions users from a SCIM client, such as Azure AD or Okta, and keeps the accounts in sync. SCIM requires the Enterprise plan. For more information, see SCIM.
To choose an approach, see Migration Types. To work through a migration from start to finish, follow these pages in order:
- Plan a Migration maps your data to FusionAuth and sets up FusionAuth.
- Bulk Migration or Slow Migration moves the users.
- Special Considerations covers refresh tokens, SAML configuration, very large user counts, and applications that depend on the old system's tokens.
For a worked example with one user table, see the Generic Migration Tutorial.
Use FusionAuth Without Importing Users#
FusionAuth can authenticate users against an existing user store without storing the users:
- When the user store supports SAML or OIDC, configure the store as an Identity Provider. Customize the theme, and consider a login hint to send users straight to the store.
- When the user store supports LDAPA protocol for reading and authenticating users in a directory server, such as Active Directory. FusionAuth connects to a directory server through an LDAP Connector. or a JSON API, configure a Connector without migration.
In both cases, FusionAuth talks to the user store through an interface, never through the store's database. FusionAuth doesn't support direct database access.
Other Migration Guides#
FusionAuth also has guides for specific identity providers and frameworks, password hashing plugins, moving between FusionAuth Cloud and a self-hosted instance, and exporting data when you leave FusionAuth:
From Another Provider
Migrate From Akamai
How to migrate your users from Akamai to FusionAuth.
Migrate From Amazon Cognito
Learn how to migrate your users to FusionAuth from Amazon Cognito.
Migrate From Auth0
Learn how to migrate your users to FusionAuth from Auth0.
Migrate From Duende IdentityServer
Learn how to migrate your users to FusionAuth from Duende IdentityServer.
Migrate From Firebase
Learn how to migrate your users to FusionAuth from Firebase.
Migrate From Forgerock
Learn how to migrate your users to FusionAuth from Forgerock.
Migrate From Frontegg
How to migrate your users from Frontegg to FusionAuth.
Migrate From Keycloak
Learn how to migrate your users to FusionAuth from Keycloak.
Migrate From Microsoft Azure AD B2C
Learn how to migrate your users to FusionAuth from Microsoft Azure AD B2C.
Migrate From Ping Identity
Learn how to migrate your users to FusionAuth from Ping Identity.
Migrate From Stytch
How to migrate your users from Stytch to FusionAuth.
Migrate From Supabase
Learn how to migrate your users to FusionAuth from Supabase.
Migrate From Userfront
Learn how to migrate from Userfront to FusionAuth.
Migrate From WordPress
Learn how to migrate users and password hashes from WordPress to FusionAuth.
From a Framework
Migrate From Passport
Learn how to migrate your users from Passport authentication to FusionAuth.
Migrate From Rails
Learn how to migrate your users from Rails-based authentication to FusionAuth.
Password Hashing Plugins
Custom Password Hashing
Learn how to write a FusionAuth plugin, called a Password Encryptor, that implements a custom password hashing algorithm.
Password-Hashing Algorithms
This is a reference for all of the current password hashing algorithms support by FusionAuth out of the box.
Writing a Plugin
Learn how to write a FusionAuth plugin.
Between Cloud and Self-Hosted
FusionAuth maintains open-source import scripts for CSV files, Auth0, and other sources. When no guide covers your provider, open an issue with the details.
Get Help#
When an import fails, see Troubleshooting User Import. To ask a question, post in the FusionAuth forum. With a paid plan, you can open a support request from your account. Some plans include help from the FusionAuth team with data migration. For more information, see FusionAuth pricing.
Migration Types
Learn about bulk, segment-by-segment, and slow user migrations, and how to choose between them.
Plan a Migration
Learn how to plan a user migration, map user data to FusionAuth, and set up FusionAuth before you import users.
Bulk Migration
Learn how to import every user into FusionAuth at once with the Import Users API, including password hashes, social logins, and MFA.
Slow Migration
Learn how to move users into FusionAuth one at a time, as each user logs in, with an LDAP or Generic Connector.
Generic Migration Tutorial
Learn how to migrate users and password hashes from a custom authentication system to FusionAuth.
Special Considerations
Learn how to migrate refresh tokens and SAML configuration, import very large numbers of users, and keep applications working with the old system's tokens.
Export from FusionAuth
Learn how to export your data from FusionAuth to migrate to another authentication service.
Related
Learn how to import every user into FusionAuth at once with the Import Users API, including password hashes, social logins, and MFA.
Learn about bulk, segment-by-segment, and slow user migrations, and how to choose between them.
Learn how to migrate users and password hashes from a custom authentication system to FusionAuth.
Learn how to plan a user migration, map user data to FusionAuth, and set up FusionAuth before you import users.