Test mode: paid plans aren't on sale yet, so nothing is charged. Every plan's limits apply.

← Docs

Migrating from Keycloak

Most of a Keycloak realm maps directly:

KeycloakNod
RealmRealm (nod realm create)
Client (confidential, public)Client (--confidential, or public)
Client with service accounts enabledMachine client (--machine)
Client scopes and audiencesAPIs (nod api register) and their scopes; resource (RFC 8707) names the API
Realm rolesRoles (nod role create)
GroupsOrganizations, or roles (see Organizations)
Identity providers (OIDC, SAML, GitHub)Connections (nod connection add, add-saml, --github)
User federation (LDAP, Active Directory)LDAP connections (nod connection add-ldap)
UsersUsers (nod import keycloak)
Authorization servicesNod FGA (OpenFGA's modeling language)
ThemesBranding and your own wording per language (Sign-in methods)

Users, with their passwords

  1. Export the realm with its users. From the admin console's Realm settings → Action → Partial export the users aren't included; use the server's export instead:

sh kc.sh export --realm corp --users realm_file --file corp-realm.json

(--users different_files writes corp-users-0.json and so on; each is imported the same way.)

  1. Allow passwords in the realm, then import:
nod realm set acme --passwords on
nod import keycloak acme corp-realm.json
# 830 imported (811 with their password), 0 already here, 1 failed

What happens to each user:

Apps

Keep each app's client id when you register it in Nod, and point the app at the new issuer (https://auth.example.com/acme). Standard OpenID Connect libraries need no other change: the code flow with PKCE, refresh tokens, userinfo, logout (RP-initiated and back-channel) and client credentials work as before. Nod always requires PKCE for public clients and S256 only.