forgerock
ForgeRock
- Navigate to Applications -> OAuth 2.0 -> Clients in ForgeRock Access Management.
- Create new client.
- Configure Client ID, Client Secret, Scopes and Redirection URIs.
client ID
client secret
allowed_redirect_uris
should be the two redirect URIs for Vault CLI and UI access.oidc_scopes
should be set to the OIDC scopes.
- Save Client ID and Client Secret.
Configuration
In Vault, enable the OIDC auth method.
Configure the OIDC auth method with the
oidc_client_id
(client ID),oidc_client_secret
(client secret), andoidc_discovery_url
(endpoint URL) from ForgeRock.Configure the OIDC Role with the following:
user_claim
should be"sub"
.allowed_redirect_uris
should be the two redirect URIs for Vault CLI and UI access.oidc_scopes
should be set to the OIDC scopes.