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.
Passwords do not move. Okta's API never returns a password or a hash: the password object in a response is empty. Password users set a new password by email link after the move.
1. Export users and groups
List users with the Users API and follow every next link until there are none:
curl -s "https://<your-org>.okta.com/api/v1/users?limit=200" \
-H "Authorization: SSWS <api-token>" -H "Accept: application/json"Put every page's users into one JSON array. For groups, call GET /api/v1/users/{id}/groups per user, or GET /api/v1/groups/{id}/users per group, and add a groups column (names separated by semicolons) if you build a CSV.
2. Convert
Open the Okta to Keycloak users converter. It reads the JSON array, or a CSV with login, email, firstName, lastName and your attribute names. It writes:
email, names,createdTimestamp, andenabled: falseforSUSPENDEDandDEPROVISIONEDusers (or leaves the deprovisioned out)- other profile attributes as attributes, and
idasokta_id - groups from the column you name
UPDATE_PASSWORDfor users whose credentials are Okta's own
Okta has no per-user verified flag, so emailVerified is false unless you tick the option.
3. Re-create the rest
| In Okta | In Keycloak |
|---|---|
| OIDC app integration | OIDC client with its redirect URIs and grant types |
| SAML app integration | SAML client; the app takes Keycloak's metadata and certificate |
| Authorization server claims | Client scopes and protocol mappers |
| Identity providers | Identity providers; register the new redirect URI |
| Sign-on policies | Authentication flows |
| Factors, Okta Verify | Users set up an authenticator app or a passkey again |
4. Dry run, then cut over
Import into a staging realm with partial import and sign in through each app. At cut-over, freeze changes in Okta, export again, import, switch the apps and send the set-password emails in batches. Keep the Okta org unchanged until you sign the move off.
The Okta migration page covers what each plan includes.
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.
Moving from Amazon Cognito
List Cognito users and groups, convert them for Keycloak, and re-create app clients and identity providers. Password users set a new password by email link.