UNPKG

keycloakify

Version:

Framework to create custom Keycloak UIs

1,262 lines 104 kB
{ "id": "5d0dd960-0478-4ca6-b64a-810a3f6f4071", "realm": "myrealm", "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, "maxTemporaryLockouts": 0, "bruteForceStrategy": "MULTIPLE", "maxFailureWaitSeconds": 900, "minimumQuickLoginWaitSeconds": 60, "waitIncrementSeconds": 60, "quickLoginCheckMilliSeconds": 1000, "maxDeltaTimeSeconds": 43200, "failureFactor": 30, "roles": { "realm": [ { "id": "cc4b5045-3bff-4aa7-889e-1492630c3002", "name": "uma_authorization", "description": "${role_uma_authorization}", "composite": false, "clientRole": false, "containerId": "5d0dd960-0478-4ca6-b64a-810a3f6f4071", "attributes": {} }, { "id": "e92017b2-18a0-49cd-956c-fad64f16b26b", "name": "default-roles-myrealm", "description": "${role_default-roles}", "composite": true, "composites": { "realm": ["offline_access", "uma_authorization"], "client": { "account": ["delete-account", "manage-account", "view-profile"] } }, "clientRole": false, "containerId": "5d0dd960-0478-4ca6-b64a-810a3f6f4071", "attributes": {} }, { "id": "e8616113-e302-4abe-bd5c-d51f8221046b", "name": "offline_access", "description": "${role_offline-access}", "composite": false, "clientRole": false, "containerId": "5d0dd960-0478-4ca6-b64a-810a3f6f4071", "attributes": {} } ], "client": { "myclient": [], "realm-management": [ { "id": "b27b272d-d153-4ae7-9fe7-fd96582f057d", "name": "manage-events", "description": "${role_manage-events}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "40fdfec8-f1b9-4c2b-81c5-a775bc047840", "name": "manage-users", "description": "${role_manage-users}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "5f446f9a-d008-4067-8325-f4658a32d964", "name": "view-authorization", "description": "${role_view-authorization}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "82bf956d-1fd1-4d20-a5a9-62b3e77e9d88", "name": "create-client", "description": "${role_create-client}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "b41e1ce8-d63f-4cf4-9966-e6c9eab5da11", "name": "manage-clients", "description": "${role_manage-clients}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "3198743d-fdfa-4a9c-a229-5fb979847ec2", "name": "view-users", "description": "${role_view-users}", "composite": true, "composites": { "client": { "realm-management": ["query-users", "query-groups"] } }, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "e83c21cb-c84c-4824-9f7d-ce3574921800", "name": "query-users", "description": "${role_query-users}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "3f6e2e81-e40d-40ff-a5f3-12ba2614fba5", "name": "query-groups", "description": "${role_query-groups}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "63111288-7f3d-4570-838f-48405d70e212", "name": "view-realm", "description": "${role_view-realm}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "a7f8f8ad-057b-485e-abfa-8a98e5e0c4ea", "name": "manage-realm", "description": "${role_manage-realm}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "7783b160-2f1a-48c9-89fb-623a29f26c9a", "name": "query-realms", "description": "${role_query-realms}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "b8b5341f-f44f-40a2-9ba4-e2d621b11b2f", "name": "impersonation", "description": "${role_impersonation}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "6b9d72e9-949f-4897-b11a-c8aa9252f3f2", "name": "query-clients", "description": "${role_query-clients}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "bfa94ba9-1d70-4259-b928-906e8bb815b2", "name": "view-events", "description": "${role_view-events}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "96bb9322-5c1f-48f0-aa05-65521c77e742", "name": "realm-admin", "description": "${role_realm-admin}", "composite": true, "composites": { "client": { "realm-management": [ "manage-users", "view-authorization", "manage-events", "create-client", "view-users", "manage-clients", "query-users", "query-groups", "view-realm", "manage-realm", "query-realms", "query-clients", "impersonation", "view-events", "manage-authorization", "manage-identity-providers", "view-identity-providers", "view-clients" ] } }, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "6e0ca5ce-f5db-4580-90e5-27c35804fc34", "name": "manage-authorization", "description": "${role_manage-authorization}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "7499eb46-cf4a-4813-9bf9-42b1bbcadc0d", "name": "manage-identity-providers", "description": "${role_manage-identity-providers}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "fcc99ef9-347d-4c21-b25c-8229e906a1a3", "name": "view-clients", "description": "${role_view-clients}", "composite": true, "composites": { "client": { "realm-management": ["query-clients"] } }, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} }, { "id": "7b024069-57d8-4368-9942-8790507c156d", "name": "view-identity-providers", "description": "${role_view-identity-providers}", "composite": false, "clientRole": true, "containerId": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "attributes": {} } ], "security-admin-console": [], "admin-cli": [], "account-console": [], "broker": [ { "id": "3050eb8a-9a47-4a27-aece-be2e60fc7f73", "name": "read-token", "description": "${role_read-token}", "composite": false, "clientRole": true, "containerId": "f5e032da-c8ab-48c2-959c-8466ad1e6a09", "attributes": {} } ], "account": [ { "id": "d554d15b-d098-47a0-bdd5-d656b20f5643", "name": "delete-account", "description": "${role_delete-account}", "composite": false, "clientRole": true, "containerId": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "attributes": {} }, { "id": "aaf4946d-2cd4-43ba-ad7d-86be56b9ad2c", "name": "view-applications", "description": "${role_view-applications}", "composite": false, "clientRole": true, "containerId": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "attributes": {} }, { "id": "b417b187-18b7-41fa-9537-3313cf9b8ed4", "name": "manage-account", "description": "${role_manage-account}", "composite": true, "composites": { "client": { "account": ["manage-account-links"] } }, "clientRole": true, "containerId": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "attributes": {} }, { "id": "8bb5480d-83a3-4ea2-8e91-237b8870acec", "name": "view-consent", "description": "${role_view-consent}", "composite": false, "clientRole": true, "containerId": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "attributes": {} }, { "id": "e341c1b8-eaf7-467d-9986-d3f2356a60b9", "name": "view-profile", "description": "${role_view-profile}", "composite": false, "clientRole": true, "containerId": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "attributes": {} }, { "id": "98ccac20-3906-436f-8dc3-ae8d8ae25cbc", "name": "view-groups", "description": "${role_view-groups}", "composite": false, "clientRole": true, "containerId": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "attributes": {} }, { "id": "adfba539-826f-4fa7-86f5-8c1287152ed6", "name": "manage-account-links", "description": "${role_manage-account-links}", "composite": false, "clientRole": true, "containerId": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "attributes": {} }, { "id": "2516ab58-490c-444c-9e7d-0dd8b87a69f0", "name": "manage-consent", "description": "${role_manage-consent}", "composite": true, "composites": { "client": { "account": ["view-consent"] } }, "clientRole": true, "containerId": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "attributes": {} } ] } }, "groups": [], "defaultRole": { "id": "e92017b2-18a0-49cd-956c-fad64f16b26b", "name": "default-roles-myrealm", "description": "${role_default-roles}", "composite": true, "clientRole": false, "containerId": "5d0dd960-0478-4ca6-b64a-810a3f6f4071" }, "requiredCredentials": ["password"], "otpPolicyType": "totp", "otpPolicyAlgorithm": "HmacSHA1", "otpPolicyInitialCounter": 0, "otpPolicyDigits": 6, "otpPolicyLookAheadWindow": 1, "otpPolicyPeriod": 30, "otpPolicyCodeReusable": false, "otpSupportedApplications": [ "totpAppFreeOTPName", "totpAppGoogleName", "totpAppMicrosoftAuthenticatorName" ], "localizationTexts": { "de": { "profile.attributes.favourite_pet": "" }, "no": { "profile.attributes.favourite_pet": "" }, "fi": { "profile.attributes.favourite_pet": "" }, "ru": { "profile.attributes.favourite_pet": "" }, "pt": { "profile.attributes.favourite_pet": "" }, "lt": { "profile.attributes.favourite_pet": "" }, "lv": { "profile.attributes.favourite_pet": "" }, "fr": { "profile.attributes.favourite_pet": "Animal de compagnie préféré", "profile.attributes.favourite_pet.cat": "Chat", "profile.attributes.favourite_pet.dog": "Chien", "profile.attributes.favourite_pet.bird": "Oiseau" }, "hu": { "profile.attributes.favourite_pet": "" }, "zh-CN": { "profile.attributes.favourite_pet": "" }, "uk": { "profile.attributes.favourite_pet": "" }, "sk": { "profile.attributes.favourite_pet": "" }, "ca": { "profile.attributes.favourite_pet": "" }, "sv": { "profile.attributes.favourite_pet": "" }, "zh-TW": { "profile.attributes.favourite_pet": "" }, "pt-BR": { "profile.attributes.favourite_pet": "" }, "en": { "profile.attributes.favourite_pet": "Favourite Pet", "profile.attributes.favourite_pet.cat": "Cat", "profile.attributes.favourite_pet.dog": "Dog", "profile.attributes.favourite_pet.bird": "Bird" }, "it": { "profile.attributes.favourite_pet": "" }, "es": { "profile.attributes.favourite_pet": "Mascota favorita", "profile.attributes.favourite_pet.cat": "Gato", "profile.attributes.favourite_pet.dog": "Perro", "profile.attributes.favourite_pet.bird": "Pájaro" }, "cs": { "profile.attributes.favourite_pet": "" }, "ar": { "profile.attributes.favourite_pet": "" }, "th": { "profile.attributes.favourite_pet": "" }, "ja": { "profile.attributes.favourite_pet": "" }, "fa": { "profile.attributes.favourite_pet": "" }, "pl": { "profile.attributes.favourite_pet": "" }, "da": { "profile.attributes.favourite_pet": "" }, "nl": { "profile.attributes.favourite_pet": "" }, "tr": { "profile.attributes.favourite_pet": "" } }, "webAuthnPolicyRpEntityName": "keycloak", "webAuthnPolicySignatureAlgorithms": ["ES256"], "webAuthnPolicyRpId": "", "webAuthnPolicyAttestationConveyancePreference": "not specified", "webAuthnPolicyAuthenticatorAttachment": "not specified", "webAuthnPolicyRequireResidentKey": "not specified", "webAuthnPolicyUserVerificationRequirement": "not specified", "webAuthnPolicyCreateTimeout": 0, "webAuthnPolicyAvoidSameAuthenticatorRegister": false, "webAuthnPolicyAcceptableAaguids": [], "webAuthnPolicyExtraOrigins": [], "webAuthnPolicyPasswordlessRpEntityName": "keycloak", "webAuthnPolicyPasswordlessSignatureAlgorithms": ["ES256"], "webAuthnPolicyPasswordlessRpId": "", "webAuthnPolicyPasswordlessAttestationConveyancePreference": "not specified", "webAuthnPolicyPasswordlessAuthenticatorAttachment": "not specified", "webAuthnPolicyPasswordlessRequireResidentKey": "not specified", "webAuthnPolicyPasswordlessUserVerificationRequirement": "not specified", "webAuthnPolicyPasswordlessCreateTimeout": 0, "webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false, "webAuthnPolicyPasswordlessAcceptableAaguids": [], "webAuthnPolicyPasswordlessExtraOrigins": [], "users": [ { "id": "d93e1772-4916-4243-850f-a6d9b2615716", "username": "testuser", "firstName": "Test", "lastName": "User", "email": "testuser@gmail.com", "emailVerified": true, "attributes": { "additional_emails": ["test.user@protonmail.com", "testuser@hotmail.com"], "gender": ["prefer_not_to_say"], "favorite_pet": ["cats"], "favourite_pet": ["cat"], "bio": ["Hello I'm Test User and I do not exist."], "phone_number": ["1111111111"], "locale": ["en"], "favorite_media": ["movies", "series"] }, "createdTimestamp": 1716183898408, "enabled": true, "totp": false, "credentials": [ { "id": "576982e2-6fb3-4752-8724-5ff390ea8301", "type": "password", "userLabel": "My password", "createdDate": 1716183916529, "secretData": "{\"value\":\"9hwJ989FAr0UgT0MfffNYSI6Zf/3qT/y17DTUcwbiEM=\",\"salt\":\"C3ZnHzgPd+0Lemw4olCOgA==\",\"additionalParameters\":{}}", "credentialData": "{\"hashIterations\":5,\"algorithm\":\"argon2\",\"additionalParameters\":{\"hashLength\":[\"32\"],\"memory\":[\"7168\"],\"type\":[\"id\"],\"version\":[\"1.3\"],\"parallelism\":[\"1\"]}}" } ], "disableableCredentialTypes": [], "requiredActions": [], "realmRoles": ["default-roles-myrealm"], "clientRoles": { "realm-management": [ "manage-users", "create-client", "view-users", "view-realm", "query-realms", "impersonation", "view-events", "realm-admin", "manage-authorization", "view-authorization", "manage-events", "manage-clients", "query-users", "query-groups", "manage-realm", "query-clients", "manage-identity-providers", "view-identity-providers", "view-clients" ], "broker": ["read-token"], "account": [ "delete-account", "view-applications", "manage-account", "view-consent", "view-groups", "view-profile", "manage-account-links", "manage-consent" ] }, "notBefore": 0, "groups": [] } ], "scopeMappings": [ { "clientScope": "offline_access", "roles": ["offline_access"] } ], "clientScopeMappings": { "account": [ { "client": "account-console", "roles": ["manage-account", "view-groups"] } ] }, "clients": [ { "id": "7221ef76-9d96-49ad-88a6-9f72eeeb0aa7", "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": { "realm_client": "false", "post.logout.redirect.uris": "+" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "basic", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "d8f14dc4-5f0f-4a1d-8c0b-cfe78ee55cb3", "clientId": "account-console", "name": "${client_account-console}", "description": "", "rootUrl": "${authBaseUrl}", "adminUrl": "", "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": { "realm_client": "false", "oidc.ciba.grant.enabled": "false", "backchannel.logout.session.required": "true", "post.logout.redirect.uris": "+", "oauth2.device.authorization.grant.enabled": "false", "display.on.consent.screen": "false", "pkce.code.challenge.method": "S256", "backchannel.logout.revoke.offline.tokens": "false" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "08d7bc08-2ff3-44ea-9d65-fa1c4ca35646", "name": "audience resolve", "protocol": "openid-connect", "protocolMapper": "oidc-audience-resolve-mapper", "consentRequired": false, "config": {} } ], "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "basic", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "953c597f-faef-4abc-88dc-4fbc9501170c", "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": { "realm_client": "false", "client.use.lightweight.access.token.enabled": "true", "post.logout.redirect.uris": "+" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": true, "nodeReRegistrationTimeout": 0, "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "basic", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "f5e032da-c8ab-48c2-959c-8466ad1e6a09", "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": { "realm_client": "true", "post.logout.redirect.uris": "+" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "basic", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "8fba88fa-61e9-45a4-893d-ab102973ebf6", "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": { "realm_client": "false", "oidc.ciba.grant.enabled": "false", "backchannel.logout.session.required": "true", "post.logout.redirect.uris": "+", "oauth2.device.authorization.grant.enabled": "false", "display.on.consent.screen": "false", "backchannel.logout.revoke.offline.tokens": "false" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": true, "nodeReRegistrationTimeout": -1, "protocolMappers": [ { "id": "91a196c1-f93c-48a5-aced-b8d60fb09b62", "name": "Favourite Pet", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "favourite_pet", "id.token.claim": "true", "lightweight.claim": "false", "access.token.claim": "true", "claim.name": "favourite_pet", "jsonType.label": "String" } } ], "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "basic", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "e05cc68c-5e53-4796-ae3a-a1bfbf5c51bb", "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": { "realm_client": "true", "post.logout.redirect.uris": "+" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "basic", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "fce8a109-6f32-4814-9a20-2ff2435d2da6", "clientId": "security-admin-console", "name": "${client_security-admin-console}", "description": "", "rootUrl": "${authAdminUrl}", "adminUrl": "", "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": { "realm_client": "false", "oidc.ciba.grant.enabled": "false", "client.use.lightweight.access.token.enabled": "true", "backchannel.logout.session.required": "true", "post.logout.redirect.uris": "+", "oauth2.device.authorization.grant.enabled": "false", "display.on.consent.screen": "false", "pkce.code.challenge.method": "S256", "backchannel.logout.revoke.offline.tokens": "false" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": true, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "52192d19-0406-41b7-b995-b099bdbaa448", "name": "locale", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "locale", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "locale", "jsonType.label": "String" } }, { "id": "8fd0d584-7052-4d04-a615-d18a71050873", "name": "allowed-origins", "protocol": "openid-connect", "protocolMapper": "oidc-hardcoded-claim-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "claim.value": "[\"*\"]", "userinfo.token.claim": "true", "id.token.claim": "false", "lightweight.claim": "true", "access.token.claim": "true", "claim.name": "allowed-origins", "jsonType.label": "JSON", "access.tokenResponse.claim": "false" } } ], "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "basic", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] } ], "clientScopes": [ { "id": "6a955b1e-f0e2-49fa-b3c9-bd59ed1fcd4f", "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", "consent.screen.text": "", "display.on.consent.screen": "false" }, "protocolMappers": [ { "id": "3a392f70-ed70-424a-b60b-82db32b83df8", "name": "allowed web origins", "protocol": "openid-connect", "protocolMapper": "oidc-allowed-origins-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "access.token.claim": "true" } } ] }, { "id": "9cda058d-9935-4c8b-844d-c163d10f7c3c", "name": "address", "description": "OpenID Connect built-in scope: address", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "true", "consent.screen.text": "${addressScopeConsentText}", "display.on.consent.screen": "true" }, "protocolMappers": [ { "id": "a053d8ec-b267-4e5a-a424-3b14bef9cd15", "name": "address", "protocol": "openid-connect", "protocolMapper": "oidc-address-mapper", "consentRequired": false, "config": { "user.attribute.formatted": "formatted", "user.attribute.country": "country", "introspection.token.claim": "true", "user.attribute.postal_code": "postal_code", "userinfo.token.claim": "true", "user.attribute.street": "street", "id.token.claim": "true", "user.attribute.region": "region", "access.token.claim": "true", "user.attribute.locality": "locality" } } ] }, { "id": "6225f4c7-ad5c-42ea-b7d4-5bb4e7c77459", "name": "phone", "description": "OpenID Connect built-in scope: phone", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "true", "consent.screen.text": "${phoneScopeConsentText}", "display.on.consent.screen": "true" }, "protocolMappers": [ { "id": "5052be82-243f-41b0-a214-4f01935180e5", "name": "phone number", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "phoneNumber", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "phone_number", "jsonType.label": "String" } }, { "id": "4d31d278-e6ef-4b8b-97cb-4da9626d0e93", "name": "phone number verified", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "phoneNumberVerified", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "phone_number_verified", "jsonType.label": "boolean" } } ] }, { "id": "9357440c-6200-41a1-a447-0ec97895763e", "name": "basic", "description": "OpenID Connect scope for add all basic claims to the token", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "false", "display.on.consent.screen": "false" }, "protocolMappers": [ { "id": "bf9cb6c6-71a4-4bf9-8c60-ed58adcc2258", "name": "auth_time", "protocol": "openid-connect", "protocolMapper": "oidc-usersessionmodel-note-mapper", "consentRequired": false, "config": { "user.session.note": "AUTH_TIME", "introspection.token.claim": "true", "userinfo.token.claim": "true", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "auth_time", "jsonType.label": "long" } }, { "id": "679c8292-1abb-4d96-bacc-671303765f9b", "name": "sub", "protocol": "openid-connect", "protocolMapper": "oidc-sub-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "access.token.claim": "true" } } ] }, { "id": "0ec225e7-253b-4a01-85e1-68daf3df3eba", "name": "role_list", "description": "SAML role list", "protocol": "saml", "attributes": { "consent.screen.text": "${samlRoleListScopeConsentText}", "display.on.consent.screen": "true" }, "protocolMappers": [ { "id": "a55cf74e-ce68-4ebd-9c24-dc3fd6a9cfa5", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } } ] }, { "id": "e2f1dd86-00a2-4374-b888-7211f748c58d", "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": "e86456b8-0663-448e-ad16-7d520d0c448e", "name": "profile", "description": "OpenID Connect built-in scope: profile", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "true", "consent.screen.text": "${profileScopeConsentText}", "display.on.consent.screen": "true" }, "protocolMappers": [ { "id": "569c799d-79f2-4b2b-a1ec-3661e3d8d433", "name": "gender", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "gender", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "gender", "jsonType.label": "String" } }, { "id": "2d01eb48-77c3-4c83-a864-755699cb7e7c", "name": "updated at", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "updatedAt", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "updated_at", "jsonType.label": "long" } }, { "id": "a9700270-006f-4a85-8458-f39644659029", "name": "locale", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "locale", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "locale", "jsonType.label": "String" } }, { "id": "3a7bca96-0839-4d1e-b37d-6e624f37facb", "name": "profile", "protocol": "openid-connect", "protoc