Skip to content

Keycloak migration readiness checklist

A checklist for moving users to Keycloak, tailored to where they are today: inventory, export, mapping, a dry run on a staging copy, user emails, cut-over and rollback.

Runs in your browser. Nothing you paste is sent to us.

Checklist

The list changes with the source: what to export, and whether users keep their passwords.

Inventory
Export
Map
Dry run on a staging copy
User communication
Cut-over
Rollback

Progress

0 of 39 done

Passwords do not move from this source
Auth0 does not export password hashes Keycloak can verify, so every password user sets a new password by email link after the move. Plan the emails and the realm’s SMTP early.
Checklist as Markdown
# Migration readiness: Auth0 to Keycloak

## Inventory

- [ ] Count the users, and how many signed in during the last 90 days
- [ ] List every application and API that signs users in, with its redirect URIs
- [ ] List the social and enterprise identity providers in use
- [ ] List the custom fields kept on users, and which apps read them
- [ ] List the groups and roles, and how apps read them from tokens
- [ ] Note which users use MFA, and which factors
- [ ] List custom login code (Auth0 Actions or Rules, Cognito Lambda triggers, B2C custom policies, Firebase blocking functions)

## Export

- [ ] Run an Auth0 user export job in JSON format with the fields you need
- [ ] Export the clients, identity providers and realm settings you will re-create
- [ ] Keep the export encrypted, off email and chat, and note where every copy is

## Map

- [ ] Convert the users to Keycloak’s import format with a converter tool
- [ ] Decide the username: email address or the old username
- [ ] Declare custom attributes in the realm’s user profile
- [ ] Map groups and roles, and the token claims apps expect
- [ ] Re-create each application as a Keycloak client with its redirect URIs
- [ ] Re-create the identity providers, with the same alias in each redirect URI you register
- [ ] Configure the realm’s SMTP so set-password emails can go out

## Dry run on a staging copy

- [ ] Import into a staging realm, not the production one
- [ ] Compare user counts, groups and attributes with the source
- [ ] Sign in with a test user through each application
- [ ] Sign in with each social or enterprise provider and check the account links by email
- [ ] Send yourself a set-password email and finish it
- [ ] Check token claims, roles and groups in each application

## User communication

- [ ] Write the announcement, the cut-over email and a reminder
- [ ] Tell users they will set a new password by email link
- [ ] Tell users who used an authenticator app that they will set it up again
- [ ] Tell users that they sign in once again after the switch
- [ ] Prepare answers for your own support team

## Cut-over

- [ ] Pick a quiet time window and freeze changes in the old system
- [ ] Lower the DNS TTL a day before, if the sign-in hostname moves
- [ ] Run a fresh export and import it, so late changes come along
- [ ] Switch each application to the new issuer and client settings
- [ ] Send the set-password emails, in batches
- [ ] Watch sign-ins and errors for the first hours

## Rollback

- [ ] Keep the old system running and unchanged until the move is signed off
- [ ] Write down how each application switches back
- [ ] Agree who decides to roll back, and by when
- [ ] Know what is lost on rollback: sign-ups and password changes made after the switch
- [ ] Delete every copy of the export once the move is done
Nothing is saved: copy the Markdown into your own tracker to keep your progress.

How to use it

  1. Choose the system you are moving from.
  2. Tick each item as you finish it.
  3. Copy the list as Markdown into your own tracker.

What to know

Most failed moves skip the same steps: an inventory of apps and redirect URIs, a dry run on a staging copy, and a plan for what users see. The list keeps them in view.

For sources that do not export usable password hashes, it adds the work around set-password emails: the realm’s SMTP, the email text and a reminder.

Nothing is stored. Your ticks stay on this page until you leave it.

Why a checklist for a sign-in move

Moving users to Keycloak is rarely hard in any one step. Exports are documented, Keycloak imports users from JSON, and clients and identity providers are a form in the admin console. Moves go wrong in the gaps between the steps: an app nobody listed, a redirect URI that still points at the old system, a custom claim an API depends on, users who get a set-password email they did not expect.

This checklist lists the steps in order, from inventory to rollback, and changes with the system you are moving from. Pick the source, tick each item as you finish it, and copy the list as Markdown into your own tracker. Nothing is stored or sent.

The seven phases

PhaseWhat it settles
InventoryWhat you have: users, apps, providers, custom data, MFA and custom login code
ExportHow the data leaves the old system, and where every copy is
MapHow each part becomes a Keycloak realm, client, identity provider, attribute or group
Dry run on a staging copyThat the import works and every app signs in, before anything changes for users
User communicationWhat users hear before, on the day and after
Cut-overThe window, the final export and import, the switch of each app
RollbackHow to go back, who decides, and what would be lost

Inventory

Start by counting. The number of users matters less than the number of active ones: people who signed in during the last months are the ones who will notice the move. Count both, and keep the active count for planning emails and support.

Then list every application and API that relies on the old system, with its redirect URIs, logout URIs, allowed origins and the token claims it reads. This list becomes your clients in Keycloak, and it is the list most often incomplete. Ask each team that owns an app, and check the old system’s own list of applications.

List the identity providers too: Google, Apple, Microsoft, a customer’s SAML or OIDC provider. Each needs a Keycloak identity provider, and each provider needs the new redirect URI registered on its side. Some providers take days to approve a change, so start early.

Finally, list custom login code. Auth0 Actions and Rules, Cognito Lambda triggers, Azure AD B2C custom policies and Firebase blocking functions all run during sign-in. None of them move. Write down what each does, and decide its Keycloak counterpart: a required action, a mapper, an authentication flow step, or a change in the app.

Export

Each source has its own export, and the checklist shows the one for yours.

SourceExport
Auth0A user export job in JSON format
OktaThe List Users API, GET /api/v1/users
Amazon Cognitoaws cognito-idp list-users, and groups per user
Azure AD B2C, Entra External IDMicrosoft Graph users with identities and extension attributes selected
Firebase Authenticationfirebase auth:export with --format=json
Keycloak you run, Red Hat SSO, Red Hat build of Keycloakkc.sh export with users, or the RH-SSO export, from a stopped server or a copy of the database
Another Keycloak hostA full export with users from the host, not the admin console’s partial export

Treat every export as a secret. It holds personal data, and Keycloak and Firebase exports hold password hashes too. Keep it encrypted, never send it by email or chat, and write down where each copy is, so you can delete all of them later.

Map

Mapping turns the export into Keycloak’s shape. For users, the converter tools do most of it: Auth0, Firebase, Cognito, Okta and Azure AD B2C. From another Keycloak, the export is already in Keycloak’s format.

Three decisions are yours. First, the username: the email address is the usual choice, and it keeps sign-in the same for users. Second, the attributes: declare each one in the realm’s user profile, or Keycloak drops it. Third, the token claims: each app reads some claims, and each needs a mapper in Keycloak that produces it under the same name.

For sources that cannot move passwords, set up the realm’s SMTP connection during mapping, not at cut-over. The set-password emails depend on it.

Dry run on a staging copy

Import into a staging realm with the same settings as production. Compare the user count, the groups and a few attributes with the source. Then sign in through each application with a test user: a password user, a social user and, if you have them, an enterprise user.

For a source without usable password hashes, send yourself a set-password email and finish it, so you see what users will see. For another Keycloak, sign in with an existing password: if it works, the hashes moved.

Check the tokens too. The JWT decoder shows the claims each app receives, and the token roles viewer shows the roles.

User communication

Users take a move well when it does not surprise them. Write three emails: an announcement a week or two before, an email on the day, and a reminder for those who have not signed in. The migration email templates give you text to start from.

Say plainly what changes: a new password by email link if passwords do not move, setting up the authenticator app again if they used one, and signing in once more because sessions end. Tell your own support team the same, with answers ready.

Cut-over and rollback

  1. Pick a quiet window and freeze changes in the old system.
  2. Lower the DNS record’s TTL a day ahead if the sign-in hostname moves.
  3. Run a final export and import it, so late sign-ups and changes come along.
  4. Switch each app to the new issuer, client id and secret.
  5. Send set-password emails in batches, if passwords do not move.
  6. Watch sign-ins and errors for the first hours.

Rollback is part of the plan, not an afterthought. Keep the old system running and unchanged until you sign the move off. Write down how each app switches back, agree who decides, and by when. Know what is lost on the way back: sign-ups and password changes made after the switch.

When the move is signed off, delete every copy of the export, and turn off the old system’s sign-in once no app points at it any more.

Using the list with a team

A sign-in move touches several teams: the people who run identity today, each application’s owners, support, and whoever writes to customers. Give each item an owner before you start. The Markdown copy pastes into most trackers as a task list, so each line can carry a name and a date.

Review the list at three points: after the inventory, when the scope is known; after the dry run, when the plan is proven; and the day before cut-over, when every item above Cut-over should be ticked. An unticked item at that last review is a reason to move the date, not to hope.

WhoUsually owns
Identity teamInventory, export, mapping, the dry run import
Application ownersClient settings, token claims, testing their app
SupportAnswers to user questions, the reminder email
CommunicationsThe announcement and the email on the day

How long it takes

It depends: on the number of applications and identity providers, on custom login code, on whether passwords move, on how quickly providers approve new redirect URIs, and on how much notice your users need. We do not give a number without seeing what you run. The checklist helps you see the size of the job before you set a date.

On Premium and Enterprise, our team does the move with you within the plan’s 10 service hours a month. On Starter, you work through this list with our tools and guides, and ask us in writing. Very large moves are scoped as Custom through the contact form. Moving to RealmDeploy has a page for each source.

Questions

Frequently asked questions

What is the most common mistake in a sign-in move?

An incomplete list of applications and redirect URIs. An app that nobody listed stops working at cut-over.

Do I need a dry run?

Yes. Import into a staging realm and sign in through every app before production changes. It is where mapping mistakes show up.

Will my users keep their passwords?

From another Keycloak with a full export, yes. From Auth0, Okta, Cognito, Azure AD B2C and Firebase, no: they set a new password by email link.

Is my progress saved?

No. Copy the list as Markdown to keep it in your own tracker.

How long does a move take?

It depends on your apps, identity providers, custom login code and whether passwords move. We do not give a number without seeing what you run.

Who does the work?

On Premium and Enterprise, our team with you, within the plan’s service hours. On Starter, you, with our tools, guides and written support.

What if an item does not apply to us?

Tick it once you have checked that it does not apply. An item left open should mean work still to do, so the count stays honest.

Rather not run Keycloak yourself?

We run it for you on a cluster of your own, with backups, upgrades and written support. Starter and Premium begin with a 7-day trial.