Moving from Auth0
Export your Auth0 users, convert them for Keycloak, and re-create applications and connections. Password users set a new password by email link.
Passwords do not move. Auth0 hashes database passwords with bcrypt, and Keycloak does not ship a bcrypt provider. Database users set a new password by email link after the move. You do not need Auth0's password hash export.
1. Export users
Run a user export job in JSON format (newline-delimited) with the default profile fields and your metadata. Auth0's CSV export cannot hold app_metadata or user_metadata as whole objects, so use JSON.
Note the field that holds groups, such as app_metadata.groups. Auth0's role assignments are not in the user export: if your apps read roles, put them in metadata first or export them separately.
2. Convert
Open the Auth0 to Keycloak users converter and load the file. It runs in your browser and writes:
email,emailVerified,firstName,lastName,enabled(fromblocked) andcreatedTimestampapp_metadataanduser_metadataas attributes, anduser_idasauth0_user_id- groups from the field you name
requiredActions: ["UPDATE_PASSWORD"]for users with anauth0(database) identity
Users with only social or enterprise identities get no password step.
3. Re-create the rest
| In Auth0 | In Keycloak |
|---|---|
| Application | Client, with the same callback and logout URLs |
| API and its scopes | Client scopes, and the audience mapper |
| Social connection | Identity provider; register its new redirect URI at the provider |
| Enterprise connection | SAML or OIDC identity provider; your customer updates their side |
| Actions and Rules | Mappers, required actions, flow steps, or code in your app |
| MFA enrollments | Users enroll again at first sign-in |
4. Dry run, then cut over
Import into a staging realm with partial import. Sign in as a database user (finish the set-password email), a social user and an enterprise user, and check each app's tokens. At cut-over, freeze changes in Auth0, export again, import, switch the apps, and send the set-password emails in batches.
Keep the Auth0 tenant unchanged until you sign the move off: rolling back is switching the apps back.
The Auth0 migration page covers what each plan includes.
Moving from another Keycloak host
Move realms from Cloud-IAM, Skycloak, Phase Two or another Keycloak host. With a full export, users keep their passwords.
Moving from Okta
Export Okta users and groups through the API, convert them for Keycloak, and re-create app integrations. Password users set a new password by email link.