{ "id": "c9b92f4c-2655-48ca-a3ad-b08995e1e94d", "realm": "companyA", "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": false, "registrationEmailAsUsername": false, "rememberMe": false, "verifyEmail": false, "loginWithEmailAllowed": true, "duplicateEmailsAllowed": false, "resetPasswordAllowed": false, "editUsernameAllowed": false, "bruteForceProtected": false, "permanentLockout": false, "maxFailureWaitSeconds": 900, "minimumQuickLoginWaitSeconds": 60, "waitIncrementSeconds": 60, "quickLoginCheckMilliSeconds": 1000, "maxDeltaTimeSeconds": 43200, "failureFactor": 30, "roles": { "realm": [ { "id": "3de21dac-d345-46a7-94ad-7ba3d31fa610", "name": "editor", "description": "", "composite": true, "composites": { "realm": [ "editor" ] }, "clientRole": false, "containerId": "c9b92f4c-2655-48ca-a3ad-b08995e1e94d", "attributes": {} }, { "id": "bcffbe2d-f880-4ead-a710-98950df9d095", "name": "author", "description": "", "composite": true, "composites": { "realm": [ "author" ] }, "clientRole": false, "containerId": "c9b92f4c-2655-48ca-a3ad-b08995e1e94d", "attributes": {} }, { "id": "581b9c7e-d26a-4e6c-84cf-a60d612e67d9", "name": "uma_authorization", "description": "${role_uma_authorization}", "composite": false, "clientRole": false, "containerId": "c9b92f4c-2655-48ca-a3ad-b08995e1e94d", "attributes": {} }, { "id": "63300c9e-c600-438b-82fe-fc3b6dc1eeed", "name": "offline_access", "description": "${role_offline-access}", "composite": false, "clientRole": false, "containerId": "c9b92f4c-2655-48ca-a3ad-b08995e1e94d", "attributes": {} }, { "id": "abe151df-8926-4e38-b945-3e863e643079", "name": "default-roles-companya", "description": "${role_default-roles}", "composite": true, "composites": { "realm": [ "offline_access", "uma_authorization" ], "client": { "account": [ "manage-account", "view-profile" ] } }, "clientRole": false, "containerId": "c9b92f4c-2655-48ca-a3ad-b08995e1e94d", "attributes": {} } ], "client": { "realm-management": [ { "id": "555660c8-59c0-43cf-bad0-2650be71d74e", "name": "view-events", "description": "${role_view-events}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "920ad781-c12b-4c0b-8918-4e46b7ffc3b7", "name": "query-groups", "description": "${role_query-groups}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "c2e4088b-bce3-455f-ad6b-e1f52150f025", "name": "manage-clients", "description": "${role_manage-clients}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "00d88a02-50a6-42b3-bb68-09349f165d02", "name": "manage-events", "description": "${role_manage-events}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "21dfc951-cde6-43b4-8140-57137274169b", "name": "manage-users", "description": "${role_manage-users}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "18f4c4bc-f3e3-47ae-8e57-829867d960f7", "name": "impersonation", "description": "${role_impersonation}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "ad190aad-d148-4031-a048-a5ffaff5d3e5", "name": "manage-identity-providers", "description": "${role_manage-identity-providers}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "15bc0afa-5fc5-4e83-9f47-bb4ab06d1ceb", "name": "view-clients", "description": "${role_view-clients}", "composite": true, "composites": { "client": { "realm-management": [ "query-clients" ] } }, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "51feb85b-68e8-48d7-9a35-ae386a2ab734", "name": "query-clients", "description": "${role_query-clients}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "d33a8b71-200c-4be0-b6f3-4da2ed234b67", "name": "manage-authorization", "description": "${role_manage-authorization}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "419be4df-1531-4824-8169-1aef333bd090", "name": "view-realm", "description": "${role_view-realm}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "f40aa6dd-6b2e-4b6d-ac5e-b1a378bb88f9", "name": "view-authorization", "description": "${role_view-authorization}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "563adc2e-2d11-459e-b6c5-b49090d68066", "name": "query-users", "description": "${role_query-users}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "8b45244b-8fd5-4f43-b3cc-54cf2713b206", "name": "query-realms", "description": "${role_query-realms}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "f0b9ee2d-236a-4a8c-8b2d-86a4a4dde09f", "name": "create-client", "description": "${role_create-client}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "108e1eb7-2b61-4793-821d-35f9f5fd03de", "name": "view-identity-providers", "description": "${role_view-identity-providers}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "d176a4fd-6c14-409c-bfce-0d982e9ad3c8", "name": "manage-realm", "description": "${role_manage-realm}", "composite": false, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "62d8fb34-4d03-4ed6-a4c5-d88b44052b1e", "name": "view-users", "description": "${role_view-users}", "composite": true, "composites": { "client": { "realm-management": [ "query-groups", "query-users" ] } }, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} }, { "id": "4393b52d-0592-4dd3-a782-0bce68f2c770", "name": "realm-admin", "description": "${role_realm-admin}", "composite": true, "composites": { "client": { "realm-management": [ "view-events", "query-groups", "manage-clients", "manage-events", "manage-users", "impersonation", "manage-identity-providers", "view-clients", "query-clients", "manage-authorization", "view-realm", "view-authorization", "query-users", "query-realms", "view-identity-providers", "create-client", "view-users", "manage-realm" ] } }, "clientRole": true, "containerId": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "attributes": {} } ], "security-admin-console": [], "admin-cli": [], "account-console": [], "broker": [ { "id": "be1b5fc4-0dba-4c33-88cb-00597d628c16", "name": "read-token", "description": "${role_read-token}", "composite": false, "clientRole": true, "containerId": "db43be42-10a9-4306-8769-bb2434199318", "attributes": {} } ], "poc-apisix": [ { "id": "d90f0774-d295-449e-843d-fd752c61d290", "name": "uma_protection", "composite": false, "clientRole": true, "containerId": "0302ec41-94de-4764-abbe-49882d76134a", "attributes": {} } ], "account": [ { "id": "ece5f5bb-bc39-44da-8731-7d81b015706c", "name": "manage-account", "description": "${role_manage-account}", "composite": true, "composites": { "client": { "account": [ "manage-account-links" ] } }, "clientRole": true, "containerId": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "attributes": {} }, { "id": "aa0d9fd3-a308-408b-bd07-3d3f810ae354", "name": "delete-account", "description": "${role_delete-account}", "composite": false, "clientRole": true, "containerId": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "attributes": {} }, { "id": "48231d6f-7a40-4348-a00e-d4d0937fff63", "name": "view-consent", "description": "${role_view-consent}", "composite": false, "clientRole": true, "containerId": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "attributes": {} }, { "id": "4f0d58f9-e2cf-466b-9f7f-83bda08e2fe0", "name": "view-groups", "description": "${role_view-groups}", "composite": false, "clientRole": true, "containerId": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "attributes": {} }, { "id": "b5a7eea5-304b-4ba7-97fb-8d9108f649cb", "name": "view-profile", "description": "${role_view-profile}", "composite": false, "clientRole": true, "containerId": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "attributes": {} }, { "id": "06599a21-cbc1-4bd8-a147-5afcd9287b8b", "name": "manage-account-links", "description": "${role_manage-account-links}", "composite": false, "clientRole": true, "containerId": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "attributes": {} }, { "id": "42a56f37-b90b-4c77-8911-210a2756f78a", "name": "manage-consent", "description": "${role_manage-consent}", "composite": true, "composites": { "client": { "account": [ "view-consent" ] } }, "clientRole": true, "containerId": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "attributes": {} }, { "id": "fabadeed-92d1-4524-bd09-8bc42324dcfa", "name": "view-applications", "description": "${role_view-applications}", "composite": false, "clientRole": true, "containerId": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "attributes": {} } ] } }, "groups": [ { "id": "a941394b-1aae-4ba5-a573-2dfa82167b6d", "name": "author_group", "path": "/author_group", "attributes": {}, "realmRoles": [ "author" ], "clientRoles": {}, "subGroups": [] }, { "id": "23d1498c-9e39-4d12-a24b-96898896263c", "name": "editor_group", "path": "/editor_group", "attributes": {}, "realmRoles": [ "editor" ], "clientRoles": {}, "subGroups": [] } ], "defaultRole": { "id": "abe151df-8926-4e38-b945-3e863e643079", "name": "default-roles-companya", "description": "${role_default-roles}", "composite": true, "clientRole": false, "containerId": "c9b92f4c-2655-48ca-a3ad-b08995e1e94d" }, "requiredCredentials": [ "password" ], "otpPolicyType": "totp", "otpPolicyAlgorithm": "HmacSHA1", "otpPolicyInitialCounter": 0, "otpPolicyDigits": 6, "otpPolicyLookAheadWindow": 1, "otpPolicyPeriod": 30, "otpPolicyCodeReusable": false, "otpSupportedApplications": [ "totpAppMicrosoftAuthenticatorName", "totpAppFreeOTPName", "totpAppGoogleName" ], "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": "ee268adc-48e7-44b4-be5c-939528446f9c", "createdTimestamp": 1683797725339, "username": "service-account-poc-apisix", "enabled": true, "totp": false, "emailVerified": false, "serviceAccountClientId": "poc-apisix", "disableableCredentialTypes": [], "requiredActions": [], "realmRoles": [ "default-roles-companya" ], "clientRoles": { "poc-apisix": [ "uma_protection" ] }, "notBefore": 0, "groups": [] } ], "scopeMappings": [ { "clientScope": "offline_access", "roles": [ "offline_access" ] } ], "clientScopeMappings": { "account": [ { "client": "account-console", "roles": [ "manage-account", "view-groups" ] } ] }, "clients": [ { "id": "10aadc9a-b39e-4a4a-b599-18724402a3f4", "clientId": "account", "name": "${client_account}", "rootUrl": "${authBaseUrl}", "baseUrl": "/realms/companyA/account/", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [ "/realms/companyA/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", "profile", "roles", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "f6b36269-548c-4cfa-af34-1445ded959f1", "clientId": "account-console", "name": "${client_account-console}", "rootUrl": "${authBaseUrl}", "baseUrl": "/realms/companyA/account/", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [ "/realms/companyA/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": "800f4893-6e0b-4cac-b7ca-07ac9d24721f", "name": "audience resolve", "protocol": "openid-connect", "protocolMapper": "oidc-audience-resolve-mapper", "consentRequired": false, "config": {} } ], "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "131f9022-2abf-48f9-85f4-f32255b892b1", "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": {}, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "db43be42-10a9-4306-8769-bb2434199318", "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": {}, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "0302ec41-94de-4764-abbe-49882d76134a", "clientId": "poc-apisix", "name": "poc-apisix", "description": "", "rootUrl": "http://book-app.demo.jpgouin.pro", "adminUrl": "http://book-app.demo.jpgouin.pro", "baseUrl": "", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "secret": "**********", "redirectUris": [ "http://book-app.demo.jpgouin.pro/*" ], "webOrigins": [ "http://book-app.demo.jpgouin.pro" ], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": true, "directAccessGrantsEnabled": true, "serviceAccountsEnabled": true, "authorizationServicesEnabled": true, "publicClient": false, "frontchannelLogout": true, "protocol": "openid-connect", "attributes": { "oidc.ciba.grant.enabled": "false", "client.secret.creation.time": "1683797725", "backchannel.logout.session.required": "true", "oauth2.device.authorization.grant.enabled": "false", "display.on.consent.screen": "false", "backchannel.logout.revoke.offline.tokens": "false" }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": true, "nodeReRegistrationTimeout": -1, "protocolMappers": [ { "id": "7b23b08c-cf6f-44c3-9584-cb75697532b7", "name": "Client Host", "protocol": "openid-connect", "protocolMapper": "oidc-usersessionmodel-note-mapper", "consentRequired": false, "config": { "user.session.note": "clientHost", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "clientHost", "jsonType.label": "String" } }, { "id": "1467f9be-4f36-461b-a6b4-4ba71633adf6", "name": "Client IP Address", "protocol": "openid-connect", "protocolMapper": "oidc-usersessionmodel-note-mapper", "consentRequired": false, "config": { "user.session.note": "clientAddress", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "clientAddress", "jsonType.label": "String" } }, { "id": "95b371af-9da7-4a98-9fa5-6724c4094c78", "name": "Client ID", "protocol": "openid-connect", "protocolMapper": "oidc-usersessionmodel-note-mapper", "consentRequired": false, "config": { "user.session.note": "client_id", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "client_id", "jsonType.label": "String" } } ], "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ], "authorizationSettings": { "allowRemoteResourceManagement": true, "policyEnforcementMode": "ENFORCING", "resources": [ { "name": "Default Resource", "type": "urn:poc-apisix:resources:default", "ownerManagedAccess": false, "attributes": {}, "_id": "e617c6bf-efa0-42f1-92f1-6554b0844a17", "uris": [ "/*" ] }, { "name": "Author creation", "ownerManagedAccess": true, "displayName": "", "attributes": {}, "_id": "1479c866-8c43-473c-859c-5028f82a809b", "uris": [ "/api/author" ], "scopes": [ { "name": "POST" }, { "name": "OPTIONS" } ], "icon_uri": "" }, { "name": "Book creation", "ownerManagedAccess": true, "displayName": "", "attributes": {}, "_id": "1d95b82d-1556-489a-a37d-b39ac99cbd7f", "uris": [ "/api/book" ], "scopes": [ { "name": "POST" }, { "name": "OPTIONS" } ], "icon_uri": "" }, { "name": "List authors", "ownerManagedAccess": true, "displayName": "", "attributes": {}, "_id": "f09c587f-0432-4cf1-8519-e0a98562db08", "uris": [ "/api/authors" ], "scopes": [ { "name": "GET" } ], "icon_uri": "" }, { "name": "List books", "ownerManagedAccess": true, "displayName": "", "attributes": {}, "_id": "243d3025-3eeb-4228-9f45-6ea9af506723", "uris": [ "/api/books" ], "scopes": [ { "name": "GET" } ], "icon_uri": "" } ], "policies": [ { "id": "16ec0052-62b5-418d-aaba-7bc3090fa894", "name": "Default Policy", "description": "A policy that grants access only for users within this realm", "type": "js", "logic": "POSITIVE", "decisionStrategy": "AFFIRMATIVE", "config": { "code": "// by default, grants any permission associated with this policy\n$evaluation.grant();\n" } }, { "id": "b4f37611-5fc9-4114-a523-38718cc58dd9", "name": "Only defined group can create book", "description": "", "type": "group", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "groups": "[{\"path\":\"/author_group\",\"extendChildren\":false}]", "groupsClaim": "" } }, { "id": "2b8c9270-618d-4168-9ecf-aab47d13b679", "name": "Only defined group can create author", "description": "", "type": "group", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "groups": "[{\"path\":\"/editor_group\",\"extendChildren\":false}]", "groupsClaim": "" } }, { "id": "de9fde4f-c9b5-4251-85dd-8230606b53f8", "name": "Only defined group can list authors", "description": "", "type": "group", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "groups": "[{\"path\":\"/author_group\",\"extendChildren\":false},{\"path\":\"/editor_group\",\"extendChildren\":false}]", "groupsClaim": "" } }, { "id": "8060bd4a-37b6-4f21-aaeb-77f3225da7a0", "name": "Only defined group can list books", "description": "", "type": "group", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "groups": "[{\"path\":\"/editor_group\",\"extendChildren\":false},{\"path\":\"/author_group\",\"extendChildren\":false}]", "groupsClaim": "" } }, { "id": "898e4ad3-bdbe-4b7f-8eec-d5d7a2733340", "name": "Default Permission", "description": "A permission that applies to the default resource type", "type": "resource", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "defaultResourceType": "urn:poc-apisix:resources:default", "applyPolicies": "[\"Default Policy\"]" } }, { "id": "84a7a780-8b1a-4670-8717-b0597322f726", "name": "Create book", "description": "", "type": "resource", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "resources": "[\"Book creation\"]", "applyPolicies": "[\"Only defined group can create book\"]" } }, { "id": "e5e1e7cc-2423-43b8-8aa0-c54b08a3da7a", "name": "Create author", "description": "", "type": "resource", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "resources": "[\"Author creation\"]", "applyPolicies": "[\"Only defined group can create author\"]" } }, { "id": "db1f37ea-69cc-49f6-8351-744494ea256f", "name": "List authors", "description": "", "type": "resource", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "resources": "[\"List authors\"]", "applyPolicies": "[\"Only defined group can list authors\"]" } }, { "id": "e128e45a-b192-4cbd-a890-a125cd1e1aac", "name": "List books", "description": "", "type": "resource", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "resources": "[\"List books\"]", "applyPolicies": "[\"Only defined group can list books\"]" } }, { "id": "309f8beb-1b01-4e3d-bd89-6de34f54caf8", "name": "List books Permission", "description": "", "type": "resource", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "resources": "[\"List books\"]", "applyPolicies": "[\"Only defined group can list books\"]" } }, { "id": "8f8e8a21-458c-44cd-9e96-ecf806c8f1c4", "name": "List authors Permission", "description": "", "type": "resource", "logic": "POSITIVE", "decisionStrategy": "UNANIMOUS", "config": { "resources": "[\"List authors\"]", "applyPolicies": "[\"Only defined group can list authors\"]" } } ], "scopes": [ { "id": "4892b3b9-8302-488c-b8a1-efcda48dd7e0", "name": "GET", "iconUri": "" }, { "id": "8d25d97f-189e-4733-8b6f-509a04db10c4", "name": "POST", "iconUri": "" }, { "id": "d8eef9a5-5e22-4016-bee5-14781cae9b12", "name": "OPTIONS", "iconUri": "" } ], "decisionStrategy": "UNANIMOUS" } }, { "id": "6ca78ef4-9b9a-4530-8522-2c8bc70af6d6", "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": {}, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "defaultClientScopes": [ "web-origins", "acr", "profile", "roles", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] }, { "id": "477183ff-7d0c-4a9d-acfa-eef26136bb2e", "clientId": "security-admin-console", "name": "${client_security-admin-console}", "rootUrl": "${authAdminUrl}", "baseUrl": "/admin/companyA/console/", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [ "/admin/companyA/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": "07484681-a4bf-4141-b38d-b82b723dfc44", "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", "profile", "roles", "email" ], "optionalClientScopes": [ "address", "phone", "offline_access", "microprofile-jwt" ] } ], "clientScopes": [ { "id": "3c6dff69-c43c-4537-8cf0-54a7e0ddcd37", "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": "13edd077-2b97-4f6f-94d7-4b3701848c59", "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": "440e7139-24a3-467e-8427-408e771882c2", "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": "fa97a97b-f872-4f90-9975-a6182f691de1", "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": "3756af0d-c7e7-4a1c-934c-89a727d80e15", "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": "8ed66b9c-9ea5-4085-80f0-381d886d6186", "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": "c6450636-29c4-4ec2-a7cb-98255a6ad562", "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": "23dd4876-c9a4-4798-b161-24d9799fba99", "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": "c106c330-0ce1-4ff2-a8e8-ad06f4ff7a62", "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": "1a79eca8-1e62-402d-a888-eee3266af4c2", "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": "fc1b7264-5c50-4a21-a0d6-1939e1c1b431", "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": "f4e1ffa2-5860-4086-abf7-a13502b9f7b9", "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": "a78ba187-e46e-4f24-bc5d-ba2b29fa8f13", "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": "8fbbf379-efde-4eed-ad96-dddf7ec096ad", "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": "53d58ef8-530a-47d4-9af0-f0c96af18f27", "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": "caac0d86-9ecf-4d0a-8dde-305e3d0eeb82", "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": "3b09ca77-baed-42be-b218-234d807600af", "name": "address", "description": "OpenID Connect built-in scope: address", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "true", "display.on.consent.screen": "true", "consent.screen.text": "${addressScopeConsentText}" }, "protocolMappers": [ { "id": "b3836154-aa78-4b57-b730-0ae5fc3661f8", "name": "address", "protocol": "openid-connect", "protocolMapper": "oidc-address-mapper", "consentRequired": false, "config": { "user.attribute.formatted": "formatted", "user.attribute.country": "country", "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": "94b6eb7e-1725-4a2f-a6d7-cbcc097d23e2", "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": "3ee84f31-ef64-4038-87ce-77a0e1b96390", "name": "allowed web origins", "protocol": "openid-connect", "protocolMapper": "oidc-allowed-origins-mapper", "consentRequired": false, "config": {} } ] }, { "id": "a16287f5-2260-4186-87a1-9c85a465a801", "name": "role_list", "description": "SAML role list", "protocol": "saml", "attributes": { "consent.screen.text": "${samlRoleListScopeConsentText}", "display.on.consent.screen": "true" }, "protocolMappers": [ { "id": "c43839b8-5e26-45c4-ba73-22df442e29a7", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } } ] }, { "id": "edf9532f-484a-4e85-9852-c9636fcff5d9", "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": "8e0cc8c8-22d4-49ed-85eb-44b8b605c535", "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": "4aa4f792-0f4f-4b78-a22f-f1962262380e", "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": "e27b0dc6-93d0-4006-9854-2e566378b379", "name": "phone", "description": "OpenID Connect built-in scope: phone", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "true", "display.on.consent.screen": "true", "consent.screen.text": "${phoneScopeConsentText}" }, "protocolMappers": [ { "id": "841271e0-d0e8-48bd-987e-98cb28a63f82", "name": "phone number verified", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "phoneNumberVerified", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "phone_number_verified", "jsonType.label": "boolean" } }, { "id": "797e8378-a2de-49b5-b682-6950d00ff91d", "name": "phone number", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "userinfo.token.claim": "true", "user.attribute": "phoneNumber", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "phone_number", "jsonType.label": "String" } } ] }, { "id": "89a33696-b562-447a-b446-5fc5c79a0725", "name": "microprofile-jwt", "description": "Microprofile - JWT built-in scope", "protocol": "openid-connect", "attributes": { "include.in.token.scope": "true", "display.on.consent.screen": "false" }, "protocolMappers": [ { "id": "7b58dc53-38ab-4297-b939-6a77b9b37595", "name": "upn", "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": "upn", "jsonType.label": "String" } }, { "id": "9df3a54a-8efa-4c0f-8817-77b33f53c065", "name": "groups", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-realm-role-mapper", "consentRequired": false, "config": { "multivalued": "true", "user.attribute": "foo", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "groups", "jsonType.label": "String" } } ] }, { "id": "dd035284-defd-497c-a682-f6d7c0ace449", "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": "1ffb71ea-5b26-41df-b01e-beb045400d34", "name": "acr loa level", "protocol": "openid-connect", "protocolMapper": "oidc-acr-mapper", "consentRequired": false, "config": { "id.token.claim": "true", "access.token.claim": "true" } } ] }, { "id": "d45530f5-99aa-42ff-9f8d-5b563f734421", "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": "b08196b5-e8b6-4abc-acbb-06843bdbef86", "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": "e114c616-407c-4b07-9bef-a2ee18e57f1e", "name": "client roles", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-client-role-mapper", "consentRequired": false, "config": { "user.attribute": "foo", "access.token.claim": "true", "claim.name": "resource_access.${client_id}.roles", "jsonType.label": "String", "multivalued": "true" } }, { "id": "b38838c9-09d5-49ac-ba85-17b7bf26406f", "name": "audience resolve", "protocol": "openid-connect", "protocolMapper": "oidc-audience-resolve-mapper", "consentRequired": false, "config": {} } ] } ], "defaultDefaultClientScopes": [ "role_list", "profile", "email", "roles", "web-origins", "acr" ], "defaultOptionalClientScopes": [ "offline_access", "address", "phone", "microprofile-jwt" ], "browserSecurityHeaders": { "contentSecurityPolicyReportOnly": "", "xContentTypeOptions": "nosniff", "xRobotsTag": "none", "xFrameOptions": "SAMEORIGIN", "contentSecurityPolicy": "frame-src 'self'; frame-ancestors 'self'; object-src 'none';", "xXSSProtection": "1; mode=block", "strictTransportSecurity": "max-age=31536000; includeSubDomains" }, "smtpServer": {}, "eventsEnabled": false, "eventsListeners": [ "jboss-logging" ], "enabledEventTypes": [], "adminEventsEnabled": false, "adminEventsDetailsEnabled": false, "identityProviders": [], "identityProviderMappers": [], "components": { "org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy": [ { "id": "8b242488-4f4f-4f67-9589-ca16aa6cf2fc", "name": "Trusted Hosts", "providerId": "trusted-hosts", "subType": "anonymous", "subComponents": {}, "config": { "host-sending-registration-request-must-match": [ "true" ], "client-uris-must-match": [ "true" ] } }, { "id": "6d4766b4-7b02-4ffc-8e86-0f6a73bd374e", "name": "Max Clients Limit", "providerId": "max-clients", "subType": "anonymous", "subComponents": {}, "config": { "max-clients": [ "200" ] } }, { "id": "d951e332-8646-45ed-83b8-ba61752ff9c3", "name": "Allowed Protocol Mapper Types", "providerId": "allowed-protocol-mappers", "subType": "authenticated", "subComponents": {}, "config": { "allowed-protocol-mapper-types": [ "oidc-usermodel-attribute-mapper", "oidc-full-name-mapper", "saml-user-property-mapper", "saml-user-attribute-mapper", "saml-role-list-mapper", "oidc-usermodel-property-mapper", "oidc-address-mapper", "oidc-sha256-pairwise-sub-mapper" ] } }, { "id": "ba4d1d9a-4ce3-4085-8efd-21230d644274", "name": "Allowed Client Scopes", "providerId": "allowed-client-templates", "subType": "anonymous", "subComponents": {}, "config": { "allow-default-scopes": [ "true" ] } }, { "id": "14d1e50d-0e91-4f13-be8b-5e731c33478b", "name": "Full Scope Disabled", "providerId": "scope", "subType": "anonymous", "subComponents": {}, "config": {} }, { "id": "8f04eb5e-397f-42ca-a042-71260e08a659", "name": "Allowed Protocol Mapper Types", "providerId": "allowed-protocol-mappers", "subType": "anonymous", "subComponents": {}, "config": { "allowed-protocol-mapper-types": [ "oidc-sha256-pairwise-sub-mapper", "oidc-address-mapper", "oidc-usermodel-property-mapper", "saml-user-property-mapper", "oidc-full-name-mapper", "saml-role-list-mapper", "oidc-usermodel-attribute-mapper", "saml-user-attribute-mapper" ] } }, { "id": "2ad3d128-d4f3-423b-8e0a-9328864490fb", "name": "Allowed Client Scopes", "providerId": "allowed-client-templates", "subType": "authenticated", "subComponents": {}, "config": { "allow-default-scopes": [ "true" ] } }, { "id": "e0d7fac3-4553-40f1-bb64-19eb38ec0f93", "name": "Consent Required", "providerId": "consent-required", "subType": "anonymous", "subComponents": {}, "config": {} } ], "org.keycloak.keys.KeyProvider": [ { "id": "a51bf17a-83d0-4865-bcc4-848e2c490993", "name": "aes-generated", "providerId": "aes-generated", "subComponents": {}, "config": { "priority": [ "100" ] } }, { "id": "ed2e8391-69ca-40ed-a5b0-c5d5a5d90360", "name": "hmac-generated", "providerId": "hmac-generated", "subComponents": {}, "config": { "priority": [ "100" ], "algorithm": [ "HS256" ] } }, { "id": "6af55a1c-0c61-4149-a1a9-576ac27ae79c", "name": "rsa-generated", "providerId": "rsa-generated", "subComponents": {}, "config": { "priority": [ "100" ] } }, { "id": "fa9884b5-0482-4548-99a1-146ac8edc16d", "name": "rsa-enc-generated", "providerId": "rsa-enc-generated", "subComponents": {}, "config": { "priority": [ "100" ], "algorithm": [ "RSA-OAEP" ] } } ] }, "internationalizationEnabled": false, "supportedLocales": [], "authenticationFlows": [ { "id": "f3bfdbb7-a959-47b6-b0ea-e4fced43d333", "alias": "Account verification options", "description": "Method with which to verity the existing account", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "idp-email-verification", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "ALTERNATIVE", "priority": 20, "autheticatorFlow": true, "flowAlias": "Verify Existing Account by Re-authentication", "userSetupAllowed": false } ] }, { "id": "5682fbad-645e-4604-a429-d586f69c36c9", "alias": "Authentication Options", "description": "Authentication options.", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "basic-auth", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "basic-auth-otp", "authenticatorFlow": false, "requirement": "DISABLED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "auth-spnego", "authenticatorFlow": false, "requirement": "DISABLED", "priority": 30, "autheticatorFlow": false, "userSetupAllowed": false } ] }, { "id": "a94e3193-b469-45ea-b685-7a2dfe78e535", "alias": "Browser - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "conditional-user-configured", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "auth-otp-form", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false } ] }, { "id": "d9d57020-70a1-48fa-a1f0-23985c039614", "alias": "Direct Grant - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "conditional-user-configured", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "direct-grant-validate-otp", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false } ] }, { "id": "de36e941-76df-4e82-bc0c-8047fe366a8a", "alias": "First broker login - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "conditional-user-configured", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "auth-otp-form", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false } ] }, { "id": "27c913c9-e444-4ad5-a07f-0f0a92ae4d8d", "alias": "Handle Existing Account", "description": "Handle what to do if there is existing account with same email/username like authenticated identity provider", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "idp-confirm-link", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": true, "flowAlias": "Account verification options", "userSetupAllowed": false } ] }, { "id": "152661a8-5156-4dd4-9364-414ae38d6b63", "alias": "Reset - Conditional OTP", "description": "Flow to determine if the OTP should be reset or not. Set to REQUIRED to force.", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "conditional-user-configured", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "reset-otp", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false } ] }, { "id": "c861eb3a-00cf-4cb0-89d2-ac39241a0231", "alias": "User creation or linking", "description": "Flow for the existing/non-existing user alternatives", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticatorConfig": "create unique user config", "authenticator": "idp-create-user-if-unique", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "ALTERNATIVE", "priority": 20, "autheticatorFlow": true, "flowAlias": "Handle Existing Account", "userSetupAllowed": false } ] }, { "id": "96d0dffc-5efa-4ffb-b5db-05597398604e", "alias": "Verify Existing Account by Re-authentication", "description": "Reauthentication of existing account", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "idp-username-password-form", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "CONDITIONAL", "priority": 20, "autheticatorFlow": true, "flowAlias": "First broker login - Conditional OTP", "userSetupAllowed": false } ] }, { "id": "8f523d92-303c-4709-8e08-a9dbc5a1bddf", "alias": "browser", "description": "browser based authentication", "providerId": "basic-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticator": "auth-cookie", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "auth-spnego", "authenticatorFlow": false, "requirement": "DISABLED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "identity-provider-redirector", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 25, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "ALTERNATIVE", "priority": 30, "autheticatorFlow": true, "flowAlias": "forms", "userSetupAllowed": false } ] }, { "id": "33998438-e339-462b-92f1-9a482270bb66", "alias": "clients", "description": "Base authentication for clients", "providerId": "client-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticator": "client-secret", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "client-jwt", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "client-secret-jwt", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 30, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "client-x509", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 40, "autheticatorFlow": false, "userSetupAllowed": false } ] }, { "id": "b55430f7-7e63-401d-bf7b-ef6f34f0acf5", "alias": "direct grant", "description": "OpenID Connect Resource Owner Grant", "providerId": "basic-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticator": "direct-grant-validate-username", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "direct-grant-validate-password", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "CONDITIONAL", "priority": 30, "autheticatorFlow": true, "flowAlias": "Direct Grant - Conditional OTP", "userSetupAllowed": false } ] }, { "id": "a87456b7-7b7c-4518-95f7-d7b50003a4e8", "alias": "docker auth", "description": "Used by Docker clients to authenticate against the IDP", "providerId": "basic-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticator": "docker-http-basic-authenticator", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false } ] }, { "id": "1ebf36bb-2ff8-4b1b-ab36-98a7692516a0", "alias": "first broker login", "description": "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account", "providerId": "basic-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticatorConfig": "review profile config", "authenticator": "idp-review-profile", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": true, "flowAlias": "User creation or linking", "userSetupAllowed": false } ] }, { "id": "3f4e34b6-0b32-4cab-9006-2f02d4c9c5db", "alias": "forms", "description": "Username, password, otp and other auth forms.", "providerId": "basic-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "auth-username-password-form", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "CONDITIONAL", "priority": 20, "autheticatorFlow": true, "flowAlias": "Browser - Conditional OTP", "userSetupAllowed": false } ] }, { "id": "d90d0c0e-7849-40ae-a018-e6b2f35d755c", "alias": "http challenge", "description": "An authentication flow based on challenge-response HTTP Authentication Schemes", "providerId": "basic-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticator": "no-cookie-redirect", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": true, "flowAlias": "Authentication Options", "userSetupAllowed": false } ] }, { "id": "f273c785-f742-4206-bc03-4ac9b3d4ad76", "alias": "registration", "description": "registration flow", "providerId": "basic-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticator": "registration-page-form", "authenticatorFlow": true, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": true, "flowAlias": "registration form", "userSetupAllowed": false } ] }, { "id": "45c39dba-3fa2-4240-acdc-b328873a80ed", "alias": "registration form", "description": "registration form", "providerId": "form-flow", "topLevel": false, "builtIn": true, "authenticationExecutions": [ { "authenticator": "registration-user-creation", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "registration-profile-action", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 40, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "registration-password-action", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 50, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "registration-recaptcha-action", "authenticatorFlow": false, "requirement": "DISABLED", "priority": 60, "autheticatorFlow": false, "userSetupAllowed": false } ] }, { "id": "fa17bdcc-61f8-479b-b061-e4662073a2dd", "alias": "reset credentials", "description": "Reset credentials for a user if they forgot their password or something", "providerId": "basic-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticator": "reset-credentials-choose-user", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "reset-credential-email", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticator": "reset-password", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 30, "autheticatorFlow": false, "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "CONDITIONAL", "priority": 40, "autheticatorFlow": true, "flowAlias": "Reset - Conditional OTP", "userSetupAllowed": false } ] }, { "id": "d82ac962-9cfa-4c86-8349-14c9433bb3ca", "alias": "saml ecp", "description": "SAML ECP Profile Authentication Flow", "providerId": "basic-flow", "topLevel": true, "builtIn": true, "authenticationExecutions": [ { "authenticator": "http-basic-authenticator", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, "autheticatorFlow": false, "userSetupAllowed": false } ] } ], "authenticatorConfig": [ { "id": "cd61b923-414c-45c7-8e1a-b484c5f263a6", "alias": "create unique user config", "config": { "require.password.update.after.registration": "false" } }, { "id": "77b606ef-6681-4af9-9619-26357eb95d2a", "alias": "review profile config", "config": { "update.profile.on.first.login": "missing" } } ], "requiredActions": [ { "alias": "CONFIGURE_TOTP", "name": "Configure OTP", "providerId": "CONFIGURE_TOTP", "enabled": true, "defaultAction": false, "priority": 10, "config": {} }, { "alias": "TERMS_AND_CONDITIONS", "name": "Terms and Conditions", "providerId": "TERMS_AND_CONDITIONS", "enabled": false, "defaultAction": false, "priority": 20, "config": {} }, { "alias": "UPDATE_PASSWORD", "name": "Update Password", "providerId": "UPDATE_PASSWORD", "enabled": true, "defaultAction": false, "priority": 30, "config": {} }, { "alias": "UPDATE_PROFILE", "name": "Update Profile", "providerId": "UPDATE_PROFILE", "enabled": true, "defaultAction": false, "priority": 40, "config": {} }, { "alias": "VERIFY_EMAIL", "name": "Verify Email", "providerId": "VERIFY_EMAIL", "enabled": true, "defaultAction": false, "priority": 50, "config": {} }, { "alias": "delete_account", "name": "Delete Account", "providerId": "delete_account", "enabled": false, "defaultAction": false, "priority": 60, "config": {} }, { "alias": "webauthn-register", "name": "Webauthn Register", "providerId": "webauthn-register", "enabled": true, "defaultAction": false, "priority": 70, "config": {} }, { "alias": "webauthn-register-passwordless", "name": "Webauthn Register Passwordless", "providerId": "webauthn-register-passwordless", "enabled": true, "defaultAction": false, "priority": 80, "config": {} }, { "alias": "update_user_locale", "name": "Update User Locale", "providerId": "update_user_locale", "enabled": true, "defaultAction": false, "priority": 1000, "config": {} } ], "browserFlow": "browser", "registrationFlow": "registration", "directGrantFlow": "direct grant", "resetCredentialsFlow": "reset credentials", "clientAuthenticationFlow": "clients", "dockerAuthenticationFlow": "docker auth", "attributes": { "cibaBackchannelTokenDeliveryMode": "poll", "cibaExpiresIn": "120", "cibaAuthRequestedUserHint": "login_hint", "oauth2DeviceCodeLifespan": "600", "oauth2DevicePollingInterval": "5", "parRequestUriLifespan": "60", "cibaInterval": "5", "realmReusableOtpCode": "false" }, "keycloakVersion": "21.1.1", "userManagedAccessAllowed": false, "clientProfiles": { "profiles": [] }, "clientPolicies": { "policies": [] } }