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
- 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
Step 1: Export users from Auth0
in Auth0Dashboard > User Management > Users > Import/Export Users > Export Users, in JSON. The download link is valid for 60 seconds, so save the file at once.
Step 2: Decide how passwords move
in Auth0Password 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.
Step 3: Build the Keycloak realm
in KeycloakCreate the realm, an OpenID Connect client for each app, and the social identity providers you use, such as Google or GitHub.
Step 4: Convert and import users
in KeycloakMap 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.
Step 5: Rebuild custom logic, then cut over
bothRe-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
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
- stars
- 38.2k
- gained · 7d
- +137
- growth · 7d
- ▲up 0.4%
- health
- 68/100
- licence
- Apache-2.0
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
- the docs
- 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
Tables, records and views, with each view's fields, filters, sorts and groups.
Google Analytics 4 to PlausibleDaily totals of visitors, visits, pageviews and engagement time, up to the day Plausible starts counting.
Missing a switch?Tell us which move you need: the queue is ordered by what people ask for.
Request a guide