Created
May 20, 2021 06:30
-
-
Save belgoros/7848591e730d2266bb9a70dd4a24e520 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "Demo-Realm", | |
"realm": "Demo-Realm", | |
"notBefore": 0, | |
"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, | |
"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": "abb35f50-53b7-4be7-9179-b90bbecb6107", | |
"name": "app-admin", | |
"description": "Application admin permissions", | |
"composite": true, | |
"composites": { | |
"client": { | |
"springboot-microservice": [ | |
"admin" | |
] | |
} | |
}, | |
"clientRole": false, | |
"containerId": "Demo-Realm", | |
"attributes": {} | |
}, | |
{ | |
"id": "8b893ff3-0f8a-4938-9d16-84e79abdd265", | |
"name": "offline_access", | |
"description": "${role_offline-access}", | |
"composite": false, | |
"clientRole": false, | |
"containerId": "Demo-Realm", | |
"attributes": {} | |
}, | |
{ | |
"id": "c2e0a743-078e-470d-98e9-02e9314861bf", | |
"name": "uma_authorization", | |
"description": "${role_uma_authorization}", | |
"composite": false, | |
"clientRole": false, | |
"containerId": "Demo-Realm", | |
"attributes": {} | |
}, | |
{ | |
"id": "851bb6bd-6543-4c42-b392-7eed55f25c1c", | |
"name": "app-user", | |
"description": "Application user permissions", | |
"composite": true, | |
"composites": { | |
"client": { | |
"springboot-microservice": [ | |
"user" | |
] | |
} | |
}, | |
"clientRole": false, | |
"containerId": "Demo-Realm", | |
"attributes": {} | |
} | |
], | |
"client": { | |
"realm-management": [ | |
{ | |
"id": "55b19daa-9ff4-42b6-9dca-63393078ddab", | |
"name": "manage-clients", | |
"description": "${role_manage-clients}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "a1f7d7bf-acce-4e4b-a9f7-0f29ee19ff02", | |
"name": "manage-authorization", | |
"description": "${role_manage-authorization}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "496a71d0-a730-438b-a6d0-5814a2a591c5", | |
"name": "view-authorization", | |
"description": "${role_view-authorization}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "928488f9-1e8b-4070-96fd-f4f1798a5b59", | |
"name": "impersonation", | |
"description": "${role_impersonation}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "4bc799a7-2452-40cb-bbae-6d322a1fa732", | |
"name": "view-realm", | |
"description": "${role_view-realm}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "3d69163b-dc50-4f01-9451-898ce02539ee", | |
"name": "query-realms", | |
"description": "${role_query-realms}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "36c196f8-01b3-4b3c-92de-267c3e992b8e", | |
"name": "view-events", | |
"description": "${role_view-events}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "c1940182-4f0a-4d34-a1fd-1c39449e9f93", | |
"name": "manage-users", | |
"description": "${role_manage-users}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "ac037d17-7bdb-43dc-a63f-0f424d0a1e44", | |
"name": "manage-events", | |
"description": "${role_manage-events}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "f316a4da-4d4c-43be-adbe-21f28652896d", | |
"name": "create-client", | |
"description": "${role_create-client}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "9525a57b-7828-43e9-a344-ed45f813a8e1", | |
"name": "view-clients", | |
"description": "${role_view-clients}", | |
"composite": true, | |
"composites": { | |
"client": { | |
"realm-management": [ | |
"query-clients" | |
] | |
} | |
}, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "568a23e2-6ea7-4083-ab05-87cd7de46c40", | |
"name": "manage-identity-providers", | |
"description": "${role_manage-identity-providers}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "dc2259fb-c8cf-4774-ac7e-97473f1bca21", | |
"name": "manage-realm", | |
"description": "${role_manage-realm}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "f748d784-6e4b-4954-8806-607d362ebede", | |
"name": "query-groups", | |
"description": "${role_query-groups}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "01e148f1-f396-43a2-a3de-3f657aefb4c3", | |
"name": "query-users", | |
"description": "${role_query-users}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "3e6ebd9e-37aa-4114-b12f-e7edbe5aacb7", | |
"name": "query-clients", | |
"description": "${role_query-clients}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "4f910668-5a38-4bea-8780-a0dd5f3d8297", | |
"name": "view-users", | |
"description": "${role_view-users}", | |
"composite": true, | |
"composites": { | |
"client": { | |
"realm-management": [ | |
"query-groups", | |
"query-users" | |
] | |
} | |
}, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "77c58166-ce89-4013-9532-aaf1f0f47b90", | |
"name": "realm-admin", | |
"description": "${role_realm-admin}", | |
"composite": true, | |
"composites": { | |
"client": { | |
"realm-management": [ | |
"manage-clients", | |
"manage-authorization", | |
"view-authorization", | |
"impersonation", | |
"view-realm", | |
"query-realms", | |
"view-events", | |
"manage-users", | |
"manage-events", | |
"manage-identity-providers", | |
"view-clients", | |
"create-client", | |
"manage-realm", | |
"query-groups", | |
"query-users", | |
"query-clients", | |
"view-users", | |
"view-identity-providers" | |
] | |
} | |
}, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
}, | |
{ | |
"id": "002e8a3d-5f3a-440f-b458-5eea44c6420c", | |
"name": "view-identity-providers", | |
"description": "${role_view-identity-providers}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"attributes": {} | |
} | |
], | |
"security-admin-console": [], | |
"springboot-microservice": [ | |
{ | |
"id": "f0085c95-df98-4e0c-97a0-af61a73dea79", | |
"name": "admin", | |
"description": "To authorise admin permissions", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "ab37e23e-7abc-45b7-8dd7-fa1e2ad3099b", | |
"attributes": {} | |
}, | |
{ | |
"id": "abb8983e-c7b3-44e7-9dcc-199c6366cc08", | |
"name": "uma_protection", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "ab37e23e-7abc-45b7-8dd7-fa1e2ad3099b", | |
"attributes": {} | |
}, | |
{ | |
"id": "200116cd-c33c-4599-a780-2302a68437c0", | |
"name": "user", | |
"description": "To authorise user permissions", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "ab37e23e-7abc-45b7-8dd7-fa1e2ad3099b", | |
"attributes": {} | |
} | |
], | |
"admin-cli": [], | |
"account-console": [], | |
"broker": [ | |
{ | |
"id": "f7dc271f-2392-4f67-9d6e-1ef74b8098f9", | |
"name": "read-token", | |
"description": "${role_read-token}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "59f48cf5-82ad-4bed-a147-6a70d5c27b88", | |
"attributes": {} | |
} | |
], | |
"account": [ | |
{ | |
"id": "5a0d24fa-a546-483f-adaa-66394203c739", | |
"name": "view-applications", | |
"description": "${role_view-applications}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "99838e45-f458-4675-8711-82de97709a5d", | |
"attributes": {} | |
}, | |
{ | |
"id": "95da3101-6b85-4500-87d8-f08d55e9919d", | |
"name": "view-consent", | |
"description": "${role_view-consent}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "99838e45-f458-4675-8711-82de97709a5d", | |
"attributes": {} | |
}, | |
{ | |
"id": "4970963d-f135-4952-9219-a75c98274354", | |
"name": "view-profile", | |
"description": "${role_view-profile}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "99838e45-f458-4675-8711-82de97709a5d", | |
"attributes": {} | |
}, | |
{ | |
"id": "a82fce61-ff46-46fb-9981-7a9eeef16ace", | |
"name": "manage-consent", | |
"description": "${role_manage-consent}", | |
"composite": true, | |
"composites": { | |
"client": { | |
"account": [ | |
"view-consent" | |
] | |
} | |
}, | |
"clientRole": true, | |
"containerId": "99838e45-f458-4675-8711-82de97709a5d", | |
"attributes": {} | |
}, | |
{ | |
"id": "5b7c5455-2996-421f-8485-113cd52c0a77", | |
"name": "manage-account", | |
"description": "${role_manage-account}", | |
"composite": true, | |
"composites": { | |
"client": { | |
"account": [ | |
"manage-account-links" | |
] | |
} | |
}, | |
"clientRole": true, | |
"containerId": "99838e45-f458-4675-8711-82de97709a5d", | |
"attributes": {} | |
}, | |
{ | |
"id": "abb07b9f-676e-4c23-b481-eb417a22e350", | |
"name": "manage-account-links", | |
"description": "${role_manage-account-links}", | |
"composite": false, | |
"clientRole": true, | |
"containerId": "99838e45-f458-4675-8711-82de97709a5d", | |
"attributes": {} | |
} | |
] | |
} | |
}, | |
"groups": [], | |
"defaultRoles": [ | |
"offline_access", | |
"uma_authorization" | |
], | |
"requiredCredentials": [ | |
"password" | |
], | |
"otpPolicyType": "totp", | |
"otpPolicyAlgorithm": "HmacSHA1", | |
"otpPolicyInitialCounter": 0, | |
"otpPolicyDigits": 6, | |
"otpPolicyLookAheadWindow": 1, | |
"otpPolicyPeriod": 30, | |
"otpSupportedApplications": [ | |
"FreeOTP", | |
"Google Authenticator" | |
], | |
"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": "3a7bc5e8-66ae-4754-a784-3682b6f22f65", | |
"createdTimestamp": 1621351723749, | |
"username": "service-account-springboot-microservice", | |
"enabled": true, | |
"totp": false, | |
"emailVerified": false, | |
"serviceAccountClientId": "springboot-microservice", | |
"disableableCredentialTypes": [], | |
"requiredActions": [], | |
"realmRoles": [ | |
"offline_access", | |
"uma_authorization" | |
], | |
"clientRoles": { | |
"springboot-microservice": [ | |
"uma_protection" | |
], | |
"account": [ | |
"view-profile", | |
"manage-account" | |
] | |
}, | |
"notBefore": 0, | |
"groups": [] | |
} | |
], | |
"scopeMappings": [ | |
{ | |
"clientScope": "offline_access", | |
"roles": [ | |
"offline_access" | |
] | |
} | |
], | |
"clientScopeMappings": { | |
"account": [ | |
{ | |
"client": "account-console", | |
"roles": [ | |
"manage-account" | |
] | |
} | |
] | |
}, | |
"clients": [ | |
{ | |
"id": "99838e45-f458-4675-8711-82de97709a5d", | |
"clientId": "account", | |
"name": "${client_account}", | |
"rootUrl": "${authBaseUrl}", | |
"baseUrl": "/realms/Demo-Realm/account/", | |
"surrogateAuthRequired": false, | |
"enabled": true, | |
"alwaysDisplayInConsole": false, | |
"clientAuthenticatorType": "client-secret", | |
"secret": "**********", | |
"defaultRoles": [ | |
"view-profile", | |
"manage-account" | |
], | |
"redirectUris": [ | |
"/realms/Demo-Realm/account/*" | |
], | |
"webOrigins": [], | |
"notBefore": 0, | |
"bearerOnly": false, | |
"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", | |
"role_list", | |
"roles", | |
"profile", | |
"email" | |
], | |
"optionalClientScopes": [ | |
"address", | |
"phone", | |
"offline_access", | |
"microprofile-jwt" | |
] | |
}, | |
{ | |
"id": "ae213e13-e795-4c1e-8896-7ec80d06d9be", | |
"clientId": "account-console", | |
"name": "${client_account-console}", | |
"rootUrl": "${authBaseUrl}", | |
"baseUrl": "/realms/Demo-Realm/account/", | |
"surrogateAuthRequired": false, | |
"enabled": true, | |
"alwaysDisplayInConsole": false, | |
"clientAuthenticatorType": "client-secret", | |
"secret": "**********", | |
"redirectUris": [ | |
"/realms/Demo-Realm/account/*" | |
], | |
"webOrigins": [], | |
"notBefore": 0, | |
"bearerOnly": false, | |
"consentRequired": false, | |
"standardFlowEnabled": true, | |
"implicitFlowEnabled": false, | |
"directAccessGrantsEnabled": false, | |
"serviceAccountsEnabled": false, | |
"publicClient": true, | |
"frontchannelLogout": false, | |
"protocol": "openid-connect", | |
"attributes": { | |
"pkce.code.challenge.method": "S256" | |
}, | |
"authenticationFlowBindingOverrides": {}, | |
"fullScopeAllowed": false, | |
"nodeReRegistrationTimeout": 0, | |
"protocolMappers": [ | |
{ | |
"id": "1f3bead3-8b19-48e9-97b5-f566e7f9c89e", | |
"name": "audience resolve", | |
"protocol": "openid-connect", | |
"protocolMapper": "oidc-audience-resolve-mapper", | |
"consentRequired": false, | |
"config": {} | |
} | |
], | |
"defaultClientScopes": [ | |
"web-origins", | |
"role_list", | |
"roles", | |
"profile", | |
"email" | |
], | |
"optionalClientScopes": [ | |
"address", | |
"phone", | |
"offline_access", | |
"microprofile-jwt" | |
] | |
}, | |
{ | |
"id": "07cbc2f2-00d8-4082-98b6-d2634b82b5df", | |
"clientId": "admin-cli", | |
"name": "${client_admin-cli}", | |
"surrogateAuthRequired": false, | |
"enabled": true, | |
"alwaysDisplayInConsole": false, | |
"clientAuthenticatorType": "client-secret", | |
"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", | |
"role_list", | |
"roles", | |
"profile", | |
"email" | |
], | |
"optionalClientScopes": [ | |
"address", | |
"phone", | |
"offline_access", | |
"microprofile-jwt" | |
] | |
}, | |
{ | |
"id": "59f48cf5-82ad-4bed-a147-6a70d5c27b88", | |
"clientId": "broker", | |
"name": "${client_broker}", | |
"surrogateAuthRequired": false, | |
"enabled": true, | |
"alwaysDisplayInConsole": false, | |
"clientAuthenticatorType": "client-secret", | |
"secret": "**********", | |
"redirectUris": [], | |
"webOrigins": [], | |
"notBefore": 0, | |
"bearerOnly": false, | |
"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", | |
"role_list", | |
"roles", | |
"profile", | |
"email" | |
], | |
"optionalClientScopes": [ | |
"address", | |
"phone", | |
"offline_access", | |
"microprofile-jwt" | |
] | |
}, | |
{ | |
"id": "0dedb051-a6d7-475d-ac34-4226c36dc384", | |
"clientId": "realm-management", | |
"name": "${client_realm-management}", | |
"surrogateAuthRequired": false, | |
"enabled": true, | |
"alwaysDisplayInConsole": false, | |
"clientAuthenticatorType": "client-secret", | |
"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", | |
"role_list", | |
"roles", | |
"profile", | |
"email" | |
], | |
"optionalClientScopes": [ | |
"address", | |
"phone", | |
"offline_access", | |
"microprofile-jwt" | |
] | |
}, | |
{ | |
"id": "06042bb8-a256-4b2f-a6ff-1ab605945fd8", | |
"clientId": "security-admin-console", | |
"name": "${client_security-admin-console}", | |
"rootUrl": "${authAdminUrl}", | |
"baseUrl": "/admin/Demo-Realm/console/", | |
"surrogateAuthRequired": false, | |
"enabled": true, | |
"alwaysDisplayInConsole": false, | |
"clientAuthenticatorType": "client-secret", | |
"secret": "**********", | |
"redirectUris": [ | |
"/admin/Demo-Realm/console/*" | |
], | |
"webOrigins": [ | |
"+" | |
], | |
"notBefore": 0, | |
"bearerOnly": false, | |
"consentRequired": false, | |
"standardFlowEnabled": true, | |
"implicitFlowEnabled": false, | |
"directAccessGrantsEnabled": false, | |
"serviceAccountsEnabled": false, | |
"publicClient": true, | |
"frontchannelLogout": false, | |
"protocol": "openid-connect", | |
"attributes": { | |
"pkce.code.challenge.method": "S256" | |
}, | |
"authenticationFlowBindingOverrides": {}, | |
"fullScopeAllowed": false, | |
"nodeReRegistrationTimeout": 0, | |
"protocolMappers": [ | |
{ | |
"id": "d2765fd5-b97e-4c06-a584-c8231f03316b", | |
"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", | |
"role_list", | |
"roles", | |
"profile", | |
"email" | |
], | |
"optionalClientScopes": [ | |
"address", | |
"phone", | |
"offline_access", | |
"microprofile-jwt" | |
] | |
}, | |
{ | |
"id": "ab37e23e-7abc-45b7-8dd7-fa1e2ad3099b", | |
"clientId": "springboot-microservice", | |
"rootUrl": "http://localhost:8080", | |
"adminUrl": "http://localhost:8080", | |
"surrogateAuthRequired": false, | |
"enabled": true, | |
"alwaysDisplayInConsole": false, | |
"clientAuthenticatorType": "client-secret", | |
"secret": "**********", | |
"redirectUris": [ | |
"http://localhost:8080/*" | |
], | |
"webOrigins": [ | |
"http://localhost:8080" | |
], | |
"notBefore": 0, | |
"bearerOnly": false, | |
"consentRequired": false, | |
"standardFlowEnabled": true, | |
"implicitFlowEnabled": false, | |
"directAccessGrantsEnabled": true, | |
"serviceAccountsEnabled": true, | |
"authorizationServicesEnabled": true, | |
"publicClient": false, | |
"frontchannelLogout": false, | |
"protocol": "openid-connect", | |
"attributes": { | |
"saml.assertion.signature": "false", | |
"saml.force.post.binding": "false", | |
"saml.multivalued.roles": "false", | |
"saml.encrypt": "false", | |
"saml.server.signature": "false", | |
"saml.server.signature.keyinfo.ext": "false", | |
"exclude.session.state.from.auth.response": "false", | |
"saml_force_name_id_format": "false", | |
"saml.client.signature": "false", | |
"tls.client.certificate.bound.access.tokens": "false", | |
"saml.authnstatement": "false", | |
"display.on.consent.screen": "false", | |
"saml.onetimeuse.condition": "false" | |
}, | |
"authenticationFlowBindingOverrides": {}, | |
"fullScopeAllowed": true, | |
"nodeReRegistrationTimeout": -1, | |
"protocolMappers": [ | |
{ | |
"id": "8e93f735-ff7b-4218-9e5c-06b255c96b80", | |
"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": "134e776b-71b1-4f86-b9fe-5dd15deaf8a0", | |
"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": "de1f01b6-d1bc-4c63-98aa-804ddf918816", | |
"name": "Client ID", | |
"protocol": "openid-connect", | |
"protocolMapper": "oidc-usersessionmodel-note-mapper", | |
"consentRequired": false, | |
"config": { | |
"user.session.note": "clientId", | |
"id.token.claim": "true", | |
"access.token.claim": "true", | |
"claim.name": "clientId", | |
"jsonType.label": "String" | |
} | |
} | |
], | |
"defaultClientScopes": [ | |
"web-origins", | |
"role_list", | |
"roles", | |
"profile", | |
"email" | |
], | |
"optionalClientScopes": [ | |
"address", | |
"phone", | |
"offline_access", | |
"microprofile-jwt" | |
], | |
"authorizationSettings": { | |
"allowRemoteResourceManagement": true, | |
"policyEnforcementMode": "ENFORCING", | |
"resources": [ | |
{ | |
"name": "Default Resource", | |
"type": "urn:springboot-microservice:resources:default", | |
"ownerManagedAccess": false, | |
"attributes": {}, | |
"_id": "c83a3d16-1023-4ead-b550-ce297f1d74a7", | |
"uris": [ | |
"/*" | |
] | |
} | |
], | |
"policies": [ | |
{ | |
"id": "1720d0ee-8ad7-418c-93da-f78e822eaa82", | |
"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": "c5308ac6-3cde-4653-8742-6d9eb8916e0c", | |
"name": "Default Permission", | |
"description": "A permission that applies to the default resource type", | |
"type": "resource", | |
"logic": "POSITIVE", | |
"decisionStrategy": "UNANIMOUS", | |
"config": { | |
"defaultResourceType": "urn:springboot-microservice:resources:default", | |
"applyPolicies": "[\"Default Policy\"]" | |
} | |
} | |
], | |
"scopes": [], | |
"decisionStrategy": "UNANIMOUS" | |
} | |
} | |
], | |
"clientScopes": [ | |
{ | |
"id": "111d29fc-a687-46d0-bbf2-bc55318b9acd", | |
"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": "2e9cbc21-a4b0-4b09-b675-bd0c25e3e327", | |
"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": "a460cddc-076e-4bd8-af0f-4ea50af6c024", | |
"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": "312f2fd0-e432-446c-8af9-4fbbb4df0d7c", | |
"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": "730be995-13ad-4a40-a140-03c06a1d2d2b", | |
"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": "d8cdd12e-1e10-4088-9e02-4f7695c57ad5", | |
"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": "02e4ba78-28f7-4d97-a691-7b5b1e559f4a", | |
"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": "9ed773a6-fe01-4ad0-ad22-cbf2a15dc640", | |
"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": "32830485-fcc1-4dcc-baac-ff37b7c19452", | |
"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": "fba89708-1f36-422c-a433-15ab3279429c", | |
"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": "dc1c78ca-c21f-41eb-9dbd-a68069db82dd", | |
"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": "b834c708-7a30-4748-bb6a-26d9c4048917", | |
"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": "e9e07559-9c2e-4424-8e0e-4250a35babab", | |
"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": "0596b4d7-2727-42a2-ae93-0c115a8e4d26", | |
"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": "22e1b140-fa0a-4ef2-8c2d-12864fb38286", | |
"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": "0ec1fcaf-5be8-47b6-9878-9557ccba34af", | |
"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": "1526a3a5-90ad-48c3-90d1-2492cac8ae92", | |
"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": "ae491000-7f6d-4ff4-9c21-4be1e1075141", | |
"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": "ae262aa7-c662-4b3c-931d-4d6bf8211cef", | |
"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": "String" | |
} | |
}, | |
{ | |
"id": "322d8d36-1c95-48e5-aa29-deefe0001bfe", | |
"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": "a3183fc1-ea10-4787-8740-eb516f650b9b", | |
"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": "649f3785-1f43-46ab-83cf-923150a15016", | |
"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": "9ce82817-85ec-4459-9275-429fa2ebf9fb", | |
"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": "c3b72e83-410a-4ab2-b595-32eaae51787f", | |
"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": "64b6c11d-d04a-479e-a350-946d4d2eabe4", | |
"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": "e0513f5d-e72d-4ef6-84b7-d98ade0a8e81", | |
"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": "a97c9374-201f-47c2-97e3-7faa90961e68", | |
"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": "f0ea727d-a638-48fc-9a4c-feaee8b185bb", | |
"name": "role_list", | |
"description": "SAML role list", | |
"protocol": "saml", | |
"attributes": { | |
"consent.screen.text": "${samlRoleListScopeConsentText}", | |
"display.on.consent.screen": "true" | |
}, | |
"protocolMappers": [ | |
{ | |
"id": "e404496f-1e2e-4c63-8006-e848b3abba5f", | |
"name": "role list", | |
"protocol": "saml", | |
"protocolMapper": "saml-role-list-mapper", | |
"consentRequired": false, | |
"config": { | |
"single": "false", | |
"attribute.nameformat": "Basic", | |
"attribute.name": "Role" | |
} | |
} | |
] | |
}, | |
{ | |
"id": "a30e8de9-e64f-4022-a58a-43311977ca92", | |
"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": "be780897-9cfe-44f2-9d70-1e250fc0b7a6", | |
"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": "feed4234-db4c-49b3-9870-00c0c9359b61", | |
"name": "audience resolve", | |
"protocol": "openid-connect", | |
"protocolMapper": "oidc-audience-resolve-mapper", | |
"consentRequired": false, | |
"config": {} | |
}, | |
{ | |
"id": "666472a0-1e2a-489d-b3d5-74219dab2a96", | |
"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": "b8231aad-eca7-47f9-8201-9dcfef1f5c03", | |
"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": "2a11d36a-d8bc-4407-a0f2-2e889868d2be", | |
"name": "allowed web origins", | |
"protocol": "openid-connect", | |
"protocolMapper": "oidc-allowed-origins-mapper", | |
"consentRequired": false, | |
"config": {} | |
} | |
] | |
} | |
], | |
"defaultDefaultClientScopes": [ | |
"role_list", | |
"profile", | |
"email", | |
"roles", | |
"web-origins" | |
], | |
"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, | |
"components": { | |
"org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy": [ | |
{ | |
"id": "d760ef5d-d8fe-49d3-9760-1389faf1860d", | |
"name": "Max Clients Limit", | |
"providerId": "max-clients", | |
"subType": "anonymous", | |
"subComponents": {}, | |
"config": { | |
"max-clients": [ | |
"200" | |
] | |
} | |
}, | |
{ | |
"id": "8b251028-9d46-495b-8538-eb0ca8f7af88", | |
"name": "Full Scope Disabled", | |
"providerId": "scope", | |
"subType": "anonymous", | |
"subComponents": {}, | |
"config": {} | |
}, | |
{ | |
"id": "f1d0f513-2228-402e-9e66-2e752c0c8102", | |
"name": "Consent Required", | |
"providerId": "consent-required", | |
"subType": "anonymous", | |
"subComponents": {}, | |
"config": {} | |
}, | |
{ | |
"id": "ae3523e2-5262-434d-bf04-d97562a76978", | |
"name": "Allowed Client Scopes", | |
"providerId": "allowed-client-templates", | |
"subType": "anonymous", | |
"subComponents": {}, | |
"config": { | |
"allow-default-scopes": [ | |
"true" | |
] | |
} | |
}, | |
{ | |
"id": "50460779-a0f5-4366-9b63-1007fac7858e", | |
"name": "Allowed Protocol Mapper Types", | |
"providerId": "allowed-protocol-mappers", | |
"subType": "authenticated", | |
"subComponents": {}, | |
"config": { | |
"allowed-protocol-mapper-types": [ | |
"saml-role-list-mapper", | |
"saml-user-property-mapper", | |
"oidc-full-name-mapper", | |
"oidc-address-mapper", | |
"oidc-usermodel-attribute-mapper", | |
"oidc-usermodel-property-mapper", | |
"oidc-sha256-pairwise-sub-mapper", | |
"saml-user-attribute-mapper" | |
] | |
} | |
}, | |
{ | |
"id": "ab85f206-05b3-49c1-8b27-751a5149bd8a", | |
"name": "Allowed Client Scopes", | |
"providerId": "allowed-client-templates", | |
"subType": "authenticated", | |
"subComponents": {}, | |
"config": { | |
"allow-default-scopes": [ | |
"true" | |
] | |
} | |
}, | |
{ | |
"id": "38fc4858-6eed-4688-a44f-a6d85874b6bc", | |
"name": "Trusted Hosts", | |
"providerId": "trusted-hosts", | |
"subType": "anonymous", | |
"subComponents": {}, | |
"config": { | |
"host-sending-registration-request-must-match": [ | |
"true" | |
], | |
"client-uris-must-match": [ | |
"true" | |
] | |
} | |
}, | |
{ | |
"id": "cd023dd7-9dba-41a4-8a8e-d651cf936bbe", | |
"name": "Allowed Protocol Mapper Types", | |
"providerId": "allowed-protocol-mappers", | |
"subType": "anonymous", | |
"subComponents": {}, | |
"config": { | |
"allowed-protocol-mapper-types": [ | |
"oidc-usermodel-property-mapper", | |
"oidc-address-mapper", | |
"saml-user-attribute-mapper", | |
"saml-user-property-mapper", | |
"oidc-sha256-pairwise-sub-mapper", | |
"saml-role-list-mapper", | |
"oidc-usermodel-attribute-mapper", | |
"oidc-full-name-mapper" | |
] | |
} | |
} | |
], | |
"org.keycloak.keys.KeyProvider": [ | |
{ | |
"id": "2aec9ccb-fa17-4a1f-9ebf-16b8f806c222", | |
"name": "hmac-generated", | |
"providerId": "hmac-generated", | |
"subComponents": {}, | |
"config": { | |
"priority": [ | |
"100" | |
], | |
"algorithm": [ | |
"HS256" | |
] | |
} | |
}, | |
{ | |
"id": "ba8e6e1c-0e8f-4e40-af5c-2163456557c8", | |
"name": "aes-generated", | |
"providerId": "aes-generated", | |
"subComponents": {}, | |
"config": { | |
"priority": [ | |
"100" | |
] | |
} | |
}, | |
{ | |
"id": "67214881-dfe7-4440-95ff-a1d5f06a46c2", | |
"name": "rsa-generated", | |
"providerId": "rsa-generated", | |
"subComponents": {}, | |
"config": { | |
"priority": [ | |
"100" | |
] | |
} | |
} | |
] | |
}, | |
"internationalizationEnabled": false, | |
"supportedLocales": [], | |
"authenticationFlows": [ | |
{ | |
"id": "f7ff9437-1446-4c00-9426-5ed7592b4e99", | |
"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", | |
"requirement": "ALTERNATIVE", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "ALTERNATIVE", | |
"priority": 20, | |
"flowAlias": "Verify Existing Account by Re-authentication", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "41f4e228-5adb-425b-860c-89c349f1b3b7", | |
"alias": "Authentication Options", | |
"description": "Authentication options.", | |
"providerId": "basic-flow", | |
"topLevel": false, | |
"builtIn": true, | |
"authenticationExecutions": [ | |
{ | |
"authenticator": "basic-auth", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "basic-auth-otp", | |
"requirement": "DISABLED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "auth-spnego", | |
"requirement": "DISABLED", | |
"priority": 30, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
}, | |
{ | |
"id": "b0b8e719-9708-4e8b-a8fb-702548a66981", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "auth-otp-form", | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
}, | |
{ | |
"id": "df22f123-a524-41ee-bc29-58b275ff87aa", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "direct-grant-validate-otp", | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
}, | |
{ | |
"id": "06a98de5-f6af-41d7-b9a7-346ca91575f1", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "auth-otp-form", | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
}, | |
{ | |
"id": "3252a615-e0ca-4874-be06-f877385793fb", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"flowAlias": "Account verification options", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "77d11926-0597-417e-8a74-af7580f7fc18", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "reset-otp", | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
}, | |
{ | |
"id": "f260a1d0-9139-4240-9a63-2a4163bac988", | |
"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", | |
"requirement": "ALTERNATIVE", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "ALTERNATIVE", | |
"priority": 20, | |
"flowAlias": "Handle Existing Account", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "1093e739-ea91-4ce3-95dc-6eab51741d77", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "CONDITIONAL", | |
"priority": 20, | |
"flowAlias": "First broker login - Conditional OTP", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "3e479bd6-1699-429d-9b7b-9d239811250c", | |
"alias": "browser", | |
"description": "browser based authentication", | |
"providerId": "basic-flow", | |
"topLevel": true, | |
"builtIn": true, | |
"authenticationExecutions": [ | |
{ | |
"authenticator": "auth-cookie", | |
"requirement": "ALTERNATIVE", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "auth-spnego", | |
"requirement": "DISABLED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "identity-provider-redirector", | |
"requirement": "ALTERNATIVE", | |
"priority": 25, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "ALTERNATIVE", | |
"priority": 30, | |
"flowAlias": "forms", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "5c047352-de30-47ed-a865-b66782a408ee", | |
"alias": "clients", | |
"description": "Base authentication for clients", | |
"providerId": "client-flow", | |
"topLevel": true, | |
"builtIn": true, | |
"authenticationExecutions": [ | |
{ | |
"authenticator": "client-secret", | |
"requirement": "ALTERNATIVE", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "client-jwt", | |
"requirement": "ALTERNATIVE", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "client-secret-jwt", | |
"requirement": "ALTERNATIVE", | |
"priority": 30, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "client-x509", | |
"requirement": "ALTERNATIVE", | |
"priority": 40, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
}, | |
{ | |
"id": "e7cbbd63-c8fb-4c14-a860-87949ffb48ca", | |
"alias": "direct grant", | |
"description": "OpenID Connect Resource Owner Grant", | |
"providerId": "basic-flow", | |
"topLevel": true, | |
"builtIn": true, | |
"authenticationExecutions": [ | |
{ | |
"authenticator": "direct-grant-validate-username", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "direct-grant-validate-password", | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "CONDITIONAL", | |
"priority": 30, | |
"flowAlias": "Direct Grant - Conditional OTP", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "0de9af93-876b-4dea-9cf7-c3cdac14be9e", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
}, | |
{ | |
"id": "9748e461-0fe0-4d99-8b36-e0f514ff5b4a", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"flowAlias": "User creation or linking", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "c12b9e05-0c3a-4a7f-8fd9-79baf157cf0f", | |
"alias": "forms", | |
"description": "Username, password, otp and other auth forms.", | |
"providerId": "basic-flow", | |
"topLevel": false, | |
"builtIn": true, | |
"authenticationExecutions": [ | |
{ | |
"authenticator": "auth-username-password-form", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "CONDITIONAL", | |
"priority": 20, | |
"flowAlias": "Browser - Conditional OTP", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "6740e9a7-4e2b-4613-b7dc-fd5be8ad883e", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"flowAlias": "Authentication Options", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "69c0239b-1c51-44d1-9f9c-f1f69fe8d0c2", | |
"alias": "registration", | |
"description": "registration flow", | |
"providerId": "basic-flow", | |
"topLevel": true, | |
"builtIn": true, | |
"authenticationExecutions": [ | |
{ | |
"authenticator": "registration-page-form", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"flowAlias": "registration form", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "590470c7-ffc6-4cce-9555-5a0bc495071c", | |
"alias": "registration form", | |
"description": "registration form", | |
"providerId": "form-flow", | |
"topLevel": false, | |
"builtIn": true, | |
"authenticationExecutions": [ | |
{ | |
"authenticator": "registration-user-creation", | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "registration-profile-action", | |
"requirement": "REQUIRED", | |
"priority": 40, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "registration-password-action", | |
"requirement": "REQUIRED", | |
"priority": 50, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "registration-recaptcha-action", | |
"requirement": "DISABLED", | |
"priority": 60, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
}, | |
{ | |
"id": "8416aedf-f2f9-4f6b-8021-8b0c0c3c75e7", | |
"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", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "reset-credential-email", | |
"requirement": "REQUIRED", | |
"priority": 20, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"authenticator": "reset-password", | |
"requirement": "REQUIRED", | |
"priority": 30, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
}, | |
{ | |
"requirement": "CONDITIONAL", | |
"priority": 40, | |
"flowAlias": "Reset - Conditional OTP", | |
"userSetupAllowed": false, | |
"autheticatorFlow": true | |
} | |
] | |
}, | |
{ | |
"id": "7d105dca-2018-4c17-9bde-149ac82b888a", | |
"alias": "saml ecp", | |
"description": "SAML ECP Profile Authentication Flow", | |
"providerId": "basic-flow", | |
"topLevel": true, | |
"builtIn": true, | |
"authenticationExecutions": [ | |
{ | |
"authenticator": "http-basic-authenticator", | |
"requirement": "REQUIRED", | |
"priority": 10, | |
"userSetupAllowed": false, | |
"autheticatorFlow": false | |
} | |
] | |
} | |
], | |
"authenticatorConfig": [ | |
{ | |
"id": "b1dde61d-e14d-4faa-a442-270928b7cb51", | |
"alias": "create unique user config", | |
"config": { | |
"require.password.update.after.registration": "false" | |
} | |
}, | |
{ | |
"id": "c80bf6b4-1316-43ba-9f12-3cdc189bfcb3", | |
"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": "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": {}, | |
"keycloakVersion": "11.0.2", | |
"userManagedAccessAllowed": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment