...
Add user roles to JWT for admin applications.
...
"surrogateAuthRequired": false, |
"alwaysDisplayInConsole": false, |
"clientAuthenticatorType": "client-secret", |
"https://admin.dev.resharedcb.org/*", |
"https://admin.testing.resharedcb.org/*", |
"https://discovery.dev.resharedcb.org/*", |
"https://libraries-reshare-hub-discovery-scaffold.vercel.app/*", |
"https://discovery.testing.resharedcb.org/*", |
"http://localhost:3000/*", |
"https://libraries-reshare-hub-admin-scaffold.vercel.app/*" |
"consentRequired": false, |
"standardFlowEnabled": true, |
"implicitFlowEnabled": true, |
"directAccessGrantsEnabled": true, |
"serviceAccountsEnabled": true, |
"authorizationServicesEnabled": true, |
"frontchannelLogout": false, |
"protocol": "openid-connect", |
"oidc.ciba.grant.enabled": "false", |
"client.secret.creation.time": "1672834935", |
"backchannel.logout.session.required": "false", |
"post.logout.redirect.uris": "https://libraries-reshare-hub-discovery-scaffold.vercel.app/*##http://localhost:3000/*##https://libraries-reshare-hub-admin-scaffold.vercel.app/*##https://discovery.dev.resharedcb.org/*##https://discovery.testing.resharedcb.org/*##https://admin.testing.resharedcb.org/*##https://admin.dev.resharedcb.org/*", |
"oauth2.device.authorization.grant.enabled": "false", |
"display.on.consent.screen": "false", |
"backchannel.logout.revoke.offline.tokens": "true" |
"authenticationFlowBindingOverrides": {}, |
"fullScopeAllowed": true, |
"nodeReRegistrationTimeout": -1, |
{
"protocol": "openid-connect", |
"protocolMapper": "oidc-usersessionmodel-note-mapper", |
"consentRequired": false, |
{ {
"user.session.note": "clientId", |
"id.token.claim": "true", |
"access.token.claim": "true", |
"claim.name": "clientId", |
"jsonType.label": "String" |
} }, {
}
},
{
"name": "Client IP Address", |
"protocol": "openid-connect", |
"protocolMapper": "oidc-usersessionmodel-note-mapper", |
"consentRequired": false, |
{ {
"user.session.note": "clientAddress", |
"id.token.claim": "true", |
"access.token.claim": "true", |
"claim.name": "clientAddress", |
"jsonType.label": "String" |
} }, {
}
},
{
"name": "Client Host", |
"protocol": "openid-connect", |
"protocolMapper": "oidc-usersessionmodel-note-mapper", |
"consentRequired": false, |
{ {
"user.session.note": "clientHost", |
"id.token.claim": "true", |
"access.token.claim": "true", |
"claim.name": "clientHost", |
"jsonType.label": "String" |
} } ],
}
}
],
"defaultClientScopes": [ |
"optionalClientScopes": [ |