UNPKG

keycloakify

Version:

Framework to create custom Keycloak UIs

1,208 lines 92.2 kB
{ "id": "375b6025-7dfc-4980-8fb6-0d0197ac4653", "realm": "myrealm", "displayName": "", "displayNameHtml": "", "notBefore": 0, "defaultSignatureAlgorithm": "RS256", "revokeRefreshToken": false, "refreshTokenMaxReuse": 0, "accessTokenLifespan": 300, "accessTokenLifespanForImplicitFlow": 900, "ssoSessionIdleTimeout": 1800, "ssoSessionMaxLifespan": 36000, "ssoSessionIdleTimeoutRememberMe": 0, "ssoSessionMaxLifespanRememberMe": 0, "offlineSessionIdleTimeout": 2592000, "offlineSessionMaxLifespanEnabled": false, "offlineSessionMaxLifespan": 5184000, "clientSessionIdleTimeout": 0, "clientSessionMaxLifespan": 0, "clientOfflineSessionIdleTimeout": 0, "clientOfflineSessionMaxLifespan": 0, "accessCodeLifespan": 60, "accessCodeLifespanUserAction": 300, "accessCodeLifespanLogin": 1800, "actionTokenGeneratedByAdminLifespan": 43200, "actionTokenGeneratedByUserLifespan": 300, "oauth2DeviceCodeLifespan": 600, "oauth2DevicePollingInterval": 5, "enabled": true, "sslRequired": "external", "registrationAllowed": true, "registrationEmailAsUsername": false, "rememberMe": true, "verifyEmail": false, "loginWithEmailAllowed": true, "duplicateEmailsAllowed": false, "resetPasswordAllowed": true, "editUsernameAllowed": false, "bruteForceProtected": false, "permanentLockout": false, "maxFailureWaitSeconds": 900, "minimumQuickLoginWaitSeconds": 60, "waitIncrementSeconds": 60, "quickLoginCheckMilliSeconds": 1000, "maxDeltaTimeSeconds": 43200, "failureFactor": 30, "roles": { "realm": [ { "id": "842c2759-5b3c-42be-b0e2-9172ec29717d", "name": "offline_access", "description": "${role_offline-access}", "composite": false, "clientRole": false, "containerId": "375b6025-7dfc-4980-8fb6-0d0197ac4653", "attributes": {} }, { "id": "f2875534-e8ff-4471-b4df-10418446dcc0", "name": "uma_authorization", "description": "${role_uma_authorization}", "composite": false, "clientRole": false, "containerId": "375b6025-7dfc-4980-8fb6-0d0197ac4653", "attributes": {} }, { "id": "5bb0db6b-f22c-4123-b14b-2f8028e344be", "name": "default-roles-myrealm", "description": "${role_default-roles}", "composite": true, "composites": { "realm": ["offline_access", "uma_authorization"], "client": { "account": ["view-profile", "manage-account", "delete-account"] } }, "clientRole": false, "containerId": "375b6025-7dfc-4980-8fb6-0d0197ac4653", "attributes": {} } ], "client": { "myclient": [], "realm-management": [ { "id": "128ef387-8709-4309-a668-e63e4556bd24", "name": "view-clients", "description": "${role_view-clients}", "composite": true, "composites": { "client": { "realm-management": ["query-clients"] } }, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "c309ecd6-cd07-4e51-b5ba-97d001fc04e8", "name": "view-realm", "description": "${role_view-realm}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "6348e471-3f98-4642-a31d-1d5e0df0cdf9", "name": "create-client", "description": "${role_create-client}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "33ba78bf-b45a-4a15-b954-585241f4110c", "name": "view-identity-providers", "description": "${role_view-identity-providers}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "4b55fdbe-5fd6-4b4e-bdab-3163284f360e", "name": "manage-events", "description": "${role_manage-events}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "541403d6-0fbd-42d1-8f2e-738143d5d66c", "name": "manage-realm", "description": "${role_manage-realm}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "9856de44-eddc-46ae-bf08-70c8010a59b3", "name": "query-realms", "description": "${role_query-realms}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "a4efbe2e-51e0-43d1-acbf-194ad3026ef2", "name": "query-clients", "description": "${role_query-clients}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "01186290-8953-4127-ac64-43255872501c", "name": "query-groups", "description": "${role_query-groups}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "52bfe515-8fce-4c0f-9ba1-6c8ea3b3ec1d", "name": "manage-identity-providers", "description": "${role_manage-identity-providers}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "3552fa7a-8529-43d3-8f84-794212eb24c6", "name": "manage-users", "description": "${role_manage-users}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "ca6ce5db-2f15-4e51-8470-2950dc6d3c31", "name": "manage-clients", "description": "${role_manage-clients}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "eadd8632-6707-4d29-9332-d4771226ec65", "name": "view-users", "description": "${role_view-users}", "composite": true, "composites": { "client": { "realm-management": ["query-groups", "query-users"] } }, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "233f4e19-fad1-41a5-b3c9-43ebb9cbc968", "name": "query-users", "description": "${role_query-users}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "5f92d0b5-8d06-4748-b861-bb1f30f6bf16", "name": "impersonation", "description": "${role_impersonation}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "d25222f3-93bd-479b-a0fd-a8f087274a73", "name": "manage-authorization", "description": "${role_manage-authorization}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "d2b75ddd-f829-4040-a4cf-9d360af3b31e", "name": "realm-admin", "description": "${role_realm-admin}", "composite": true, "composites": { "client": { "realm-management": [ "view-clients", "view-realm", "create-client", "view-identity-providers", "manage-events", "manage-realm", "query-realms", "query-clients", "query-groups", "manage-users", "manage-identity-providers", "manage-clients", "view-users", "query-users", "impersonation", "manage-authorization", "view-authorization", "view-events" ] } }, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "634c2bfb-bc76-4391-99fd-6fac211e064e", "name": "view-authorization", "description": "${role_view-authorization}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} }, { "id": "844969e5-9c51-4bf8-bf8e-e198c1a88524", "name": "view-events", "description": "${role_view-events}", "composite": false, "clientRole": true, "containerId": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "attributes": {} } ], "security-admin-console": [], "admin-cli": [], "account-console": [], "broker": [ { "id": "5f886009-59a0-40b4-9012-e6dcab8466f5", "name": "read-token", "description": "${role_read-token}", "composite": false, "clientRole": true, "containerId": "9faf5825-937d-4d62-a112-290c06f7e912", "attributes": {} } ], "account": [ { "id": "1c898672-0025-4ffa-917a-9ff2671588de", "name": "view-profile", "description": "${role_view-profile}", "composite": false, "clientRole": true, "containerId": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "attributes": {} }, { "id": "5d41e0a4-ea61-40e6-8e58-8f6460e000f8", "name": "manage-account-links", "description": "${role_manage-account-links}", "composite": false, "clientRole": true, "containerId": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "attributes": {} }, { "id": "75f9633b-5dcd-40df-a2f1-28a0d08b2141", "name": "view-groups", "description": "${role_view-groups}", "composite": false, "clientRole": true, "containerId": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "attributes": {} }, { "id": "48074689-b871-4f83-b54d-ba6749b475c8", "name": "view-applications", "description": "${role_view-applications}", "composite": false, "clientRole": true, "containerId": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "attributes": {} }, { "id": "351640e0-22bc-435f-b0e9-0f5cc86dbd84", "name": "manage-account", "description": "${role_manage-account}", "composite": true, "composites": { "client": { "account": ["manage-account-links"] } }, "clientRole": true, "containerId": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "attributes": {} }, { "id": "182af7b2-7a6b-472e-be0d-447b10d57685", "name": "manage-consent", "description": "${role_manage-consent}", "composite": true, "composites": { "client": { "account": ["view-consent"] } }, "clientRole": true, "containerId": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "attributes": {} }, { "id": "6e60719a-e395-42fa-bccb-6683ca891bac", "name": "delete-account", "description": "${role_delete-account}", "composite": false, "clientRole": true, "containerId": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "attributes": {} }, { "id": "30fdab27-a7f1-4506-8b5e-6f8a05686c35", "name": "view-consent", "description": "${role_view-consent}", "composite": false, "clientRole": true, "containerId": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "attributes": {} } ] } }, "groups": [], "defaultRole": { "id": "5bb0db6b-f22c-4123-b14b-2f8028e344be", "name": "default-roles-myrealm", "description": "${role_default-roles}", "composite": true, "clientRole": false, "containerId": "375b6025-7dfc-4980-8fb6-0d0197ac4653" }, "requiredCredentials": ["password"], "otpPolicyType": "totp", "otpPolicyAlgorithm": "HmacSHA1", "otpPolicyInitialCounter": 0, "otpPolicyDigits": 6, "otpPolicyLookAheadWindow": 1, "otpPolicyPeriod": 30, "otpPolicyCodeReusable": false, "otpSupportedApplications": [ "totpAppMicrosoftAuthenticatorName", "totpAppGoogleName", "totpAppFreeOTPName" ], "webAuthnPolicyRpEntityName": "keycloak", "webAuthnPolicySignatureAlgorithms": ["ES256"], "webAuthnPolicyRpId": "", "webAuthnPolicyAttestationConveyancePreference": "not specified", "webAuthnPolicyAuthenticatorAttachment": "not specified", "webAuthnPolicyRequireResidentKey": "not specified", "webAuthnPolicyUserVerificationRequirement": "not specified", "webAuthnPolicyCreateTimeout": 0, "webAuthnPolicyAvoidSameAuthenticatorRegister": false, "webAuthnPolicyAcceptableAaguids": [], "webAuthnPolicyPasswordlessRpEntityName": "keycloak", "webAuthnPolicyPasswordlessSignatureAlgorithms": ["ES256"], "webAuthnPolicyPasswordlessRpId": "", "webAuthnPolicyPasswordlessAttestationConveyancePreference": "not specified", "webAuthnPolicyPasswordlessAuthenticatorAttachment": "not specified", "webAuthnPolicyPasswordlessRequireResidentKey": "not specified", "webAuthnPolicyPasswordlessUserVerificationRequirement": "not specified", "webAuthnPolicyPasswordlessCreateTimeout": 0, "webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false, "webAuthnPolicyPasswordlessAcceptableAaguids": [], "users": [ { "id": "00a62e75-bcc1-419a-a292-63ee5d161ed3", "createdTimestamp": 1716214686563, "username": "testuser", "enabled": true, "totp": false, "emailVerified": true, "firstName": "Test", "lastName": "User", "email": "testuser@gmail.com", "credentials": [ { "id": "60e992d6-6c7a-45a2-af0e-28d84c86629f", "type": "password", "userLabel": "My password", "createdDate": 1716214710762, "secretData": "{\"value\":\"AS3/ZKF29SIP2ic0ItZYUAXWiWgvbi7kuV6YOPocJSQ=\",\"salt\":\"/UpBLCqzdZxBnQ2xHte8Xg==\",\"additionalParameters\":{}}", "credentialData": "{\"hashIterations\":27500,\"algorithm\":\"pbkdf2-sha256\",\"additionalParameters\":{}}" } ], "disableableCredentialTypes": [], "requiredActions": [], "realmRoles": ["default-roles-myrealm"], "clientRoles": { "realm-management": [ "create-client", "view-identity-providers", "manage-realm", "query-groups", "manage-clients", "query-users", "realm-admin", "view-authorization", "view-events", "view-clients", "view-realm", "manage-events", "query-realms", "query-clients", "manage-identity-providers", "manage-users", "view-users", "impersonation", "manage-authorization" ], "broker": ["read-token"], "account": [ "view-profile", "manage-account-links", "view-applications", "manage-consent", "delete-account", "manage-account", "view-groups", "view-consent" ] }, "notBefore": 0, "groups": [] } ], "scopeMappings": [ { "clientScope": "offline_access", "roles": ["offline_access"] } ], "clientScopeMappings": { "account": [ { "client": "account-console", "roles": ["manage-account", "view-groups"] } ] }, "clients": [ { "id": "880cad8c-daec-4d04-8dd4-7e14279c28d4", "clientId": "account", "name": "${client_account}", "rootUrl": "${authBaseUrl}", "baseUrl": "/realms/myrealm/account/", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": ["/realms/myrealm/account/*"], "webOrigins": [], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "serviceAccountsEnabled": false, "publicClient": true, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { "post.logout.redirect.uris": "+" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": ["web-origins", "acr", "roles", "profile", "email"], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "30d29f6d-7858-4a83-b2d3-8fc32dcb5de8", "clientId": "account-console", "name": "${client_account-console}", "rootUrl": "${authBaseUrl}", "baseUrl": "/realms/myrealm/account/", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [ "http://localhost*", "http://127.0.0.1*", "/realms/myrealm/account/*" ], "webOrigins": ["*"], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "serviceAccountsEnabled": false, "publicClient": true, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { "post.logout.redirect.uris": "+", "pkce.code.challenge.method": "S256" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "f720637e-3c16-4791-9b38-d86b69c458ff", "name": "audience resolve", "protocol": "openid-connect", "protocolMapper": "oidc-audience-resolve-mapper", "consentRequired": false, "config": {} } ], "defaultClientScopes": ["web-origins", "acr", "roles", "profile", "email"], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "a6e74a91-fc0a-4dac-ac91-974f9651f761", "clientId": "admin-cli", "name": "${client_admin-cli}", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [], "webOrigins": [], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": false, "implicitFlowEnabled": false, "directAccessGrantsEnabled": true, "serviceAccountsEnabled": false, "publicClient": true, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { "post.logout.redirect.uris": "+" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": ["web-origins", "acr", "roles", "profile", "email"], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "9faf5825-937d-4d62-a112-290c06f7e912", "clientId": "broker", "name": "${client_broker}", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [], "webOrigins": [], "notBefore": 0, "bearerOnly": true, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "serviceAccountsEnabled": false, "publicClient": false, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { "post.logout.redirect.uris": "+" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": ["web-origins", "acr", "roles", "profile", "email"], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "ed4c25fb-aeea-4bbf-a2a9-10e07569584f", "clientId": "myclient", "name": "", "description": "", "rootUrl": "https://my-theme.keycloakify.dev", "adminUrl": "https://my-theme.keycloakify.dev", "baseUrl": "https://my-theme.keycloakify.dev", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [ "https://my-theme.keycloakify.dev/*", "http://localhost*", "http://127.0.0.1*" ], "webOrigins": ["*"], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": true, "serviceAccountsEnabled": false, "publicClient": true, "frontchannelLogout": true, "protocol": "openid-connect", "attributes": { "oidc.ciba.grant.enabled": "false", "backchannel.logout.session.required": "true", "post.logout.redirect.uris": "+", "display.on.consent.screen": "false", "oauth2.device.authorization.grant.enabled": "false", "backchannel.logout.revoke.offline.tokens": "false" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": true, "nodeReRegistrationTimeout": -1, "defaultClientScopes": ["web-origins", "acr", "roles", "profile", "email"], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "33fd033b-0061-48f9-b140-fb4a5fbe0a98", "clientId": "realm-management", "name": "${client_realm-management}", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [], "webOrigins": [], "notBefore": 0, "bearerOnly": true, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "serviceAccountsEnabled": false, "publicClient": false, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { "post.logout.redirect.uris": "+" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": ["web-origins", "acr", "roles", "profile", "email"], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "979e2e6f-4818-48a1-97bd-248c08b8f717", "clientId": "security-admin-console", "name": "${client_security-admin-console}", "rootUrl": "${authAdminUrl}", "baseUrl": "/admin/myrealm/console/", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [ "http://localhost*", "http://127.0.0.1*", "/admin/myrealm/console/*" ], "webOrigins": ["*"], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "serviceAccountsEnabled": false, "publicClient": true, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { "post.logout.redirect.uris": "+", "pkce.code.challenge.method": "S256" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "8fd0d584-7052-4d04-a615-d18a71050873", "name": "allowed-origins", "protocol": "openid-connect", "protocolMapper": "oidc-hardcoded-claim-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "id.token.claim": "false", "access.token.claim": "true", "claim.name": "allowed-origins", "jsonType.label": "JSON", "access.tokenResponse.claim": "false", "claim.value": "[\"*\"]", "introspection.token.claim": "true", "lightweight.claim": "true" } }, { "id": "7779f8fa-c2fe-4e68-be56-66ee97bf8f13", "name": "locale", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "locale", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "locale", "jsonType.label": "String" } } ], "defaultClientScopes": ["web-origins", "acr", "roles", "profile", "email"], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] } ], "clientScopes": [ { "id": "82d78966-9977-44d4-a098-5e89857e7b60", "name": "acr", "description": "OpenID Connect scope for add acr (authentication context class reference) to the token", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "false", "display.on.consent.screen": "false" }, "protocolMappers": [ { "id": "45a85846-c656-4289-b8de-543102f5a454", "name": "acr loa level", "protocol": "openid-connect", "protocolMapper": "oidc-acr-mapper", "consentRequired": false, "config": { "id.token.claim": "true", "access.token.claim": "true", "userinfo.token.claim": "true" } } ] }, { "id": "856788be-49da-496c-9e66-aedeba42212e", "name": "offline_access", "description": "OpenID Connect built-in scope: offline_access", "protocol": "openid-connect", "attributes": { "consent.screen.text": "${offlineAccessScopeConsentText}", "display.on.consent.screen": "true" } }, { "id": "d60c725d-a347-4a6f-a9ad-51b8ed66b541", "name": "web-origins", "description": "OpenID Connect scope for add allowed web origins to the access token", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "false", "display.on.consent.screen": "false", "consent.screen.text": "" }, "protocolMappers": [ { "id": "e5f3475c-61d8-4dd7-9089-6d98bbf11b17", "name": "allowed web origins", "protocol": "openid-connect", "protocolMapper": "oidc-allowed-origins-mapper", "consentRequired": false, "config": {} } ] }, { "id": "774a75fc-6f18-46b7-936c-2b0f214b8e09", "name": "email", "description": "OpenID Connect built-in scope: email", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "true", "display.on.consent.screen": "true", "consent.screen.text": "${emailScopeConsentText}" }, "protocolMappers": [ { "id": "4c0cc669-cb09-4da8-9da4-2a54590761b6", "name": "email", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "email", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "email", "jsonType.label": "String" } }, { "id": "5df3387c-1e54-4671-9aa8-b0cf242dc9a0", "name": "email verified", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "emailVerified", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "email_verified", "jsonType.label": "boolean" } } ] }, { "id": "a6678e2c-e5f2-4576-9983-7cdf6ac2a163", "name": "profile", "description": "OpenID Connect built-in scope: profile", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "true", "display.on.consent.screen": "true", "consent.screen.text": "${profileScopeConsentText}" }, "protocolMappers": [ { "id": "2f6db569-7db7-4bbb-8e8a-4cb11626dd25", "name": "full name", "protocol": "openid-connect", "protocolMapper": "oidc-full-name-mapper", "consentRequired": false, "config": { "id.token.claim": "true", "access.token.claim": "true", "userinfo.token.claim": "true" } }, { "id": "b678333a-b9c1-43d4-b4b4-f6bc5b059e74", "name": "profile", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "profile", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "profile", "jsonType.label": "String" } }, { "id": "c2e7d2d9-eb76-4b2b-a1df-139142662419", "name": "locale", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "locale", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "locale", "jsonType.label": "String" } }, { "id": "635adf37-44a8-4a5d-8881-90013b08cc65", "name": "picture", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "picture", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "picture", "jsonType.label": "String" } }, { "id": "fdcbcb97-345d-4121-a3d5-5100fd388928", "name": "family name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "lastName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "family_name", "jsonType.label": "String" } }, { "id": "1d8eb940-891c-4d9c-a321-206be44ad9b1", "name": "given name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "firstName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "given_name", "jsonType.label": "String" } }, { "id": "c0ff7cdf-ef5f-4780-bb85-f02365a03248", "name": "zoneinfo", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "zoneinfo", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "zoneinfo", "jsonType.label": "String" } }, { "id": "9fb7dce5-2c89-4e61-96dc-dcb7cd979f3d", "name": "middle name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "middleName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "middle_name", "jsonType.label": "String" } }, { "id": "f824cf97-ddd4-4c41-8199-6852bd684bb5", "name": "nickname", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "nickname", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "nickname", "jsonType.label": "String" } }, { "id": "5be1e5e0-f75e-4f0a-a250-f04e9a788e09", "name": "website", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "website", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "website", "jsonType.label": "String" } }, { "id": "3cc7ac1d-c686-48a3-96ea-6d5a89469932", "name": "gender", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "gender", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "gender", "jsonType.label": "String" } }, { "id": "d9ede360-c22b-46a1-b3bf-02f7d68e516b", "name": "birthdate", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "birthdate", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "birthdate", "jsonType.label": "String" } }, { "id": "693d2203-7d23-4ba6-9450-4b7d6df0e081", "name": "username", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "username", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "preferred_username", "jsonType.label": "String" } }, { "id": "dc359f65-cd68-49ad-b58a-3d624e2a0480", "name": "updated at", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "updatedAt", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "updated_at", "jsonType.label": "long" } } ] }, { "id": "fa0e3e79-80cb-4a37-b491-9d2a444003f2", "name": "role_list", "description": "SAML role list", "protocol": "saml", "attributes": { "consent.screen.text": "${samlRoleListScopeConsentText}", "display.on.consent.screen": "true" }, "protocolMappers": [ { "id": "b98de117-b79e-4022-974f-5c66eb790b74", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } } ] }, { "id": "30ef20c3-5648-40a5-a251-cbe6ca84ba4c", "name": "roles", "description": "OpenID Connect scope for add user roles to the access token", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "false", "display.on.consent.screen": "true", "consent.screen.text": "${rolesScopeConsentText}" }, "protocolMappers": [ { "id": "fb3ef20f-d032-4f20-a6fd-930baafc5371", "name": "realm roles", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-realm-role-mapper", "consentRequired": false, "config": { "user.attribute": "foo", "access.token.claim": "true", "claim.name": "realm_access.roles", "jsonType.label": "String", "multivalued": "true" } }, { "id": "7bd578a8-d5de-4507-9359-cc46230ac74b", "name": "audience resolve", "protocol": "openid-connect", "protocolMapper": "oidc-audience-resolve-mapper", "consentRequired": false, "config": {} }, { "id": "665247e4-8426-40b6-83c4-289e28dfa008", "name": "client roles", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-client-role-mapper", "consentRequired": false, "config": { "user.attribute