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 ManagementOpenID 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
2
precheckClient
Filter the realm's clients by clientId to see whether this application is already registered, keeping the workflow idempotent.
3
createConfidentialClient
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
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
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
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.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.