UNPKG

@nebulae/backend-node-tools

Version:

Tools collection for NebulaE Microservices Node Backends

1,558 lines (1,557 loc) 53.7 kB
{ "id": "supervan", "realm": "DEV_SUPERVAN", "notBefore": 0, "revokeRefreshToken": false, "refreshTokenMaxReuse": 1, "accessTokenLifespan": 1200, "accessTokenLifespanForImplicitFlow": 600, "ssoSessionIdleTimeout": 1200, "ssoSessionMaxLifespan": 36000, "offlineSessionIdleTimeout": 2592000, "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": "363ed03d-77f5-411c-8218-e859d6938d18", "name": "offline_access", "description": "${role_offline-access}", "scopeParamRequired": true, "composite": false, "clientRole": false, "containerId": "SUPERVAN" }, { "id": "d9766548-de1a-4f9b-9201-834f66478e8e", "name": "uma_authorization", "description": "${role_uma_authorization}", "scopeParamRequired": false, "composite": false, "clientRole": false, "containerId": "SUPERVAN" }, { "id": "c2b57919-f219-4f83-8ac5-a4a025480bda", "name": "developer", "description": "Role used in developmet eviroment to show some aditional features.", "scopeParamRequired": false, "composite": false, "clientRole": false, "containerId": "SUPERVAN" }, { "id": "bdc61a8e-92bb-4a55-8144-970e48c8c7e2", "name": "operator", "scopeParamRequired": false, "composite": false, "clientRole": false, "containerId": "SUPERVAN" } ], "client": { "emi": [], "realm-management": [ { "id": "0e2b2eaf-79f7-4aa1-8e1f-31700c72904d", "name": "view-identity-providers", "description": "${role_view-identity-providers}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "efe3c6fe-e1e8-489b-b317-aae73f7b41c2", "name": "query-users", "description": "${role_query-users}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "6c3f767f-ec47-41d9-a78d-913ccaed9e1e", "name": "query-clients", "description": "${role_query-clients}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "485894a5-ca93-490a-aac2-280f0e37644e", "name": "manage-users", "description": "${role_manage-users}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "67b412c0-a62a-40f9-8cfd-1f9907b08c41", "name": "query-groups", "description": "${role_query-groups}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "7dfe8863-80cb-4f7f-8a34-3e7770249559", "name": "view-users", "description": "${role_view-users}", "scopeParamRequired": false, "composite": true, "composites": { "client": { "realm-management": [ "query-users", "query-groups" ] } }, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "d39bb59a-b8f6-4020-a22b-feea85f8e7a6", "name": "manage-identity-providers", "description": "${role_manage-identity-providers}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "b1191ffc-521f-45f5-8439-979f2e9cb184", "name": "realm-admin", "description": "${role_realm-admin}", "scopeParamRequired": false, "composite": true, "composites": { "client": { "realm-management": [ "view-identity-providers", "query-users", "query-clients", "manage-users", "query-groups", "view-users", "manage-identity-providers", "manage-events", "manage-realm", "view-clients", "query-realms", "manage-clients", "create-client", "view-authorization", "view-realm", "impersonation", "view-events", "manage-authorization" ] } }, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "482408a3-373f-4f08-a10a-5eb35705b619", "name": "manage-events", "description": "${role_manage-events}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "93925bb7-0755-4d16-aaf7-6acdd8a88fdd", "name": "manage-realm", "description": "${role_manage-realm}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "0c54fe36-e4d5-42e1-bd48-83366a964a88", "name": "view-clients", "description": "${role_view-clients}", "scopeParamRequired": false, "composite": true, "composites": { "client": { "realm-management": [ "query-clients" ] } }, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "490ad120-f5ab-49fa-a051-f748c7992718", "name": "query-realms", "description": "${role_query-realms}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "b8ba3177-7f8e-43a6-96b1-8dea049bad97", "name": "manage-clients", "description": "${role_manage-clients}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "264b225e-2de3-4282-8a04-56d5ef295659", "name": "create-client", "description": "${role_create-client}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "643a611d-500a-4e7b-b647-f0238bf52a33", "name": "view-authorization", "description": "${role_view-authorization}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "b84a06ef-29e0-4f34-a4e3-f86bfaa53375", "name": "view-realm", "description": "${role_view-realm}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "3883011e-2623-4606-a46d-db533ac85cf7", "name": "impersonation", "description": "${role_impersonation}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "c923d38d-9957-4484-97a1-a6bf53c896b2", "name": "view-events", "description": "${role_view-events}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" }, { "id": "b2d4fd0a-f800-4f0e-8992-16cf774917e1", "name": "manage-authorization", "description": "${role_manage-authorization}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "43b1a1b8-ab90-4b65-8781-1c752bee0f04" } ], "security-admin-console": [], "admin-cli": [], "broker": [ { "id": "b0390248-f2c0-4744-be52-74a915cb3a39", "name": "read-token", "description": "${role_read-token}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "81630743-297b-43ba-b3cf-0c99c2686221" } ], "account": [ { "id": "b259ab39-b714-4936-99f1-06ce43b6454e", "name": "manage-account-links", "description": "${role_manage-account-links}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "32558e71-effc-4c22-a98c-b6265b5e6e60" }, { "id": "6148dfc5-27fc-44b0-bb52-282c9b161a65", "name": "manage-account", "description": "${role_manage-account}", "scopeParamRequired": false, "composite": true, "composites": { "client": { "account": [ "manage-account-links" ] } }, "clientRole": true, "containerId": "32558e71-effc-4c22-a98c-b6265b5e6e60" }, { "id": "b8732c2d-9d75-4a3d-9e14-a458ddd1932e", "name": "view-profile", "description": "${role_view-profile}", "scopeParamRequired": false, "composite": false, "clientRole": true, "containerId": "32558e71-effc-4c22-a98c-b6265b5e6e60" } ] } }, "groups": [], "defaultRoles": [ "offline_access", "uma_authorization" ], "requiredCredentials": [ "password" ], "otpPolicyType": "totp", "otpPolicyAlgorithm": "HmacSHA1", "otpPolicyInitialCounter": 0, "otpPolicyDigits": 6, "otpPolicyLookAheadWindow": 1, "otpPolicyPeriod": 30, "otpSupportedApplications": [ "FreeOTP", "Google Authenticator" ], "clients": [ { "id": "32558e71-effc-4c22-a98c-b6265b5e6e60", "clientId": "account", "name": "${client_account}", "baseUrl": "/auth/realms/DEV_SUPERVAN/account", "surrogateAuthRequired": false, "enabled": true, "clientAuthenticatorType": "client-secret", "secret": "**********", "defaultRoles": [ "manage-account", "view-profile" ], "redirectUris": [ "/auth/realms/DEV_SUPERVAN/account/*" ], "webOrigins": [], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "serviceAccountsEnabled": false, "publicClient": false, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "94a6bc7b-f161-4688-8500-df68f92fb203", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } }, { "id": "ea1472bb-7480-4a72-a497-f0abdf035dea", "name": "username", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${username}", "config": { "userinfo.token.claim": "true", "user.attribute": "username", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "preferred_username", "jsonType.label": "String" } }, { "id": "f03523d1-f630-4419-b1aa-413e176c11cd", "name": "family name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${familyName}", "config": { "userinfo.token.claim": "true", "user.attribute": "lastName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "family_name", "jsonType.label": "String" } }, { "id": "be03349f-5ff8-46b9-bceb-0a163ba52a2d", "name": "given name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${givenName}", "config": { "userinfo.token.claim": "true", "user.attribute": "firstName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "given_name", "jsonType.label": "String" } }, { "id": "f63ac9e7-f9df-465c-90c9-9a28b90d47bc", "name": "full name", "protocol": "openid-connect", "protocolMapper": "oidc-full-name-mapper", "consentRequired": true, "consentText": "${fullName}", "config": { "id.token.claim": "true", "access.token.claim": "true" } }, { "id": "e967dca7-a772-4b01-a0e2-6f892e46fded", "name": "email", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${email}", "config": { "userinfo.token.claim": "true", "user.attribute": "email", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "email", "jsonType.label": "String" } } ], "useTemplateConfig": false, "useTemplateScope": false, "useTemplateMappers": false }, { "id": "85b6af29-c3cd-4613-9f80-3f91a5906394", "clientId": "security-admin-console", "name": "${client_security-admin-console}", "baseUrl": "/auth/admin/DEV_supervan/console/index.html", "surrogateAuthRequired": false, "enabled": true, "clientAuthenticatorType": "client-secret", "secret": "**********", "redirectUris": [ "/auth/admin/DEV_supervan/console/*" ], "webOrigins": [], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": false, "serviceAccountsEnabled": false, "publicClient": true, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "c58b6a50-d8aa-416e-b85e-9c265b794b62", "name": "email", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${email}", "config": { "userinfo.token.claim": "true", "user.attribute": "email", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "email", "jsonType.label": "String" } }, { "id": "a7b0b988-0a4b-4b28-a724-fda9cbc3badf", "name": "full name", "protocol": "openid-connect", "protocolMapper": "oidc-full-name-mapper", "consentRequired": true, "consentText": "${fullName}", "config": { "id.token.claim": "true", "access.token.claim": "true" } }, { "id": "f5402166-6320-46a6-a98b-d6883aa16601", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } }, { "id": "5d18831e-a810-4bc8-bf5d-072da17bd0a0", "name": "locale", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "consentText": "${locale}", "config": { "userinfo.token.claim": "true", "user.attribute": "locale", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "locale", "jsonType.label": "String" } }, { "id": "c333a05a-7ded-4cd0-9152-f8638e6ada2c", "name": "username", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${username}", "config": { "userinfo.token.claim": "true", "user.attribute": "username", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "preferred_username", "jsonType.label": "String" } }, { "id": "249de237-2026-4cb1-8aef-85c6159c75ee", "name": "family name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${familyName}", "config": { "userinfo.token.claim": "true", "user.attribute": "lastName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "family_name", "jsonType.label": "String" } }, { "id": "e5f75361-3295-40da-8745-c5e7f7fa4e88", "name": "given name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${givenName}", "config": { "userinfo.token.claim": "true", "user.attribute": "firstName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "given_name", "jsonType.label": "String" } } ], "useTemplateConfig": false, "useTemplateScope": false, "useTemplateMappers": false }, { "id": "f212d9e5-5d80-48d9-9528-f78323e234f2", "clientId": "admin-cli", "name": "${client_admin-cli}", "surrogateAuthRequired": false, "enabled": true, "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": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "360a77ab-88dd-4067-ac39-71698ffda880", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } }, { "id": "ba83fbb0-6fd3-4ab9-a802-353b26ecc4b4", "name": "email", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${email}", "config": { "userinfo.token.claim": "true", "user.attribute": "email", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "email", "jsonType.label": "String" } }, { "id": "50a4d86f-10bc-43b2-aec5-4a40d8ffc1e8", "name": "username", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${username}", "config": { "userinfo.token.claim": "true", "user.attribute": "username", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "preferred_username", "jsonType.label": "String" } }, { "id": "40295c4a-6d60-42bb-a356-cc26edd28d46", "name": "full name", "protocol": "openid-connect", "protocolMapper": "oidc-full-name-mapper", "consentRequired": true, "consentText": "${fullName}", "config": { "id.token.claim": "true", "access.token.claim": "true" } }, { "id": "bc439649-c8d5-496c-9dcf-0b57cc407dbb", "name": "family name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${familyName}", "config": { "userinfo.token.claim": "true", "user.attribute": "lastName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "family_name", "jsonType.label": "String" } }, { "id": "ecb79ea5-4826-402a-83de-88d985dc9a2e", "name": "given name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${givenName}", "config": { "userinfo.token.claim": "true", "user.attribute": "firstName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "given_name", "jsonType.label": "String" } } ], "useTemplateConfig": false, "useTemplateScope": false, "useTemplateMappers": false }, { "id": "43b1a1b8-ab90-4b65-8781-1c752bee0f04", "clientId": "realm-management", "name": "${client_realm-management}", "surrogateAuthRequired": false, "enabled": true, "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": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "2cd913cd-0efc-4671-a1b8-544c73bfba2b", "name": "given name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${givenName}", "config": { "userinfo.token.claim": "true", "user.attribute": "firstName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "given_name", "jsonType.label": "String" } }, { "id": "796157cd-8762-45c5-be99-7f90a7609a98", "name": "username", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${username}", "config": { "userinfo.token.claim": "true", "user.attribute": "username", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "preferred_username", "jsonType.label": "String" } }, { "id": "2a3cd78a-e96b-4c68-a57c-6f301f441326", "name": "full name", "protocol": "openid-connect", "protocolMapper": "oidc-full-name-mapper", "consentRequired": true, "consentText": "${fullName}", "config": { "id.token.claim": "true", "access.token.claim": "true" } }, { "id": "895a1100-4b3a-4002-9828-bb85eaf496fc", "name": "email", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${email}", "config": { "userinfo.token.claim": "true", "user.attribute": "email", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "email", "jsonType.label": "String" } }, { "id": "90bb584c-1dce-4fd2-8913-2d1a027d4196", "name": "family name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${familyName}", "config": { "userinfo.token.claim": "true", "user.attribute": "lastName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "family_name", "jsonType.label": "String" } }, { "id": "9fa80023-6ddd-436b-b56e-0dac709e3520", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } } ], "useTemplateConfig": false, "useTemplateScope": false, "useTemplateMappers": false }, { "id": "7ef6f79b-fcfb-4ac4-a969-24b98ac0c1f8", "clientId": "emi", "rootUrl": "http://localhost:4200", "adminUrl": "http://localhost:4200", "surrogateAuthRequired": false, "enabled": true, "clientAuthenticatorType": "client-secret", "secret": "**********", "redirectUris": [ "http://localhost:4200/*" ], "webOrigins": [ "*" ], "notBefore": 0, "bearerOnly": false, "consentRequired": false, "standardFlowEnabled": true, "implicitFlowEnabled": false, "directAccessGrantsEnabled": true, "serviceAccountsEnabled": false, "publicClient": true, "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { "saml.assertion.signature": "false", "saml.force.post.binding": "false", "saml.multivalued.roles": "false", "saml.encrypt": "false", "saml_force_name_id_format": "false", "saml.client.signature": "false", "saml.authnstatement": "false", "saml.server.signature": "false", "saml.server.signature.keyinfo.ext": "false", "saml.onetimeuse.condition": "false" }, "fullScopeAllowed": true, "nodeReRegistrationTimeout": -1, "protocolMappers": [ { "id": "80653042-a19a-44f9-a3be-926e4883e93b", "name": "email", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${email}", "config": { "userinfo.token.claim": "true", "user.attribute": "email", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "email", "jsonType.label": "String" } }, { "id": "08a7ab3c-b2dc-499a-b1b8-34623fb26aae", "name": "username", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${username}", "config": { "userinfo.token.claim": "true", "user.attribute": "username", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "preferred_username", "jsonType.label": "String" } }, { "id": "2598fc62-faa2-4f6f-88d8-2983f5f8c9e2", "name": "family name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${familyName}", "config": { "userinfo.token.claim": "true", "user.attribute": "lastName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "family_name", "jsonType.label": "String" } }, { "id": "0f127d52-f217-490d-b99e-5e991bf23fa8", "name": "full name", "protocol": "openid-connect", "protocolMapper": "oidc-full-name-mapper", "consentRequired": true, "consentText": "${fullName}", "config": { "id.token.claim": "true", "access.token.claim": "true" } }, { "id": "aa31693f-2f6c-4c20-82d4-90362ebd0258", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } }, { "id": "fc4fc82f-aeea-47d3-a2f2-4671bb45128a", "name": "given name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${givenName}", "config": { "userinfo.token.claim": "true", "user.attribute": "firstName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "given_name", "jsonType.label": "String" } } ], "useTemplateConfig": false, "useTemplateScope": false, "useTemplateMappers": false }, { "id": "81630743-297b-43ba-b3cf-0c99c2686221", "clientId": "broker", "name": "${client_broker}", "surrogateAuthRequired": false, "enabled": true, "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": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { "id": "5e4a5e18-84b6-43cb-9fd7-8589a7e7dc22", "name": "full name", "protocol": "openid-connect", "protocolMapper": "oidc-full-name-mapper", "consentRequired": true, "consentText": "${fullName}", "config": { "id.token.claim": "true", "access.token.claim": "true" } }, { "id": "56441648-4138-4ea7-b87d-b2c5d2ec35ec", "name": "family name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${familyName}", "config": { "userinfo.token.claim": "true", "user.attribute": "lastName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "family_name", "jsonType.label": "String" } }, { "id": "06dd900e-dc1a-417e-b244-154bbcab2883", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", "consentRequired": false, "config": { "single": "false", "attribute.nameformat": "Basic", "attribute.name": "Role" } }, { "id": "56ca55ea-e87e-4cd9-9a1f-4e2ef012a87a", "name": "given name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${givenName}", "config": { "userinfo.token.claim": "true", "user.attribute": "firstName", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "given_name", "jsonType.label": "String" } }, { "id": "0e8772e7-d32c-49cf-af17-bcb307f9ed65", "name": "email", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${email}", "config": { "userinfo.token.claim": "true", "user.attribute": "email", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "email", "jsonType.label": "String" } }, { "id": "a7f2cecd-455d-4690-b041-d23121ece357", "name": "username", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": true, "consentText": "${username}", "config": { "userinfo.token.claim": "true", "user.attribute": "username", "id.token.claim": "true", "access.token.claim": "true", "claim.name": "preferred_username", "jsonType.label": "String" } } ], "useTemplateConfig": false, "useTemplateScope": false, "useTemplateMappers": false } ], "clientTemplates": [], "browserSecurityHeaders": { "xContentTypeOptions": "nosniff", "xRobotsTag": "none", "xFrameOptions": "SAMEORIGIN", "xXSSProtection": "1; mode=block", "contentSecurityPolicy": "frame-src 'self'; frame-ancestors 'self'; object-src 'none';", "strictTransportSecurity": "max-age=31536000; includeSubDomains" }, "smtpServer": {}, "eventsEnabled": false, "eventsListeners": [ "jboss-logging" ], "enabledEventTypes": [], "adminEventsEnabled": false, "adminEventsDetailsEnabled": false, "components": { "org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy": [ { "id": "46bb85b4-9e67-4bfb-a04f-affe81f42308", "name": "Trusted Hosts", "providerId": "trusted-hosts", "subType": "anonymous", "subComponents": {}, "config": { "host-sending-registration-request-must-match": [ "true" ], "client-uris-must-match": [ "true" ] } }, { "id": "6ddf1877-83d8-4d53-9c58-58e54a070ec5", "name": "Allowed Client Templates", "providerId": "allowed-client-templates", "subType": "anonymous", "subComponents": {}, "config": {} }, { "id": "7ec44d98-428a-4281-a5b8-203abb875a0b", "name": "Max Clients Limit", "providerId": "max-clients", "subType": "anonymous", "subComponents": {}, "config": { "max-clients": [ "200" ] } }, { "id": "ad99a2e2-d20a-461f-a90a-dcce48e1a075", "name": "Allowed Client Templates", "providerId": "allowed-client-templates", "subType": "authenticated", "subComponents": {}, "config": {} }, { "id": "477c62c4-a0e3-41e9-b129-e4ce94f469aa", "name": "Allowed Protocol Mapper Types", "providerId": "allowed-protocol-mappers", "subType": "authenticated", "subComponents": {}, "config": { "allowed-protocol-mapper-types": [ "saml-user-attribute-mapper", "oidc-usermodel-property-mapper", "oidc-usermodel-attribute-mapper", "oidc-sha256-pairwise-sub-mapper", "saml-user-property-mapper", "oidc-address-mapper", "saml-role-list-mapper", "oidc-full-name-mapper" ], "consent-required-for-all-mappers": [ "true" ] } }, { "id": "102ed92f-fa41-4bdc-8ca1-d9d8fcaae9c1", "name": "Full Scope Disabled", "providerId": "scope", "subType": "anonymous", "subComponents": {}, "config": {} }, { "id": "18c0a44a-a0e2-424f-95c1-8e0286d41bd6", "name": "Allowed Protocol Mapper Types", "providerId": "allowed-protocol-mappers", "subType": "anonymous", "subComponents": {}, "config": { "allowed-protocol-mapper-types": [ "oidc-usermodel-property-mapper", "oidc-address-mapper", "oidc-usermodel-attribute-mapper", "saml-user-attribute-mapper", "saml-role-list-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-full-name-mapper", "saml-user-property-mapper" ], "consent-required-for-all-mappers": [ "true" ] } }, { "id": "5b526c13-3d8c-416b-abf1-035b53d3f3f3", "name": "Consent Required", "providerId": "consent-required", "subType": "anonymous", "subComponents": {}, "config": {} } ], "org.keycloak.keys.KeyProvider": [ { "id": "507c2ba1-8b1b-4ded-ae6b-b2ad633a2387", "name": "aes-generated", "providerId": "aes-generated", "subComponents": {}, "config": { "priority": [ "100" ] } }, { "id": "e08c6e93-09b0-479a-8039-074258eeb68b", "name": "hmac-generated", "providerId": "hmac-generated", "subComponents": {}, "config": { "priority": [ "100" ] } }, { "id": "cedd7064-acc5-487e-8ab0-535044927dfc", "name": "rsa-generated", "providerId": "rsa-generated", "subComponents": {}, "config": { "priority": [ "100" ] } } ] }, "internationalizationEnabled": true, "supportedLocales": [ "ja", "en", "es" ], "defaultLocale": "en", "authenticationFlows": [ { "id": "677c34be-0e70-45ce-b493-e48cbd7db0c4", "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 }, { "authenticator": "idp-email-verification", "requirement": "ALTERNATIVE", "priority": 20, "userSetupAllowed": false, "autheticatorFlow": false }, { "requirement": "ALTERNATIVE", "priority": 30, "flowAlias": "Verify Existing Account by Re-authentication", "userSetupAllowed": false, "autheticatorFlow": true } ] }, { "id": "1eaab143-5afa-4407-8c12-1efe1dcaa3a7", "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 }, { "authenticator": "auth-otp-form", "requirement": "OPTIONAL", "priority": 20, "userSetupAllowed": false, "autheticatorFlow": false } ] }, { "id": "8002ee01-47b2-4e68-b32b-3ff1f5bf6b8a", "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": "35df7f7f-70ef-46c4-acda-709b9c266708", "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 } ] }, { "id": "57857765-79b4-404b-b1c5-eea4bf60a50c", "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 }, { "authenticator": "direct-grant-validate-otp", "requirement": "OPTIONAL", "priority": 30, "userSetupAllowed": false, "autheticatorFlow": false } ] }, { "id": "1c56ba52-305b-4646-8390-44234bfd8b49", "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": "2606f08a-f03a-4a8a-ba0d-63514ab909b1", "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 }, { "authenticatorConfig": "create unique user config", "authenticator": "idp-create-user-if-unique", "requirement": "ALTERNATIVE", "priority": 20, "userSetupAllowed": false, "autheticatorFlow": false }, { "requirement": "ALTERNATIVE", "priority": 30, "flowAlias": "Handle Existing Account", "userSetupAllowed": false, "autheticatorFlow": true } ] }, { "id": "2c85bee4-20c9-4540-af02-ca2538b618e0", "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 }, { "authenticator": "auth-otp-form", "requirement": "OPTIONAL", "priority": 20, "userSetupAllowed": false, "autheticatorFlow": false } ] }, { "id": "534b4890-06e1-412e-b941-eda22fecddcb", "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": "e9eedee3-6bc6-4b06-99f4-4283be071a58", "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": "fc8b8d0d-ff15-4d5c-a57a-b05244e2d2da", "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",