Keycloak · Arazzo Workflow
Keycloak Register a Confidential OIDC Client
Version 1.0.0
Register an OpenID Connect client in a realm, resolve its internal UUID, and retrieve its generated secret.
View Spec
View on GitHub
AuthenticationAuthorizationIdentity ManagementOAuthOpenID ConnectSecuritySSOArazzoWorkflows
Provider
Workflows
register-oidc-client
Create a confidential OIDC client and retrieve its client secret.
Idempotently registers a confidential OpenID Connect client with the authorization code flow enabled, resolves its internal UUID, and returns the generated client secret.
1
confirmRealm
getRealm
Confirm the realm exists and is enabled before registering anything into it.
2
precheckClient
getClients
Filter the realm's clients by clientId to see whether this application is already registered, keeping the workflow idempotent.
3
createConfidentialClient
createClient
Register the client as confidential with the authorization code flow on and the implicit flow off. Keycloak generates the secret server-side and answers 201 with a Location header and no body, so the secret is fetched later rather than read from here.
4
resolveClientUuid
getClients
Exchange the clientId for Keycloak's internal client UUID. Both the created and the already-registered branch converge here, because the secret and detail endpoints are keyed on the UUID rather than the clientId.
5
loadClient
getClient
Read the stored client representation back to confirm the flags Keycloak actually persisted, which is the only way to catch a silently defaulted setting.
6
fetchClientSecret
getClientSecret
Retrieve the server-generated client secret. This is the credential the application needs to complete the authorization code exchange, and it is only ever available from this endpoint.