migration guide · editorialupdated

Migrating from Auth0 to Keycloak

What transfers, what doesn't, the five steps in order and what you give up. Written for one person who has deployed a server before.

Plan on weeks, and we rate it hard. Every step follows Auth0's and Keycloak's own documentation, listed under Sources.

What moves over

What comes across from Auth0, and what doesn't, by the products' own docs.
  • User profiles, exported from Auth0 as JSON or CSVtransfers
  • Users, once converted into a Keycloak realm filetransfers
  • Social logins, if you reuse your own OAuth client IDs and secretstransfers
  • Password hashes: they are not in the export, only in a support-case requestdoesn’t transfer
  • MFA secrets, which only that same support-case export includesdoesn’t transfer
  • Rules, custom database scripts and other custom codedoesn’t transfer

The five steps

In order, each tagged with where it happens.
  1. Step 1: Export users from Auth0

    in Auth0

    Dashboard > User Management > Users > Import/Export Users > Export Users, in JSON. The download link is valid for 60 seconds, so save the file at once.

  2. Step 2: Decide how passwords move

    in Auth0

    Password hashes are not in the export. Request them through an Auth0 support case, which is reviewed and not always granted, or plan for users to reset their passwords.

  3. Step 3: Build the Keycloak realm

    in Keycloak

    Create the realm, an OpenID Connect client for each app, and the social identity providers you use, such as Google or GitHub.

  4. Step 4: Convert and import users

    in Keycloak

    Map the Auth0 export to Keycloak's realm JSON yourself, since neither project documents the mapping, then import it with kc.sh import or the admin console's partial import.

  5. Step 5: Rebuild custom logic, then cut over

    both

    Re-implement Auth0 Rules and Actions as Keycloak providers, then point each app's OpenID Connect settings at Keycloak.

Back up your data before you start. These steps follow each product’s own documentation, listed under Sources, as it read on 2026-11-26; products change, so check those pages before you run anything.

Watch out for

What you give up, said plainly before you start.
  • Bulk user export is not available on Auth0's Free plan

  • Keycloak hashes passwords with argon2 or PBKDF2; hashes from any other algorithm need a custom provider

  • Auth0 gives no timescale for hash exports, and a request needs a form signed by a senior executive

EditorialAleksandar Simovupdated

Check Keycloak before you commit

GitHub star growth and maintainer health, read from GitHub. Watch them for a few weeks; it’s free.
stars
38.2k
gained · 7d
+137
growth · 7d
up 0.4%
health
68/100
licence
Apache-2.0
measuredGitHub API · 2026-12-05 00:37 UTC

Frequently asked

How long does migrating from Auth0 to Keycloak take?

Weeks for one person who has run a server before, by our estimate, and we rate it hard. The steps below follow both products' own documentation.

What comes across from Auth0?

User profiles, exported from Auth0 as JSON or CSV. Users, once converted into a Keycloak realm file. Social logins, if you reuse your own OAuth client IDs and secrets.

What doesn't come across?

Password hashes: they are not in the export, only in a support-case request. MFA secrets, which only that same support-case export includes. Rules, custom database scripts and other custom code.

What do I need to run Keycloak?

Container + DB, 1250 MB RAM minimum, app only, stated in keycloak.org docs, checked 2026-10-21, by our curated profile, which rates it moderate to run. On a server of its own that is about $14.40 a month by our published rule, before your time.

Is Keycloak open source?

Yes. Keycloak is published under Apache-2.0, a permissive open-source licence approved by the Open Source Initiative.

Where this comes from

steps, effort
By Aleksandar Simov, updated 2026-11-26
keycloak data
GitHub API, as of 2026-12-05 00:37 UTC
self-host
Checked against Keycloak's own docs

Found something out of date? Report an error 

More migration guides

effort · difficulty · editorial
All migration guides