Skip to content

Migrate user store

Migrating to Mosaic from another authentication provider is designed to be seamless and secure. Whether you're transitioning from legacy systems or established identity providers like Okta, Auth0, Azure AD, or AWS Cognito, Mosaic supports flexible migration strategies that minimize disruption for your users.

Migration approaches

There are two primary ways to migrate users to Mosaic, depending on your requirements:

  • Full migration: Transition entirely from your current provider to Mosaic, moving all user data, credentials, and roles. This approach is ideal when you want to fully replace your existing identity solution.

  • Just-In-Time (JIT) migration: Migrate users gradually as they authenticate. When a user logs in, Mosaic validates their credentials against your existing IDP and automatically creates or updates their Mosaic profile. This approach allows for a smooth transition without requiring downtime or bulk data exports.

JIT migration methods

Mosaic supports multiple authentication methods for JIT migration, allowing you to validate users against your existing identity provider:

MethodDescription
Password authenticationValidates username/password credentials directly against your existing IDP using ROPC (Resource Owner Password Credentials).
Email OTP authenticationSends and verifies email one-time passcodes through your existing IDP.
SMS OTP authenticationSends and verifies SMS one-time passcodes through your existing IDP.
TOTP authenticationValidates time-based one-time passcodes generated in the user's authenticator app against your existing IDP.
OIDC redirectRedirects users to your existing IDP for authentication using the OIDC Authorization Code flow.

Supported identity providers

Mosaic's Integration Hub provides pre-built connectors for major identity providers. Journeys expose only the authentication methods an IDP supports.

ProviderOIDCPasswordEmail OTPSMS OTPTOTP
Okta
Auth0
AWS Cognito
Microsoft Entra ID
Keycloak
OneLogin
Ping Identity
Google
Meta (Facebook)
Apple

Limitations

Currently, user migration doesn't provision user roles and groups.

Planning your migration

Consider the following when planning your migration:

  • Timeline: JIT migration happens gradually as users log in. Plan for a transition period where both systems may be active.
  • Authenticator registration: Decide whether to prompt users to register new authenticators immediately or during subsequent logins.
  • Data synchronization: Determine which user attributes to migrate and how to handle data that may exist in both systems.
  • Rollback strategy: Maintain your existing IDP during the transition period to ensure you can roll back if needed.