Auth
Set OIDC settings
Enterprise feature
Configure OpenID Connect as a login provider for Unleash.
post/api/admin/auth/oidc/settings
Request body
Example request
{
"enabled": true,
"discoverUrl": "https://myoidchost.azure.com/.well-known/openid-configuration",
"clientId": "FB87266D-CDDB-4BCF-BB1F-8392FD0EDC1B",
"secret": "qjcVfeFjEfoYAF3AEsX2IMUWYuUzAbXO",
"defaultRootRoleId": 2,
"emailDomains": "getunleash.io,getunleash.ai",
"acrValues": "urn:okta:loa:2fa:any phr",
"idTokenSigningAlgorithm": "RS256",
"groupJsonPath": "groups",
"extraScopes": "custom_scope1 custom_scope2"
}Response
oidcSettingsResponseSchema
Example response
{
"enabled": true,
"discoverUrl": "https://myoidchost.azure.com/.well-known/openid-configuration",
"clientId": "FB87266D-CDDB-4BCF-BB1F-8392FD0EDC1B",
"secret": "qjcVfeFjEfoYAF3AEsX2IMUWYuUzAbXO",
"defaultRootRoleId": 2,
"emailDomains": "getunleash.io,getunleash.ai",
"acrValues": "urn:okta:loa:2fa:any phr",
"idTokenSigningAlgorithm": "RS256",
"groupJsonPath": "groups",
"extraScopes": "custom_scope1 custom_scope2"
}Changes
Changed in 1 of the 7 revisions of this API.12
- ▲
removed
subschema #1subschema #2from the request bodyoneOflistrequest-body-one-of-removed
- ○
added
subschema #1subschema #2to the request bodyoneOflistrequest-body-one-of-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲