From 49b4876e35241e6c27e2fe11a12d45df58178ebe Mon Sep 17 00:00:00 2001 From: afornerot Date: Sun, 28 Jul 2024 17:46:07 +0200 Subject: [PATCH] svg --- .../dockercompose/dockercompose.yml | 4 +- .../40-keycloak/volume/nine/server.crt.pem | 21 - .../40-keycloak/volume/nine/server.key.pem | 28 - .../volume/{nine => realm}/realm-export.json | 2074 +++++++++-------- 4 files changed, 1050 insertions(+), 1077 deletions(-) delete mode 100644 services/40-keycloak/volume/nine/server.crt.pem delete mode 100644 services/40-keycloak/volume/nine/server.key.pem rename services/40-keycloak/volume/{nine => realm}/realm-export.json (77%) diff --git a/services/40-keycloak/dockercompose/dockercompose.yml b/services/40-keycloak/dockercompose/dockercompose.yml index fe1e09e..ae554d1 100644 --- a/services/40-keycloak/dockercompose/dockercompose.yml +++ b/services/40-keycloak/dockercompose/dockercompose.yml @@ -13,9 +13,9 @@ - 8999:8999 - 8443:8443 volumes: - - ./services/40-keycloak/volume/nine:/nine + - ./services/40-keycloak/volume/realm:/opt/keycloak/data/import command: - - start-dev + - start - --import-realm - --proxy-headers - xforwarded diff --git a/services/40-keycloak/volume/nine/server.crt.pem b/services/40-keycloak/volume/nine/server.crt.pem deleted file mode 100644 index 0b1743e..0000000 --- a/services/40-keycloak/volume/nine/server.crt.pem +++ /dev/null @@ -1,21 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDbTCCAlWgAwIBAgIUdsa5zX+n2WvMe/ke0WnjLDmwh1YwDQYJKoZIhvcNAQEL -BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM -GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAgFw0yMzEwMzAxOTQzMzlaGA8yMTIz -MTAwNjE5NDMzOVowRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUx -ITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDCCASIwDQYJKoZIhvcN -AQEBBQADggEPADCCAQoCggEBAMfsg3/PMBKOYQUkpx93r21JRJC2nsBnSFUcNmZr -LIXHBcdwy/NJyk/hQt6/RPbZ8+6caIM0pEf5miaYmtnqXv35ktG63UgpIq3uz6cx -7ymLE9BDqJ+nqw0JDgE5gQjhzMwDvDJinFfoPomj6Z+zW1MlCfUg/lwPKnfGm1Qa -qTh882EPirCWQI5OUwXDecvUMNaCb0I7ROBJo3VB3/1pJAlRXgwvu4ALtb+4b+kF -HP7kBCts/FiUocrZfM2c6ghHDCr98UBMxIrI9tZMTRuQI3u0Wh+98JFf40tDUxd5 -uRcykgnHXZKTbkNH8BXXr3QZpWqe3pJvABg07OETWjiD318CAwEAAaNTMFEwHQYD -VR0OBBYEFP75y7FWY7Z71/MBWJJMw3Vj3SetMB8GA1UdIwQYMBaAFP75y7FWY7Z7 -1/MBWJJMw3Vj3SetMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEB -AAZHrzEMcjMAvfZvNsbNVUmOS860iq8uH1hRhykukNxmN1VdvP8jTgl1iHidJ3RX -DYnqr9JM1Zqzin3tjsDBriaKLc/NGLtjqUiTV77C6mUrHOVOr93qT9Sd38HPPlED -CC4356Vvl555vHUcOMRA4YnV+pZRT7m8Ac4pzRir9GuWR4sVyxehe9VM44v/sVLe -i9yzcPrP+zhLbjXCM1cI+A9u5TQYFFp8XTdOXP2duXiuEJWb5tgWKaPatUL91bpE -66Vuc+OogescrIjQTkFFSS3waqVxRqjI4EzUpib5YzFYKVCinPtvDsP9iHA9Focv -qItOHHxZ48HM+tyYo7Ule1A= ------END CERTIFICATE----- diff --git a/services/40-keycloak/volume/nine/server.key.pem b/services/40-keycloak/volume/nine/server.key.pem deleted file mode 100644 index 60bce3b..0000000 --- a/services/40-keycloak/volume/nine/server.key.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDH7IN/zzASjmEF -JKcfd69tSUSQtp7AZ0hVHDZmayyFxwXHcMvzScpP4ULev0T22fPunGiDNKRH+Zom -mJrZ6l79+ZLRut1IKSKt7s+nMe8pixPQQ6ifp6sNCQ4BOYEI4czMA7wyYpxX6D6J -o+mfs1tTJQn1IP5cDyp3xptUGqk4fPNhD4qwlkCOTlMFw3nL1DDWgm9CO0TgSaN1 -Qd/9aSQJUV4ML7uAC7W/uG/pBRz+5AQrbPxYlKHK2XzNnOoIRwwq/fFATMSKyPbW -TE0bkCN7tFofvfCRX+NLQ1MXebkXMpIJx12Sk25DR/AV1690GaVqnt6SbwAYNOzh -E1o4g99fAgMBAAECggEAH4eLEZFmXnbP5uoUj/Tl2LwbsSBBQczIGTbIKYzbdQRM -mAXk/wBzL00yU5jMp+BQWnWWUfhFCbOGqRxGHPnxHegfTIObjwbVw6KMYyzlL/hm -w+Cia6jGDtnlDd0OHuLQKUNUNIoIEsu7bnpIR6Rspwc0s9EOlwwulryJa1EtFjhE -I1Blzx2gcqcoVY1g4f6TJ2oH5beAQCyFW4O4xaK9AEukNxBVOaTKfc30KYaxwqvJ -L424PllpWa31cw62yW1weomEmjmuGGwKV5UKchBOwRz26ZdhkUCLMJchtqfSEGmW -cSde8xvf9/G9WB1iFXkdWPInIv622kwPa7agPtsHiQKBgQD5aLU1OqnHVInjDDlw -v4ejgdYtsn9tSld6uIkCwCesk8BjAI2y7nfhQ3KtF5YMFomrggA24T0aHcx9Eg0J -sb+eIl9uhuSZ+DSKeApGYyhwJYsKt7bE0875sh8RdBXwfexrBH/ofqdM4OjXfFUM -H5idobKNfdvje4j6cpV5XhUYQwKBgQDNNQfq2iSo1ypA0HSInzLSc7Hx9iAjpl+I -SQrkBnixbvZDaPsA3b+vAQmmABW+TbWBr80PaDErva3q2BVIqwisuTxj9877J5nP -7Cwpw+ubKQX/bmk5z1Sl1hS4Dc6miT/GI/jY9Swha/jvWvOaSOyFtxXozyTJthHk -rrDWLJ/otQKBgHA0dzGXTsJqeg43dbAPusoIo36zizhz9Z80Xg9qu26cmjTwDs+t -ESm62mCc99hAW3dZaRdHheG1/kVWVZ9C5F4UQLLM5ROP4rNZBeZcvdiWS1NrC0LJ -t5gGVovXmfcz76TFxXWnZUTk+lvXh7uIi3R/RoD5Wm+hKCLkYfLULNFZAoGBAL8b -hjYX1lBPohAekoiyCnioOq5mU2QgC5Q2wie+RySnfD0nRat22I843i10ostKP6F5 -gfW5SSG9Un0FpDy63CdPk4hePqr0JHDZN//lcEReHjHWN7UY+3I+P6lxYmUCKRx0 -X8pd+i1eCsWO5JNpGq0k5wib8VzRbTSV5CZyBLKJAoGBAJOzVV4JMFiwKhB1S7rQ -CfvZ9mVcw1dXNxkmka51ifzDY4m8LKQk6YQj0GepbtM0qXOcuuB6m6ArU2sj2ZRp -OMstL3ZtZJJavHZrwmonrVpBk1M962b0VKaLQRsJwnzHk88tPMclmo/qC22fHO9z -LRRHIzyAw96gP0rUr/Jh+p0H ------END PRIVATE KEY----- diff --git a/services/40-keycloak/volume/nine/realm-export.json b/services/40-keycloak/volume/realm/realm-export.json similarity index 77% rename from services/40-keycloak/volume/nine/realm-export.json rename to services/40-keycloak/volume/realm/realm-export.json index 4fef59f..e5d2057 100644 --- a/services/40-keycloak/volume/nine/realm-export.json +++ b/services/40-keycloak/volume/realm/realm-export.json @@ -1,13 +1,11 @@ { - "id": "nine", + "id": "2407b355-daf8-46ca-bc9d-01d3a1295c2a", "realm": "nine", - "displayName": "Keycloak", - "displayNameHtml": "
Nine
", "notBefore": 0, "defaultSignatureAlgorithm": "RS256", "revokeRefreshToken": false, "refreshTokenMaxReuse": 0, - "accessTokenLifespan": 60, + "accessTokenLifespan": 300, "accessTokenLifespanForImplicitFlow": 900, "ssoSessionIdleTimeout": 1800, "ssoSessionMaxLifespan": 36000, @@ -26,7 +24,7 @@ "actionTokenGeneratedByAdminLifespan": 43200, "actionTokenGeneratedByUserLifespan": 300, "oauth2DeviceCodeLifespan": 600, - "oauth2DevicePollingInterval": 600, + "oauth2DevicePollingInterval": 5, "enabled": true, "sslRequired": "external", "registrationAllowed": false, @@ -39,6 +37,7 @@ "editUsernameAllowed": false, "bruteForceProtected": false, "permanentLockout": false, + "maxTemporaryLockouts": 0, "maxFailureWaitSeconds": 900, "minimumQuickLoginWaitSeconds": 60, "waitIncrementSeconds": 60, @@ -46,12 +45,12 @@ "maxDeltaTimeSeconds": 43200, "failureFactor": 30, "defaultRole": { - "id": "778a9da1-89ea-4523-9537-0dc533265465", - "name": "default-roles-master", + "id": "6cb908f8-9537-432f-bc7c-fe6c7442b2a9", + "name": "default-roles-nine", "description": "${role_default-roles}", "composite": true, "clientRole": false, - "containerId": "nine" + "containerId": "2407b355-daf8-46ca-bc9d-01d3a1295c2a" }, "requiredCredentials": [ "password" @@ -62,10 +61,13 @@ "otpPolicyDigits": 6, "otpPolicyLookAheadWindow": 1, "otpPolicyPeriod": 30, + "otpPolicyCodeReusable": false, "otpSupportedApplications": [ - "FreeOTP", - "Google Authenticator" + "totpAppFreeOTPName", + "totpAppGoogleName", + "totpAppMicrosoftAuthenticatorName" ], + "localizationTexts": {}, "webAuthnPolicyRpEntityName": "keycloak", "webAuthnPolicySignatureAlgorithms": [ "ES256" @@ -78,6 +80,7 @@ "webAuthnPolicyCreateTimeout": 0, "webAuthnPolicyAvoidSameAuthenticatorRegister": false, "webAuthnPolicyAcceptableAaguids": [], + "webAuthnPolicyExtraOrigins": [], "webAuthnPolicyPasswordlessRpEntityName": "keycloak", "webAuthnPolicyPasswordlessSignatureAlgorithms": [ "ES256" @@ -90,6 +93,7 @@ "webAuthnPolicyPasswordlessCreateTimeout": 0, "webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false, "webAuthnPolicyPasswordlessAcceptableAaguids": [], + "webAuthnPolicyPasswordlessExtraOrigins": [], "scopeMappings": [ { "clientScope": "offline_access", @@ -103,14 +107,15 @@ { "client": "account-console", "roles": [ - "manage-account" + "manage-account", + "view-groups" ] } ] }, "clients": [ { - "id": "87270d83-7d5e-4dbe-a2d5-33d0cf465ac8", + "id": "3bfae8ab-c16e-4d3f-b2c7-843f364249ec", "clientId": "account", "name": "${client_account}", "rootUrl": "${authBaseUrl}", @@ -133,24 +138,27 @@ "publicClient": true, "frontchannelLogout": false, "protocol": "openid-connect", - "attributes": {}, + "attributes": { + "post.logout.redirect.uris": "+" + }, "authenticationFlowBindingOverrides": {}, "fullScopeAllowed": false, "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "7158adbd-5fbc-4452-87ec-f0d566a34f45", - "name": "full name", + "id": "6658a02c-3838-4424-98cc-33bfed17efc0", + "name": "family name", "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", + "protocolMapper": "cas-usermodel-property-mapper", "consentRequired": false, "config": { - "claim.name": "cn", + "user.attribute": "lastName", + "claim.name": "sn", "jsonType.label": "String" } }, { - "id": "f5914a8b-94fc-48d4-998e-ef199b0b0882", + "id": "4eaee96f-23e5-483f-b03b-7b4c69066dcb", "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -162,7 +170,7 @@ } }, { - "id": "86ebd837-9e65-4081-a1cb-8836f310445e", + "id": "6d3dc826-5cc1-45ed-84b4-db132f7c6276", "name": "email", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -174,23 +182,33 @@ } }, { - "id": "e6a441b6-524f-407c-a516-127da17b95b7", - "name": "family name", + "id": "ccce853f-cee5-4f59-8f3b-6ecc06058759", + "name": "full name", "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", + "protocolMapper": "cas-full-name-mapper", "consentRequired": false, "config": { - "user.attribute": "lastName", - "claim.name": "sn", + "claim.name": "cn", "jsonType.label": "String" } } ], - "defaultClientScopes": [], - "optionalClientScopes": [] + "defaultClientScopes": [ + "web-origins", + "acr", + "roles", + "profile", + "email" + ], + "optionalClientScopes": [ + "address", + "phone", + "offline_access", + "microprofile-jwt" + ] }, { - "id": "3b851809-0f59-4b0d-9f85-bce72dfe250e", + "id": "7a2c1b44-9f42-4cd5-831e-a1c54a0383a1", "clientId": "account-console", "name": "${client_account-console}", "rootUrl": "${authBaseUrl}", @@ -214,6 +232,7 @@ "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { + "post.logout.redirect.uris": "+", "pkce.code.challenge.method": "S256" }, "authenticationFlowBindingOverrides": {}, @@ -221,15 +240,19 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "a255ef19-0537-4a44-84a8-c0b1ff4313b9", - "name": "audience resolve", - "protocol": "openid-connect", - "protocolMapper": "oidc-audience-resolve-mapper", + "id": "6701d95e-fb96-4f05-91b7-1eb1558f7307", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", "consentRequired": false, - "config": {} + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } }, { - "id": "6b88ea94-98d6-47dd-b656-82933d77ae18", + "id": "b8a0eb0e-2eff-4f87-bdad-b8f1c34b488d", "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -241,7 +264,7 @@ } }, { - "id": "512a8304-56af-49e5-90b5-c9c05b70033c", + "id": "5ad3808e-65ce-41e9-8d20-2748ce71d842", "name": "full name", "protocol": "cas", "protocolMapper": "cas-full-name-mapper", @@ -252,7 +275,15 @@ } }, { - "id": "624dd437-2e33-4369-8c7e-a2de1c239f5f", + "id": "491f034b-eeaf-4977-a602-692042506f78", + "name": "audience resolve", + "protocol": "openid-connect", + "protocolMapper": "oidc-audience-resolve-mapper", + "consentRequired": false, + "config": {} + }, + { + "id": "06083be1-2f2c-4d64-95ff-0203d115bc48", "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -262,25 +293,24 @@ "claim.name": "givenName", "jsonType.label": "String" } - }, - { - "id": "75e0b103-fbc5-4cc7-9cc4-a68b7d3fdbfd", - "name": "email", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "email", - "claim.name": "mail", - "jsonType.label": "String" - } } ], - "defaultClientScopes": [], - "optionalClientScopes": [] + "defaultClientScopes": [ + "web-origins", + "acr", + "roles", + "profile", + "email" + ], + "optionalClientScopes": [ + "address", + "phone", + "offline_access", + "microprofile-jwt" + ] }, { - "id": "d239802f-534d-4c4f-9a8c-95fe57a928ed", + "id": "b4ce76e7-28d2-41c0-9cc4-46ef8f33c01e", "clientId": "admin-cli", "name": "${client_admin-cli}", "surrogateAuthRequired": false, @@ -305,31 +335,7 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "5ad3b564-2e34-4f06-9ae8-833633ece218", - "name": "email", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "email", - "claim.name": "mail", - "jsonType.label": "String" - } - }, - { - "id": "8eca5774-5f4b-4519-a1b1-227978cf8183", - "name": "given name", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "firstName", - "claim.name": "givenName", - "jsonType.label": "String" - } - }, - { - "id": "6a0101c8-2972-4acd-aac6-72149b803555", + "id": "989f0899-4b11-4bf2-8c5f-1255a0d90860", "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -341,7 +347,19 @@ } }, { - "id": "620a7c64-22d1-4c33-bda2-d86ff7c702ce", + "id": "12b6500b-b961-4c4c-babc-ea82af98863e", + "name": "given name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "id": "817bcf8b-13e9-4442-806f-144c95c2b4a4", "name": "full name", "protocol": "cas", "protocolMapper": "cas-full-name-mapper", @@ -350,13 +368,36 @@ "claim.name": "cn", "jsonType.label": "String" } + }, + { + "id": "0b49b7e8-4990-43f5-8986-33e042bbc1dd", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } } ], - "defaultClientScopes": [], - "optionalClientScopes": [] + "defaultClientScopes": [ + "web-origins", + "acr", + "roles", + "profile", + "email" + ], + "optionalClientScopes": [ + "address", + "phone", + "offline_access", + "microprofile-jwt" + ] }, { - "id": "7671be05-b84f-481f-b6f8-6254c939268d", + "id": "ff7a4eed-e7ec-4a70-aa89-55d0554cefc2", "clientId": "broker", "name": "${client_broker}", "surrogateAuthRequired": false, @@ -381,18 +422,7 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "ed454920-baa4-4815-bef6-6f20787d249e", - "name": "full name", - "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", - "consentRequired": false, - "config": { - "claim.name": "cn", - "jsonType.label": "String" - } - }, - { - "id": "aa39dee5-5ccb-4461-a79a-0384af9d44ad", + "id": "c132d347-b150-4f59-aa8f-3ec41dfa127e", "name": "email", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -404,7 +434,18 @@ } }, { - "id": "e008d88c-8028-431b-8671-f900635f35fc", + "id": "d0fe171d-41d9-4099-8d95-2c357c24a6cd", + "name": "full name", + "protocol": "cas", + "protocolMapper": "cas-full-name-mapper", + "consentRequired": false, + "config": { + "claim.name": "cn", + "jsonType.label": "String" + } + }, + { + "id": "f8036821-0577-458d-b26e-e29711f7ea07", "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -416,7 +457,7 @@ } }, { - "id": "1ff4922e-5c6e-4498-82cc-6766b20c8c1e", + "id": "13f48c67-24db-4f8b-8124-5d42b199accc", "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -428,119 +469,104 @@ } } ], + "defaultClientScopes": [ + "web-origins", + "acr", + "roles", + "profile", + "email" + ], + "optionalClientScopes": [ + "address", + "phone", + "offline_access", + "microprofile-jwt" + ] + }, + { + "id": "88f3fcab-413e-4256-a2ac-b78f2488a225", + "clientId": "nine", + "name": "Nine", + "description": "", + "rootUrl": "http://nine.local", + "adminUrl": "http://nine.local", + "baseUrl": "http://nine.local", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "redirectUris": [ + "http://nine.local/*" + ], + "webOrigins": [], + "notBefore": 0, + "bearerOnly": false, + "consentRequired": false, + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": true, + "serviceAccountsEnabled": false, + "publicClient": true, + "frontchannelLogout": true, + "protocol": "cas", + "attributes": {}, + "authenticationFlowBindingOverrides": {}, + "fullScopeAllowed": true, + "nodeReRegistrationTimeout": -1, + "protocolMappers": [ + { + "id": "3e95b580-6c3e-4c62-8594-0ea398e76b7e", + "name": "given name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "id": "9b39abe8-0747-42c9-ad10-a51fe0bad0db", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } + }, + { + "id": "85346836-de46-40a3-863d-e4d034bbf7f5", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", + "jsonType.label": "String" + } + }, + { + "id": "b5e2451e-84cd-4c00-8b19-3397982a303f", + "name": "full name", + "protocol": "cas", + "protocolMapper": "cas-full-name-mapper", + "consentRequired": false, + "config": { + "claim.name": "cn", + "jsonType.label": "String" + } + } + ], "defaultClientScopes": [], "optionalClientScopes": [] }, { - "id": "133d3397-41e7-4ec1-aaf0-a0939da72f58", - "clientId": "nine", - "name": "nine", - "rootUrl": "https://nine.local", - "baseUrl": "https://nine.local", - "surrogateAuthRequired": false, - "enabled": true, - "alwaysDisplayInConsole": false, - "clientAuthenticatorType": "client-secret", - "secret": "**********", - "redirectUris": [ - "http://nine.local*", - "https://nine.local*" - ], - "webOrigins": [], - "notBefore": 0, - "bearerOnly": false, - "consentRequired": false, - "standardFlowEnabled": true, - "implicitFlowEnabled": false, - "directAccessGrantsEnabled": false, - "serviceAccountsEnabled": false, - "publicClient": false, - "frontchannelLogout": false, - "protocol": "cas", - "attributes": { - "id.token.as.detached.signature": "false", - "saml.assertion.signature": "false", - "saml.force.post.binding": "false", - "saml.multivalued.roles": "false", - "saml.encrypt": "false", - "login_theme": "keycloak", - "oauth2.device.authorization.grant.enabled": "false", - "backchannel.logout.revoke.offline.tokens": "false", - "saml.server.signature": "false", - "saml.server.signature.keyinfo.ext": "false", - "use.refresh.tokens": "true", - "exclude.session.state.from.auth.response": "false", - "oidc.ciba.grant.enabled": "false", - "saml.artifact.binding": "false", - "backchannel.logout.session.required": "false", - "client_credentials.use_refresh_token": "false", - "saml_force_name_id_format": "false", - "require.pushed.authorization.requests": "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": "4e60ce83-fc4e-4f13-addc-ded389802592", - "name": "email", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "email", - "claim.name": "mail", - "jsonType.label": "String" - } - }, - { - "id": "5ebc6595-9386-4834-9f1c-5df10d8a68aa", - "name": "full name", - "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", - "consentRequired": false, - "config": { - "claim.name": "cn", - "jsonType.label": "String" - } - }, - { - "id": "5ca43923-49cb-47f2-8c5f-d646808f665c", - "name": "family name", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "lastName", - "claim.name": "sn", - "jsonType.label": "String" - } - }, - { - "id": "e99e05dc-e158-4232-a1a0-a972e9397782", - "name": "given name", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "firstName", - "claim.name": "givenName", - "jsonType.label": "String" - } - } - ], - "defaultClientScopes": [ - "nine" - ], - "optionalClientScopes": [] - }, - { - "id": "d5474573-906e-4f00-914a-a436049f5ac0", + "id": "7d99e3fa-da2f-45af-8b05-0a39220555ff", "clientId": "realm-management", "name": "${client_realm-management}", "surrogateAuthRequired": false, @@ -565,7 +591,7 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "eb04593d-ec09-4a65-8b8e-b177bf23b8bc", + "id": "ca6197e9-624f-409b-bd7b-221a0cad32d7", "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -577,18 +603,7 @@ } }, { - "id": "9434f197-308e-4266-93e6-1d162a52c6d5", - "name": "full name", - "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", - "consentRequired": false, - "config": { - "claim.name": "cn", - "jsonType.label": "String" - } - }, - { - "id": "5195c729-1853-4b2f-a239-16e439265873", + "id": "cb37aa49-6b95-4593-b021-f5e0e6f07ac6", "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -600,7 +615,7 @@ } }, { - "id": "565cf014-8114-47ca-861f-1710035a7023", + "id": "4dbe8a0e-4ab5-453e-a304-8a1f7c97a2b9", "name": "email", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -610,13 +625,35 @@ "claim.name": "mail", "jsonType.label": "String" } + }, + { + "id": "9fc1e55e-075c-4414-9a6b-4e53d5d28344", + "name": "full name", + "protocol": "cas", + "protocolMapper": "cas-full-name-mapper", + "consentRequired": false, + "config": { + "claim.name": "cn", + "jsonType.label": "String" + } } ], - "defaultClientScopes": [], - "optionalClientScopes": [] + "defaultClientScopes": [ + "web-origins", + "acr", + "roles", + "profile", + "email" + ], + "optionalClientScopes": [ + "address", + "phone", + "offline_access", + "microprofile-jwt" + ] }, { - "id": "e4c15b58-2e15-4ff3-8e16-ecbd02551978", + "id": "282838e8-ecd4-4a42-8734-2c0e2233e8ff", "clientId": "security-admin-console", "name": "${client_security-admin-console}", "rootUrl": "${authAdminUrl}", @@ -642,6 +679,7 @@ "frontchannelLogout": false, "protocol": "openid-connect", "attributes": { + "post.logout.redirect.uris": "+", "pkce.code.challenge.method": "S256" }, "authenticationFlowBindingOverrides": {}, @@ -649,30 +687,23 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "26bfca71-394c-4ca2-8e74-865a7b9b4182", - "name": "email", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", + "id": "ade4d6a5-ce0c-49c9-841c-3898ab933aa4", + "name": "locale", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { - "user.attribute": "email", - "claim.name": "mail", + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "locale", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "locale", "jsonType.label": "String" } }, { - "id": "31a8e7ec-b19b-4195-bcb7-1e8d57f525f6", - "name": "full name", - "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", - "consentRequired": false, - "config": { - "claim.name": "cn", - "jsonType.label": "String" - } - }, - { - "id": "f8257533-9a9a-4ac2-85dc-50921351f67b", + "id": "28a3eeb1-54fa-4157-a56a-7a69817d8a9d", "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -684,22 +715,18 @@ } }, { - "id": "58da24e2-5491-452c-8a9f-c13e27c01b4f", - "name": "locale", - "protocol": "openid-connect", - "protocolMapper": "oidc-usermodel-attribute-mapper", + "id": "355343c0-2e5c-4654-ae78-22ca069624f3", + "name": "full name", + "protocol": "cas", + "protocolMapper": "cas-full-name-mapper", "consentRequired": false, "config": { - "userinfo.token.claim": "true", - "user.attribute": "locale", - "id.token.claim": "true", - "access.token.claim": "true", - "claim.name": "locale", + "claim.name": "cn", "jsonType.label": "String" } }, { - "id": "b34ad4e4-ed15-485a-9d7c-8b8ca89386b3", + "id": "e420940d-90fb-4549-9d13-1480d1bee174", "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -709,15 +736,124 @@ "claim.name": "sn", "jsonType.label": "String" } + }, + { + "id": "fce97a94-3023-494b-931e-ccf85c6aa319", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } } ], - "defaultClientScopes": [], - "optionalClientScopes": [] + "defaultClientScopes": [ + "web-origins", + "acr", + "roles", + "profile", + "email" + ], + "optionalClientScopes": [ + "address", + "phone", + "offline_access", + "microprofile-jwt" + ] } ], "clientScopes": [ { - "id": "e5bab9e6-0003-405a-bc2a-d96d1c2f7046", + "id": "a56ada84-cd21-49b5-97dd-254d3cb1db69", + "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": "e82deda4-9018-4d61-9837-41d886489d9d", + "name": "address", + "protocol": "openid-connect", + "protocolMapper": "oidc-address-mapper", + "consentRequired": false, + "config": { + "user.attribute.formatted": "formatted", + "user.attribute.country": "country", + "introspection.token.claim": "true", + "user.attribute.postal_code": "postal_code", + "userinfo.token.claim": "true", + "user.attribute.street": "street", + "id.token.claim": "true", + "user.attribute.region": "region", + "access.token.claim": "true", + "user.attribute.locality": "locality" + } + } + ] + }, + { + "id": "eae40040-0b60-4611-933f-eff0b19bb49d", + "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": "caa781b9-7589-4c64-a4ea-8850b60f86df", + "name": "audience resolve", + "protocol": "openid-connect", + "protocolMapper": "oidc-audience-resolve-mapper", + "consentRequired": false, + "config": { + "access.token.claim": "true", + "introspection.token.claim": "true" + } + }, + { + "id": "03b6f8e1-22c8-4761-8a8a-d7a47176dd30", + "name": "realm roles", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-realm-role-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "multivalued": "true", + "user.attribute": "foo", + "access.token.claim": "true", + "claim.name": "realm_access.roles", + "jsonType.label": "String" + } + }, + { + "id": "ef72db0f-8062-408a-ad0f-122963c9eaff", + "name": "client roles", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-client-role-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "multivalued": "true", + "user.attribute": "foo", + "access.token.claim": "true", + "claim.name": "resource_access.${client_id}.roles", + "jsonType.label": "String" + } + } + ] + }, + { + "id": "0a9c9e0f-de25-41c0-b578-038919e121bd", "name": "email", "description": "OpenID Connect built-in scope: email", "protocol": "openid-connect", @@ -728,27 +864,13 @@ }, "protocolMappers": [ { - "id": "2cf129d5-5a52-4522-94d3-aeefe5074af1", - "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": "d07c04b4-0c9b-4168-9a87-0d1f8db41c01", + "id": "fb1700ad-1780-4c19-91a7-b21f1b1a1fd8", "name": "email verified", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-property-mapper", "consentRequired": false, "config": { + "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "emailVerified", "id.token.claim": "true", @@ -756,11 +878,71 @@ "claim.name": "email_verified", "jsonType.label": "boolean" } + }, + { + "id": "bc18e105-841f-41ed-9cd8-e10e369d9788", + "name": "email", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "email", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "email", + "jsonType.label": "String" + } } ] }, { - "id": "bd3e8ff5-e456-49bb-8fc5-a4b10bdb161e", + "id": "158a9c02-d13d-47e1-a415-298893979dff", + "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": "990e4a13-91a6-40d5-a100-3650d27fe595", + "name": "groups", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-realm-role-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "multivalued": "true", + "user.attribute": "foo", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "groups", + "jsonType.label": "String" + } + }, + { + "id": "0c92d0af-6e2f-407e-9ce3-f5af9b655898", + "name": "upn", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "username", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "upn", + "jsonType.label": "String" + } + } + ] + }, + { + "id": "720f0cbd-d3ec-48c2-ac5f-7b4a49ed2d52", "name": "role_list", "description": "SAML role list", "protocol": "saml", @@ -770,7 +952,7 @@ }, "protocolMappers": [ { - "id": "2f00f403-1835-4a67-a05d-31bb0264c0bf", + "id": "512f7f7c-6bb9-4b95-b43d-d12e3730ed5f", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", @@ -784,248 +966,7 @@ ] }, { - "id": "df9cfc10-8f39-43fc-a5b3-99e6014dffea", - "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": "10b45997-ab67-448b-9396-0adb49948e4c", - "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": "0f172771-2ce4-42e3-926a-ff2f1075af6f", - "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": "3dcf78c2-cd43-4101-a02b-007260a9b612", - "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": "e9ea9414-335f-4c79-8ada-a8cd960100d1", - "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": "2fac0274-ece3-4a89-9818-14adda3a67bc", - "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": "b0f98586-8113-4552-a3fb-fd507c829128", - "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": "6968296c-04b8-45dc-9540-d1f0f3f60221", - "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": "0d0ad251-5054-4827-be19-44d289ba213d", - "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": "16cdcafc-e1d2-401c-aa06-5bbb865dc216", - "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": "f367af39-837f-4ebf-b899-515b85bebf74", - "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": "c98e8531-fe14-4836-afff-453573504cb5", - "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": "d2a55e94-0e99-4b65-a9dd-2994f41d5f0c", - "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": "cf433524-2dcc-49ef-8493-bf9d92b88101", - "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": "90a63c1f-a529-47fb-8412-a37bc511d8f7", - "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": "6aa23421-70a4-4e86-88f6-9f0660a61c9b", - "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": "4949c89a-5149-41ba-87a5-f3cd9b3f6b77", - "name": "allowed web origins", - "protocol": "openid-connect", - "protocolMapper": "oidc-allowed-origins-mapper", - "consentRequired": false, - "config": {} - } - ] - }, - { - "id": "26b70183-e9a3-4383-893d-578ee135ac91", + "id": "0af35491-1345-46b7-9195-ea295e444e43", "name": "phone", "description": "OpenID Connect built-in scope: phone", "protocol": "openid-connect", @@ -1036,12 +977,13 @@ }, "protocolMappers": [ { - "id": "3e193f09-c5c4-4a5e-bf18-a191830cba62", + "id": "1c535cc4-a6c6-46f7-b961-9bfc4817f278", "name": "phone number verified", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { + "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "phoneNumberVerified", "id.token.claim": "true", @@ -1051,12 +993,13 @@ } }, { - "id": "dcbb0641-3ddf-47aa-ad90-5f5f76f63cbe", + "id": "22f5d8af-ca6f-4dbf-9971-6d5cbdf23ea8", "name": "phone number", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { + "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "phoneNumber", "id.token.claim": "true", @@ -1068,165 +1011,289 @@ ] }, { - "id": "cb7a60bc-d71f-4379-8bbc-d22e48a78a2e", - "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": "b177c977-c857-4c15-b985-8d489f3ab4aa", - "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": "a31d82e9-ae91-42e2-ba0d-115f53749780", - "name": "roles", - "description": "OpenID Connect scope for add user roles to the access token", + "id": "86d78f52-dc07-4b24-ae97-a5a948da9fff", + "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": "true", - "consent.screen.text": "${rolesScopeConsentText}" + "display.on.consent.screen": "false", + "consent.screen.text": "" }, "protocolMappers": [ { - "id": "0e76249d-2f86-4e0d-8ddc-f034f96837f6", - "name": "audience resolve", + "id": "0307a122-1a8d-445c-9583-a3a298a67260", + "name": "allowed web origins", "protocol": "openid-connect", - "protocolMapper": "oidc-audience-resolve-mapper", - "consentRequired": false, - "config": {} - }, - { - "id": "fad5d917-9728-43fb-99b8-b23547a125e2", - "name": "client roles", - "protocol": "openid-connect", - "protocolMapper": "oidc-usermodel-client-role-mapper", + "protocolMapper": "oidc-allowed-origins-mapper", "consentRequired": false, "config": { - "user.attribute": "foo", "access.token.claim": "true", - "claim.name": "resource_access.${client_id}.roles", - "jsonType.label": "String", - "multivalued": "true" - } - }, - { - "id": "cbed5763-4f17-4f30-ae15-d9bcdc20d50a", - "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" + "introspection.token.claim": "true" } } ] }, { - "id": "7bc8ebde-3563-4ce1-a0d2-ad58aba2cd7c", - "name": "microprofile-jwt", - "description": "Microprofile - JWT built-in scope", + "id": "ab7945e9-8cf8-4408-9850-53480db1d134", + "name": "acr", + "description": "OpenID Connect scope for add acr (authentication context class reference) to the token", "protocol": "openid-connect", "attributes": { - "include.in.token.scope": "true", + "include.in.token.scope": "false", "display.on.consent.screen": "false" }, "protocolMappers": [ { - "id": "e5e10473-8bd1-42b5-89fa-d0b3e90a18ed", - "name": "upn", + "id": "c0b51de0-c048-4ce0-8cbe-77a7465b4957", + "name": "acr loa level", "protocol": "openid-connect", - "protocolMapper": "oidc-usermodel-property-mapper", + "protocolMapper": "oidc-acr-mapper", "consentRequired": false, "config": { + "id.token.claim": "true", + "access.token.claim": "true", + "introspection.token.claim": "true" + } + } + ] + }, + { + "id": "4777e333-60ef-4bf0-82c6-7f62e48e8675", + "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": "77ee0eef-5b5e-439c-9414-3172a303a2c2", + "name": "profile", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "profile", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "profile", + "jsonType.label": "String" + } + }, + { + "id": "e46a244a-ee9e-4136-8c0a-35543e8de5c0", + "name": "full name", + "protocol": "openid-connect", + "protocolMapper": "oidc-full-name-mapper", + "consentRequired": false, + "config": { + "id.token.claim": "true", + "access.token.claim": "true", + "introspection.token.claim": "true", + "userinfo.token.claim": "true" + } + }, + { + "id": "b07ac049-1eae-440b-a25e-a416412baf84", + "name": "picture", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "picture", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "picture", + "jsonType.label": "String" + } + }, + { + "id": "7780807b-e178-4c7a-92a1-830be878019f", + "name": "middle name", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "middleName", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "middle_name", + "jsonType.label": "String" + } + }, + { + "id": "8d596d47-4323-4ae3-badd-1e0088d2690c", + "name": "given name", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "firstName", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "given_name", + "jsonType.label": "String" + } + }, + { + "id": "d5516484-9a88-4f23-8790-3e9a620c1fa4", + "name": "website", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "website", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "website", + "jsonType.label": "String" + } + }, + { + "id": "5fa66059-fe7c-458b-b8d6-45ab03272aca", + "name": "birthdate", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "birthdate", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "birthdate", + "jsonType.label": "String" + } + }, + { + "id": "f20d9783-ae51-4102-9204-deabd133c14c", + "name": "zoneinfo", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "zoneinfo", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "zoneinfo", + "jsonType.label": "String" + } + }, + { + "id": "7d604bc5-5371-4ed4-93a5-42748c494ad8", + "name": "family name", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "lastName", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "family_name", + "jsonType.label": "String" + } + }, + { + "id": "49588041-39bf-4db8-bef0-3da1a6266fdc", + "name": "nickname", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "nickname", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "nickname", + "jsonType.label": "String" + } + }, + { + "id": "723d1b26-e95c-4081-a500-3fb54110643f", + "name": "gender", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "gender", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "gender", + "jsonType.label": "String" + } + }, + { + "id": "1fd720f8-c6ad-4078-a551-5265ef3c2706", + "name": "username", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "introspection.token.claim": "true", "userinfo.token.claim": "true", "user.attribute": "username", "id.token.claim": "true", "access.token.claim": "true", - "claim.name": "upn", + "claim.name": "preferred_username", "jsonType.label": "String" } }, { - "id": "7d0b5233-08f1-47c1-9b21-ae8c471d67e1", - "name": "groups", + "id": "0cb0ec7e-78b9-416b-9ba4-8de396f54370", + "name": "locale", "protocol": "openid-connect", - "protocolMapper": "oidc-usermodel-realm-role-mapper", + "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { - "multivalued": "true", + "introspection.token.claim": "true", "userinfo.token.claim": "true", - "user.attribute": "foo", + "user.attribute": "locale", "id.token.claim": "true", "access.token.claim": "true", - "claim.name": "groups", - "jsonType.label": "String" - } - } - ] - }, - { - "id": "238cdd25-3e87-45cf-badf-89033829a1af", - "name": "nine", - "protocol": "cas", - "attributes": { - "include.in.token.scope": "true", - "display.on.consent.screen": "true" - }, - "protocolMappers": [ - { - "id": "d4e42326-ec8b-4103-8e7b-afdc1c64d904", - "name": "siren", - "protocol": "cas", - "protocolMapper": "cas-usermodel-attribute-mapper", - "consentRequired": false, - "config": { - "user.attribute": "siren", - "claim.name": "siren", + "claim.name": "locale", "jsonType.label": "String" } }, { - "id": "fcd2b58e-8be8-40b4-aec0-132fb6259d93", - "name": "niveau01", - "protocol": "cas", - "protocolMapper": "cas-usermodel-attribute-mapper", + "id": "018321b8-f748-45f0-ab77-507f90771ba2", + "name": "updated at", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { - "user.attribute": "niveau01", - "claim.name": "niveau01", - "jsonType.label": "String" + "introspection.token.claim": "true", + "userinfo.token.claim": "true", + "user.attribute": "updatedAt", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "updated_at", + "jsonType.label": "long" } } ] }, { - "id": "44ab982e-a384-41a3-8610-a65600c489e4", + "id": "b4d66c90-2b7d-4b8c-b0b6-3a1da68fbbe5", "name": "offline_access", "description": "OpenID Connect built-in scope: offline_access", "protocol": "openid-connect", @@ -1237,21 +1304,23 @@ } ], "defaultDefaultClientScopes": [ - "web-origins", - "roles", - "role_list", + "email", "profile", - "email" + "role_list", + "web-origins", + "acr", + "roles" ], "defaultOptionalClientScopes": [ "phone", - "offline_access", "microprofile-jwt", - "address" + "address", + "offline_access" ], "browserSecurityHeaders": { "contentSecurityPolicyReportOnly": "", "xContentTypeOptions": "nosniff", + "referrerPolicy": "no-referrer", "xRobotsTag": "none", "xFrameOptions": "SAMEORIGIN", "contentSecurityPolicy": "frame-src 'self'; frame-ancestors 'self'; object-src 'none';", @@ -1271,7 +1340,34 @@ "components": { "org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy": [ { - "id": "4534f093-d690-4e0e-afe1-3590257718f4", + "id": "7d8f07a2-1ad8-437b-a0fb-dddaf6a19609", + "name": "Allowed Protocol Mapper Types", + "providerId": "allowed-protocol-mappers", + "subType": "authenticated", + "subComponents": {}, + "config": { + "allowed-protocol-mapper-types": [ + "oidc-full-name-mapper", + "oidc-usermodel-property-mapper", + "oidc-address-mapper", + "saml-role-list-mapper", + "saml-user-attribute-mapper", + "oidc-sha256-pairwise-sub-mapper", + "oidc-usermodel-attribute-mapper", + "saml-user-property-mapper" + ] + } + }, + { + "id": "c175b0ed-7573-41e5-abba-369529b07a53", + "name": "Full Scope Disabled", + "providerId": "scope", + "subType": "anonymous", + "subComponents": {}, + "config": {} + }, + { + "id": "8ebc08e2-228c-496e-b7da-69dc42c92a14", "name": "Max Clients Limit", "providerId": "max-clients", "subType": "anonymous", @@ -1283,34 +1379,7 @@ } }, { - "id": "6c90c03e-45f7-4ea6-83eb-fc6131e24c34", - "name": "Allowed Protocol Mapper Types", - "providerId": "allowed-protocol-mappers", - "subType": "anonymous", - "subComponents": {}, - "config": { - "allowed-protocol-mapper-types": [ - "oidc-usermodel-attribute-mapper", - "saml-user-property-mapper", - "oidc-address-mapper", - "oidc-full-name-mapper", - "saml-role-list-mapper", - "oidc-sha256-pairwise-sub-mapper", - "oidc-usermodel-property-mapper", - "saml-user-attribute-mapper" - ] - } - }, - { - "id": "55c9c339-6151-47cb-9f95-99076e157e1c", - "name": "Full Scope Disabled", - "providerId": "scope", - "subType": "anonymous", - "subComponents": {}, - "config": {} - }, - { - "id": "e7af1382-7b01-4b25-9ae1-57bec1f0fec2", + "id": "d9da6ad4-6e3d-41a1-8c32-1c69cbe57056", "name": "Trusted Hosts", "providerId": "trusted-hosts", "subType": "anonymous", @@ -1325,19 +1394,7 @@ } }, { - "id": "09380ed6-96a9-43ab-ba83-cb864a3f509a", - "name": "Allowed Client Scopes", - "providerId": "allowed-client-templates", - "subType": "anonymous", - "subComponents": {}, - "config": { - "allow-default-scopes": [ - "true" - ] - } - }, - { - "id": "64924b80-6b72-4991-a838-b1c275cb79f8", + "id": "19a31115-929c-4ed8-b283-05f66859950f", "name": "Consent Required", "providerId": "consent-required", "subType": "anonymous", @@ -1345,26 +1402,38 @@ "config": {} }, { - "id": "509b7501-be18-4425-bb25-68fe6868dc73", - "name": "Allowed Protocol Mapper Types", - "providerId": "allowed-protocol-mappers", - "subType": "authenticated", + "id": "5b81e0dc-b3fc-4321-b528-1230c59ff88a", + "name": "Allowed Client Scopes", + "providerId": "allowed-client-templates", + "subType": "anonymous", "subComponents": {}, "config": { - "allowed-protocol-mapper-types": [ - "saml-user-attribute-mapper", - "oidc-sha256-pairwise-sub-mapper", - "saml-user-property-mapper", - "oidc-usermodel-attribute-mapper", - "oidc-full-name-mapper", - "oidc-address-mapper", - "oidc-usermodel-property-mapper", - "saml-role-list-mapper" + "allow-default-scopes": [ + "true" ] } }, { - "id": "164c42e5-13a3-4d67-82dd-3a24a21099c5", + "id": "184f2264-c100-44ac-a834-a90beb294ad8", + "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-role-list-mapper", + "saml-user-property-mapper", + "oidc-full-name-mapper", + "oidc-sha256-pairwise-sub-mapper", + "saml-user-attribute-mapper" + ] + } + }, + { + "id": "a65ea735-a7bd-4ba8-8503-0662f4f4b1b0", "name": "Allowed Client Scopes", "providerId": "allowed-client-templates", "subType": "authenticated", @@ -1376,118 +1445,15 @@ } } ], - "org.keycloak.userprofile.UserProfileProvider": [ - { - "id": "57b8edbf-3395-4ac3-80d7-2bd0ca1ec792", - "providerId": "declarative-user-profile", - "subComponents": {}, - "config": {} - } - ], "org.keycloak.storage.UserStorageProvider": [ { - "id": "cc488d45-7acf-4460-9ce3-92fa33f2169a", + "id": "07d754b4-9a08-42ff-af19-ab7bab41c5bc", "name": "ldap", "providerId": "ldap", "subComponents": { "org.keycloak.storage.ldap.mappers.LDAPStorageMapper": [ { - "id": "05b4c1c5-f1b3-418f-b4e3-40149e08cb9f", - "name": "email", - "providerId": "user-attribute-ldap-mapper", - "subComponents": {}, - "config": { - "ldap.attribute": [ - "mail" - ], - "is.mandatory.in.ldap": [ - "false" - ], - "is.binary.attribute": [ - "false" - ], - "read.only": [ - "true" - ], - "always.read.value.from.ldap": [ - "false" - ], - "user.model.attribute": [ - "email" - ] - } - }, - { - "id": "a019bec6-f45a-4cee-a2e2-04454e31c8a7", - "name": "username", - "providerId": "user-attribute-ldap-mapper", - "subComponents": {}, - "config": { - "ldap.attribute": [ - "uid" - ], - "is.mandatory.in.ldap": [ - "false" - ], - "is.binary.attribute": [ - "false" - ], - "read.only": [ - "true" - ], - "user.model.attribute": [ - "username" - ] - } - }, - { - "id": "a5717a47-a717-4655-98cf-0cdfab2c8d9b", - "name": "modify date", - "providerId": "user-attribute-ldap-mapper", - "subComponents": {}, - "config": { - "ldap.attribute": [ - "modifyTimestamp" - ], - "is.mandatory.in.ldap": [ - "false" - ], - "always.read.value.from.ldap": [ - "true" - ], - "read.only": [ - "true" - ], - "user.model.attribute": [ - "modifyTimestamp" - ] - } - }, - { - "id": "3dc5921d-44ac-4748-8c61-a4f1e2052d95", - "name": "niveau01", - "providerId": "user-attribute-ldap-mapper", - "subComponents": {}, - "config": { - "ldap.attribute": [ - "niveau01" - ], - "is.mandatory.in.ldap": [ - "false" - ], - "is.binary.attribute": [ - "false" - ], - "read.only": [ - "true" - ], - "user.model.attribute": [ - "niveau01" - ] - } - }, - { - "id": "4dc6f603-4c19-466e-8929-279fd246c3b5", + "id": "48289bfe-8856-48ea-855c-0cca71b4b782", "name": "last name", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, @@ -1502,7 +1468,7 @@ "true" ], "read.only": [ - "true" + "false" ], "user.model.attribute": [ "lastName" @@ -1510,18 +1476,61 @@ } }, { - "id": "b35862bf-04c1-4b72-9eb4-1a511b44d66e", + "id": "2c89c6af-a7f3-4659-8bf7-48a077dafcb3", + "name": "username", + "providerId": "user-attribute-ldap-mapper", + "subComponents": {}, + "config": { + "ldap.attribute": [ + "uid" + ], + "is.mandatory.in.ldap": [ + "true" + ], + "always.read.value.from.ldap": [ + "false" + ], + "read.only": [ + "false" + ], + "user.model.attribute": [ + "username" + ] + } + }, + { + "id": "3aa14e04-5eaf-42fe-a5ef-49bdf5014bb7", "name": "first name", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, "config": { "ldap.attribute": [ - "givenName" + "cn" ], "is.mandatory.in.ldap": [ + "true" + ], + "read.only": [ "false" ], - "is.binary.attribute": [ + "always.read.value.from.ldap": [ + "true" + ], + "user.model.attribute": [ + "firstName" + ] + } + }, + { + "id": "e543cb04-35fa-4e22-b0ae-68d49e781771", + "name": "modify date", + "providerId": "user-attribute-ldap-mapper", + "subComponents": {}, + "config": { + "ldap.attribute": [ + "whenChanged" + ], + "is.mandatory.in.ldap": [ "false" ], "always.read.value.from.ldap": [ @@ -1531,18 +1540,21 @@ "true" ], "user.model.attribute": [ - "firstname" + "modifyTimestamp" ] } }, { - "id": "207e55ef-e171-4a96-ad85-7d9899472991", - "name": "siren", + "id": "1fb68e47-6ea2-4553-92af-8a0be592c5cc", + "name": "uid", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, "config": { "ldap.attribute": [ - "siren" + "uid" + ], + "attribute.force.default": [ + "true" ], "is.mandatory.in.ldap": [ "false" @@ -1550,30 +1562,67 @@ "is.binary.attribute": [ "false" ], + "always.read.value.from.ldap": [ + "false" + ], "read.only": [ - "true" + "false" ], "user.model.attribute": [ - "siren" + "uid" ] } }, { - "id": "faf41ea6-f9f8-4872-9b9e-2461e0d9b834", + "id": "7f9d827d-271e-4c3f-9690-ff22fdd390af", + "name": "MSAD account controls", + "providerId": "msad-user-account-control-mapper", + "subComponents": {}, + "config": { + "always.read.enabled.value.from.ldap": [ + "true" + ] + } + }, + { + "id": "6c4a9108-74fc-4a0c-90fd-9a3174a8d3bc", + "name": "email", + "providerId": "user-attribute-ldap-mapper", + "subComponents": {}, + "config": { + "ldap.attribute": [ + "mail" + ], + "is.mandatory.in.ldap": [ + "false" + ], + "read.only": [ + "false" + ], + "always.read.value.from.ldap": [ + "false" + ], + "user.model.attribute": [ + "email" + ] + } + }, + { + "id": "3171dc5b-d99e-4035-a2ff-2f03fe65f2a1", "name": "creation date", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, "config": { "ldap.attribute": [ - "createTimestamp" + "whenCreated" ], "is.mandatory.in.ldap": [ "false" ], - "read.only": [ + "always.read.value.from.ldap": [ "true" ], - "always.read.value.from.ldap": [ + "read.only": [ "true" ], "user.model.attribute": [ @@ -1585,13 +1634,16 @@ }, "config": { "pagination": [ - "true" + "false" ], "fullSyncPeriod": [ "-1" ], + "startTls": [ + "false" + ], "connectionPooling": [ - "true" + "false" ], "usersDn": [ "ou=users,ou=ninegate,dc=nine,dc=org" @@ -1603,7 +1655,7 @@ "false" ], "importEnabled": [ - "false" + "true" ], "enabled": [ "true" @@ -1612,22 +1664,19 @@ "uid" ], "bindCredential": [ - "changeme" - ], - "changedSyncPeriod": [ - "-1" + "**********" ], "bindDn": [ "cn=admin,dc=nine,dc=org" ], - "lastSync": [ - "1698698495" + "changedSyncPeriod": [ + "-1" ], "vendor": [ - "other" + "ad" ], "uuidLDAPAttribute": [ - "entryUUID" + "objectGUID" ], "connectionUrl": [ "ldap://openldap:1389" @@ -1636,61 +1685,47 @@ "false" ], "syncRegistrations": [ - "false" + "true" ], "authType": [ "simple" ], - "debug": [ - "false" + "krbPrincipalAttribute": [ + "userPrincipalName" + ], + "customUserSearchFilter": [ + "(&(uid=*)(objectClass=person)(!(description=Computer)))" ], "searchScope": [ - "1" + "2" ], "useTruststoreSpi": [ - "ldapsOnly" + "always" + ], + "usePasswordModifyExtendedOp": [ + "false" ], "trustEmail": [ "false" ], - "priority": [ - "0" - ], "userObjectClasses": [ - "inetOrgPerson, organizationalPerson" + "person, organizationalPerson" ], "rdnLDAPAttribute": [ "uid" ], "editMode": [ - "READ_ONLY" + "WRITABLE" ], "validatePasswordPolicy": [ "false" - ], - "batchSizeForSync": [ - "1000" ] } } ], "org.keycloak.keys.KeyProvider": [ { - "id": "20be504c-5093-4f94-b9c8-8048c49301dd", - "name": "hmac-generated", - "providerId": "hmac-generated", - "subComponents": {}, - "config": { - "priority": [ - "100" - ], - "algorithm": [ - "HS256" - ] - } - }, - { - "id": "89c846d9-b9e9-4022-8cf7-03a63e4efc03", + "id": "df22ebed-8475-49e4-acd9-4422b395522b", "name": "rsa-enc-generated", "providerId": "rsa-enc-generated", "subComponents": {}, @@ -1704,7 +1739,18 @@ } }, { - "id": "048bb6eb-5423-476b-9c19-d39e6640a1cf", + "id": "0e2648f3-0951-45fc-828b-c2eae4f9d61b", + "name": "rsa-generated", + "providerId": "rsa-generated", + "subComponents": {}, + "config": { + "priority": [ + "100" + ] + } + }, + { + "id": "deb744d6-cae4-46b4-b0ab-35e4ec4c6372", "name": "aes-generated", "providerId": "aes-generated", "subComponents": {}, @@ -1715,13 +1761,16 @@ } }, { - "id": "f1c978f6-a133-46f6-a784-bc1c6a9dace9", - "name": "rsa-generated", - "providerId": "rsa-generated", + "id": "6c9e1c1b-5dd2-4b2f-8053-bf6965ef7814", + "name": "hmac-generated-hs512", + "providerId": "hmac-generated", "subComponents": {}, "config": { "priority": [ "100" + ], + "algorithm": [ + "HS512" ] } } @@ -1731,7 +1780,7 @@ "supportedLocales": [], "authenticationFlows": [ { - "id": "2769839a-7135-4319-bcf2-1208e18004cb", + "id": "24d76edc-f347-411a-be52-7ac99ebeca2d", "alias": "Account verification options", "description": "Method with which to verity the existing account", "providerId": "basic-flow", @@ -1743,55 +1792,21 @@ "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "ALTERNATIVE", "priority": 20, + "autheticatorFlow": true, "flowAlias": "Verify Existing Account by Re-authentication", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "a03d0c39-b304-479f-beb3-0ac34048b3e7", - "alias": "Authentication Options", - "description": "Authentication options.", - "providerId": "basic-flow", - "topLevel": false, - "builtIn": true, - "authenticationExecutions": [ - { - "authenticator": "basic-auth", - "authenticatorFlow": false, - "requirement": "REQUIRED", - "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false - }, - { - "authenticator": "basic-auth-otp", - "authenticatorFlow": false, - "requirement": "DISABLED", - "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false - }, - { - "authenticator": "auth-spnego", - "authenticatorFlow": false, - "requirement": "DISABLED", - "priority": 30, - "userSetupAllowed": false, - "autheticatorFlow": false - } - ] - }, - { - "id": "ccb129aa-f7e7-4111-a463-a19206b7fb37", + "id": "e8fcb0f3-e1d5-4ba2-9e07-61f99a150fd0", "alias": "Browser - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", @@ -1803,21 +1818,21 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "auth-otp-form", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false } ] }, { - "id": "e590c666-bf10-455b-8a0b-fe26d15a5c0a", + "id": "3c1ab2d9-f204-429d-abf7-1fbb53316fa1", "alias": "Direct Grant - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", @@ -1829,21 +1844,21 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "direct-grant-validate-otp", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false } ] }, { - "id": "272ef112-7124-4361-83e1-fab3a43cb68d", + "id": "1c43d63d-8e7c-4c27-bc73-7b852f2799b7", "alias": "First broker login - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", @@ -1855,21 +1870,21 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "auth-otp-form", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false } ] }, { - "id": "2e80c4de-0a90-4751-919e-4cad083ebb39", + "id": "665744ab-da23-4646-aa24-8511bc7d0962", "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", @@ -1881,21 +1896,21 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "REQUIRED", "priority": 20, + "autheticatorFlow": true, "flowAlias": "Account verification options", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "501be6a7-b886-4e0f-9b13-5ceabdb59ef6", + "id": "127b8ccf-7176-4cca-bae6-97e51b0a2279", "alias": "Reset - Conditional OTP", "description": "Flow to determine if the OTP should be reset or not. Set to REQUIRED to force.", "providerId": "basic-flow", @@ -1907,21 +1922,21 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "reset-otp", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false } ] }, { - "id": "06e92c43-c436-4a32-91c5-6bb536403405", + "id": "128b8c42-fddf-4765-af6a-b7ee82c1f8d1", "alias": "User creation or linking", "description": "Flow for the existing/non-existing user alternatives", "providerId": "basic-flow", @@ -1934,21 +1949,21 @@ "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "ALTERNATIVE", "priority": 20, + "autheticatorFlow": true, "flowAlias": "Handle Existing Account", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "96c60c50-0210-48c7-b39d-3118e11227b9", + "id": "4710f396-71cc-46bd-bbb6-73051af4d20a", "alias": "Verify Existing Account by Re-authentication", "description": "Reauthentication of existing account", "providerId": "basic-flow", @@ -1960,21 +1975,21 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "CONDITIONAL", "priority": 20, + "autheticatorFlow": true, "flowAlias": "First broker login - Conditional OTP", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "731ece9d-bfbb-4174-864d-3d609a6a9a8d", + "id": "23a1908a-3d1f-47e2-b222-361e9f872d50", "alias": "browser", "description": "browser based authentication", "providerId": "basic-flow", @@ -1986,37 +2001,37 @@ "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "auth-spnego", "authenticatorFlow": false, "requirement": "DISABLED", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "identity-provider-redirector", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 25, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "ALTERNATIVE", "priority": 30, + "autheticatorFlow": true, "flowAlias": "forms", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "3b6dedee-71b5-408c-a4ef-c3d9d56491fa", + "id": "445371a3-c27e-4bdd-94e8-b533e6f7e72d", "alias": "clients", "description": "Base authentication for clients", "providerId": "client-flow", @@ -2028,37 +2043,37 @@ "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "client-jwt", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "client-secret-jwt", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 30, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "client-x509", "authenticatorFlow": false, "requirement": "ALTERNATIVE", "priority": 40, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false } ] }, { - "id": "05623406-4a49-4f73-a52e-16119b5ee7fa", + "id": "e6159418-8749-4dff-b018-a456658f54a4", "alias": "direct grant", "description": "OpenID Connect Resource Owner Grant", "providerId": "basic-flow", @@ -2070,29 +2085,29 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "direct-grant-validate-password", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "CONDITIONAL", "priority": 30, + "autheticatorFlow": true, "flowAlias": "Direct Grant - Conditional OTP", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "7b96140b-16c1-4fb8-a59f-a362603b9830", + "id": "ea4d05bb-a6fd-4fc1-8ced-8b89f50b02aa", "alias": "docker auth", "description": "Used by Docker clients to authenticate against the IDP", "providerId": "basic-flow", @@ -2104,13 +2119,13 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false } ] }, { - "id": "53ce2fa4-56a0-4165-839d-62c3e14c15f7", + "id": "c709c861-45a0-4858-bd87-32f5cb72a9f6", "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", @@ -2123,21 +2138,21 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "REQUIRED", "priority": 20, + "autheticatorFlow": true, "flowAlias": "User creation or linking", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "f9a1fd59-e174-40e9-a28a-643b51366e4d", + "id": "f6f99d89-3ac7-4809-b977-d06cf4d9cdea", "alias": "forms", "description": "Username, password, otp and other auth forms.", "providerId": "basic-flow", @@ -2149,47 +2164,21 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "CONDITIONAL", "priority": 20, + "autheticatorFlow": true, "flowAlias": "Browser - Conditional OTP", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "19d3a997-c030-401e-903c-d168650f0413", - "alias": "http challenge", - "description": "An authentication flow based on challenge-response HTTP Authentication Schemes", - "providerId": "basic-flow", - "topLevel": true, - "builtIn": true, - "authenticationExecutions": [ - { - "authenticator": "no-cookie-redirect", - "authenticatorFlow": false, - "requirement": "REQUIRED", - "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false - }, - { - "authenticatorFlow": true, - "requirement": "REQUIRED", - "priority": 20, - "flowAlias": "Authentication Options", - "userSetupAllowed": false, - "autheticatorFlow": true - } - ] - }, - { - "id": "100db2b7-d0b1-4287-909a-8ab0a5f268bb", + "id": "5c880cfe-e105-4a90-8a4f-1c07884746a3", "alias": "registration", "description": "registration flow", "providerId": "basic-flow", @@ -2201,14 +2190,14 @@ "authenticatorFlow": true, "requirement": "REQUIRED", "priority": 10, + "autheticatorFlow": true, "flowAlias": "registration form", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "549011b0-b533-48cf-90d0-d1b8ca11105c", + "id": "aa1bff17-3087-4861-9cfa-952aee95c3b4", "alias": "registration form", "description": "registration form", "providerId": "form-flow", @@ -2220,37 +2209,37 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false - }, - { - "authenticator": "registration-profile-action", - "authenticatorFlow": false, - "requirement": "REQUIRED", - "priority": 40, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "registration-password-action", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 50, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "registration-recaptcha-action", "authenticatorFlow": false, "requirement": "DISABLED", "priority": 60, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false + }, + { + "authenticator": "registration-terms-and-conditions", + "authenticatorFlow": false, + "requirement": "DISABLED", + "priority": 70, + "autheticatorFlow": false, + "userSetupAllowed": false } ] }, { - "id": "98bc4f2e-8bc3-4187-97dc-90ce7ef0909d", + "id": "31c4e4a2-741a-4700-8103-34ffb7f1f988", "alias": "reset credentials", "description": "Reset credentials for a user if they forgot their password or something", "providerId": "basic-flow", @@ -2262,37 +2251,37 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "reset-credential-email", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 20, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticator": "reset-password", "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 30, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false }, { "authenticatorFlow": true, "requirement": "CONDITIONAL", "priority": 40, + "autheticatorFlow": true, "flowAlias": "Reset - Conditional OTP", - "userSetupAllowed": false, - "autheticatorFlow": true + "userSetupAllowed": false } ] }, { - "id": "30f9008c-cba1-480f-9547-e0ad994f6165", + "id": "25006f99-1387-4f85-bbbc-2c855363398a", "alias": "saml ecp", "description": "SAML ECP Profile Authentication Flow", "providerId": "basic-flow", @@ -2304,22 +2293,22 @@ "authenticatorFlow": false, "requirement": "REQUIRED", "priority": 10, - "userSetupAllowed": false, - "autheticatorFlow": false + "autheticatorFlow": false, + "userSetupAllowed": false } ] } ], "authenticatorConfig": [ { - "id": "8e916fa6-4d7e-4247-a9fa-5a185f23b6cb", + "id": "8adecce6-e496-4d0c-ab43-bc0ff70e6bab", "alias": "create unique user config", "config": { "require.password.update.after.registration": "false" } }, { - "id": "91f281c4-3965-4897-a495-b61d15083306", + "id": "d4fc3141-292a-4542-b3ec-8b872dbc2004", "alias": "review profile config", "config": { "update.profile.on.first.login": "missing" @@ -2337,9 +2326,9 @@ "config": {} }, { - "alias": "terms_and_conditions", + "alias": "TERMS_AND_CONDITIONS", "name": "Terms and Conditions", - "providerId": "terms_and_conditions", + "providerId": "TERMS_AND_CONDITIONS", "enabled": false, "defaultAction": false, "priority": 20, @@ -2381,6 +2370,42 @@ "priority": 60, "config": {} }, + { + "alias": "webauthn-register", + "name": "Webauthn Register", + "providerId": "webauthn-register", + "enabled": true, + "defaultAction": false, + "priority": 70, + "config": {} + }, + { + "alias": "webauthn-register-passwordless", + "name": "Webauthn Register Passwordless", + "providerId": "webauthn-register-passwordless", + "enabled": true, + "defaultAction": false, + "priority": 80, + "config": {} + }, + { + "alias": "VERIFY_PROFILE", + "name": "Verify Profile", + "providerId": "VERIFY_PROFILE", + "enabled": true, + "defaultAction": false, + "priority": 90, + "config": {} + }, + { + "alias": "delete_credential", + "name": "Delete Credential", + "providerId": "delete_credential", + "enabled": true, + "defaultAction": false, + "priority": 100, + "config": {} + }, { "alias": "update_user_locale", "name": "Update User Locale", @@ -2397,21 +2422,18 @@ "resetCredentialsFlow": "reset credentials", "clientAuthenticationFlow": "clients", "dockerAuthenticationFlow": "docker auth", + "firstBrokerLoginFlow": "first broker login", "attributes": { "cibaBackchannelTokenDeliveryMode": "poll", "cibaExpiresIn": "120", "cibaAuthRequestedUserHint": "login_hint", "oauth2DeviceCodeLifespan": "600", - "clientOfflineSessionMaxLifespan": "0", - "oauth2DevicePollingInterval": "600", - "clientSessionIdleTimeout": "0", - "userProfileEnabled": "false", + "oauth2DevicePollingInterval": "5", "parRequestUriLifespan": "60", - "clientSessionMaxLifespan": "0", - "clientOfflineSessionIdleTimeout": "0", - "cibaInterval": "5" + "cibaInterval": "5", + "realmReusableOtpCode": "false" }, - "keycloakVersion": "16.1.1", + "keycloakVersion": "24.0.5", "userManagedAccessAllowed": false, "clientProfiles": { "profiles": []