Applications and SSO
OIDC
Use the Keycloak issuer:
https://id.example.com/realms/identity
Each app gets:
client_id
client_secret (confidential only)
redirect URI
web origin
roles
The app checks:
{
"resource_access": {
"my-app": { "roles": ["user"] }
}
}
or realm/client roles.
SAML
Register the app with its ACS URL and entity ID. Download the IdP metadata from Keycloak.Role assignment
Prefer groups:
mail-users
crm-admins
billing-viewers
Group role mappings are emitted in the token. Identity Console's group sync shows the same membership.
Ten products
One realm can serve many clients:
mail
crm
billing
analytics
...
Each client has its own roles and redirect URIs. Users sign in once. The login page is company-branded.