From 51d50ddefa30a02861064c3c6b32a5bbd83269d7 Mon Sep 17 00:00:00 2001 From: afornerot Date: Wed, 31 Jul 2024 09:09:48 +0200 Subject: [PATCH] svg keycloak --- env/.env | 2 +- .../dockercompose/dockercompose.yml | 2 + .../10-nineapache/volume/ssl/selfsigned.crt | 21 + .../10-nineapache/volume/ssl/selfsigned.key | 28 + services/40-keycloak/dicos/.env.dicos | 2 + .../dockercompose/dockercompose.yml | 1 + services/40-keycloak/env/.env | 10 +- .../{volume/realm => tmpl}/realm-export.json | 1463 +++++----- .../40-keycloak/volume/nine/realm-export.json | 2422 +++++++++++++++++ .../40-keycloak/volume/nine/server.crt.pem | 21 + .../40-keycloak/volume/nine/server.key.pem | 28 + services/40-keycloak/volume/realm/.gitkeep | 0 12 files changed, 3228 insertions(+), 772 deletions(-) create mode 100644 services/10-nineapache/volume/ssl/selfsigned.crt create mode 100644 services/10-nineapache/volume/ssl/selfsigned.key create mode 100644 services/40-keycloak/dicos/.env.dicos rename services/40-keycloak/{volume/realm => tmpl}/realm-export.json (87%) create mode 100644 services/40-keycloak/volume/nine/realm-export.json create mode 100644 services/40-keycloak/volume/nine/server.crt.pem create mode 100644 services/40-keycloak/volume/nine/server.key.pem create mode 100644 services/40-keycloak/volume/realm/.gitkeep diff --git a/env/.env b/env/.env index d05d09b..936becd 100644 --- a/env/.env +++ b/env/.env @@ -13,7 +13,7 @@ RELEASE_SYSTEM=linux # GLOBAL APP_ENV=PROD WEB_URL=nine.local -PROTOCOLE=http +PROTOCOLE=https # ADMIN USER ADMIN_USER=admin diff --git a/services/10-nineapache/dockercompose/dockercompose.yml b/services/10-nineapache/dockercompose/dockercompose.yml index 573fe8b..db6f505 100644 --- a/services/10-nineapache/dockercompose/dockercompose.yml +++ b/services/10-nineapache/dockercompose/dockercompose.yml @@ -11,5 +11,7 @@ - nine-network ports: - "80:80" + - "443:443" volumes: - ./services/10-nineapache/volume/apache:/etc/apache2/conf.d/nine + - ./services/10-nineapache/volume/ssl:/etc/apache2/ssl diff --git a/services/10-nineapache/volume/ssl/selfsigned.crt b/services/10-nineapache/volume/ssl/selfsigned.crt new file mode 100644 index 0000000..49d040f --- /dev/null +++ b/services/10-nineapache/volume/ssl/selfsigned.crt @@ -0,0 +1,21 @@ +-----BEGIN CERTIFICATE----- +MIIDYTCCAkmgAwIBAgIUQ+F6GtJo7VWyn1uemlBWSqYDGyYwDQYJKoZIhvcNAQEL +BQAwQDELMAkGA1UEBhMCRlIxDzANBgNVBAgMBkZyYW5jZTEOMAwGA1UEBwwFRGlq +b24xEDAOBgNVBAoMB0NhZG9sZXMwHhcNMjQwNzI4MTU1NjM0WhcNMjUwNzI4MTU1 +NjM0WjBAMQswCQYDVQQGEwJGUjEPMA0GA1UECAwGRnJhbmNlMQ4wDAYDVQQHDAVE +aWpvbjEQMA4GA1UECgwHQ2Fkb2xlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBAKLfE1bjieaMAKV7e9blEPGSQtp2gFfrsYwjLaFnT+JyUtNbAKtAUxsB +SOLMC+cBMluQyv1E69xeL+8v9QgkmpvUw/nJy32/hU1AVSxzfU67wZHWusjx4089 +tHLmJymDQkjvKnshLoPSXQTD3bA1HScMyuymqdXlUTIHm3xoOmi+9T+58UgCsTaj +7j8TavNdbU5PXSWyk8WHoYZJMEefLypvARa8g0xDYq3S7MomTIIulS/p/pD2RVA6 +th8SrjBiIvI7OrNP2TyYbZbVGit64+03+YIiCr8UUqA+a4FZlOzvWo9pHsErb/9a +uQeQ2ICS6ZnrLNHcNY/mppUW4TfEn6kCAwEAAaNTMFEwHQYDVR0OBBYEFGZEJEsY +Y4TL3Q2UMm1CfJNywqJuMB8GA1UdIwQYMBaAFGZEJEsYY4TL3Q2UMm1CfJNywqJu +MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAITdEJjIwNhzPomS +ybcf1MES4zHSzQNmE6eRgKrB3V7qKANyjaav8vuDaH5drs5cEs+r/uheuVEQFrSV +Jk4zLllo3XTdOE2Hydjzxy7Ztqel11hA8dD5tgdJBDxLj4lMbgAbMBWTfH2VjGYC +xPtr8dV9kH2/91sJixRgKBVZ5ywzbqPIZU3iraXe8VOd9Uj+hDrNomAXJFrI/QV4 +81bEvHwTmBHWU+plTu0YyhlBkW5byScFZNek5eOxI721phnog/t9UDbsi20mrH0e +iLfJ169LZ3yAWGy4NRq3oQnJUalu3HwlZr0fp0Eih0t7CD5O8Lt4ymN7EywrrI7J +VnR5yZU= +-----END CERTIFICATE----- diff --git a/services/10-nineapache/volume/ssl/selfsigned.key b/services/10-nineapache/volume/ssl/selfsigned.key new file mode 100644 index 0000000..fb22b8a --- /dev/null +++ b/services/10-nineapache/volume/ssl/selfsigned.key @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCi3xNW44nmjACl +e3vW5RDxkkLadoBX67GMIy2hZ0/iclLTWwCrQFMbAUjizAvnATJbkMr9ROvcXi/v +L/UIJJqb1MP5yct9v4VNQFUsc31Ou8GR1rrI8eNPPbRy5icpg0JI7yp7IS6D0l0E +w92wNR0nDMrspqnV5VEyB5t8aDpovvU/ufFIArE2o+4/E2rzXW1OT10lspPFh6GG +STBHny8qbwEWvINMQ2Kt0uzKJkyCLpUv6f6Q9kVQOrYfEq4wYiLyOzqzT9k8mG2W +1RoreuPtN/mCIgq/FFKgPmuBWZTs71qPaR7BK2//WrkHkNiAkumZ6yzR3DWP5qaV +FuE3xJ+pAgMBAAECggEAONndCktKa2sbHqhHxe8XRvti0pbinc3rn5r35osFW2nE +d3ogdaZyW87K/j9zOCM2zLdx444XNki6OqdmxHziatqNvbcujKo5gYmfMXDuoHjx +TFLDyDiGu7YyMpkbumXS0VqKXYhrkB/x0CP+Ue94SZUxkAFs7vioqun04CwRl1Xh +8Z0fU8IFSP1gEOmJMk1nLfCcYPdgsVDWNauhe1NAPCoZQGGYGfuGI6aBERy7vkAD +S5kt7SAnhznXbo2K1hNHuj2exOLUpjWUeA7k/pyiIuK+PBoizB0nOgGClvOY9TCu +il8jljLyH2lHeNhO1q6e+mu2oggjfozbMD5NcwduMQKBgQDGgj7+5fzhYtziFJOC +DtCDgOEx8F7WxluxwuniG+WasnrpvF3mERQfj+Lx1X4gSSiZBu/ygq+e+NVuw6oL +XNYyArvzsH+Ti9xzXhdJA0ujPXwoQ9km7GrM16x/OJGmA8Ruj7Xi5FSaP1mQeZze +6JttYTVLw2vOe+4OQpxRSSe/FwKBgQDSCp4TRh7HJ3/cx/VMt1r8YvD8O/RrS+Df +zKmTp57zaua8aVVXw34LN5RXnpom/zE1dg2uV0Lh4hneNEZgcm6OcJQrofkfrMUr +LJKyym635VmYOmLdZYfHU3YpyJmPSb9+VwObPN9WGqgMMhoG8b7AeTqLihait5OA +I0gj2+/PPwKBgGGeAySOLMEZQM3cmH1Ik7lXU2afccPkX4sW8rTCSzK7uj3e574P +f/nVZCDQf+mYkGJQSwbSxVJDw5FonuJfkOWe+pZnoRUJnisNhh3dhQCNZ9TVKKA/ +enWpSaZ2RwmAqMRF34foCMKhjIXDiCUF9gjf2LmdLBKqVvKkRwKiGu2ZAoGBAMbo +VSBthBIXnueG2Q8IiHqAfDRx1pqRpehqmaCB2W4tK0r7+Vz+fevDe5CqWtNZUdGN +9ZDHhEgDZXnfSVJmq7nqdPcJEbHkXGfxcw8r00QFRx55FE0TrEygBkO1e26NaXIM +lxa4w8t3vPKns6wl3P3LEB067Qq1DFMJlnSXAHfjAoGAAPbkr4ETFLswU/qdWAag +mp5l2q7lAr9WUW+grJsY7PAc+RWvYiqs8zSyqIP39FyiwCdvJbQ7yhmUUI4Xsap+ +sseQwQ77KvZbAmbaht/8CCEpEvIunlmDPPvdmC2aBjjiXPCdfuI9oZW1vHg+DMR0 +EJyRdCAFQ4+712mehLzSSFQ= +-----END PRIVATE KEY----- diff --git a/services/40-keycloak/dicos/.env.dicos b/services/40-keycloak/dicos/.env.dicos new file mode 100644 index 0000000..895776a --- /dev/null +++ b/services/40-keycloak/dicos/.env.dicos @@ -0,0 +1,2 @@ +templates=services/40-keycloak/tmpl/realm-export.json, +destinations=services/40-keycloak/volume/realm/realm-export.json diff --git a/services/40-keycloak/dockercompose/dockercompose.yml b/services/40-keycloak/dockercompose/dockercompose.yml index ae554d1..58b81ce 100644 --- a/services/40-keycloak/dockercompose/dockercompose.yml +++ b/services/40-keycloak/dockercompose/dockercompose.yml @@ -14,6 +14,7 @@ - 8443:8443 volumes: - ./services/40-keycloak/volume/realm:/opt/keycloak/data/import + - ./services/40-keycloak/volume/nine:/nine command: - start - --import-realm diff --git a/services/40-keycloak/env/.env b/services/40-keycloak/env/.env index d353446..404a3df 100644 --- a/services/40-keycloak/env/.env +++ b/services/40-keycloak/env/.env @@ -9,16 +9,14 @@ KC_DB_URL=jdbc:mariadb://${MARIADB_HOST}:${MARIADB_PORT}/keycloak KC_DB_USERNAME=${MARIADB_USER} KC_DB_PASSWORD=${MARIADB_PASSWORD} -#KC_HTTPS_CERTIFICATE_FILE=/nine/server.crt.pem -#KC_HTTPS_CERTIFICATE_KEY_FILE=/nine/server.key.pem +KC_HTTPS_CERTIFICATE_FILE=/nine/server.crt.pem +KC_HTTPS_CERTIFICATE_KEY_FILE=/nine/server.key.pem KC_HOSTNAME_PATH=/auth #KC_HOSTNAME=nine.local -#KC_PROXY_ADDRESS_FORWARDING=true -#KC_PROXY_HEADERS=xforwarded +KC_PROXY_ADDRESS_FORWARDING=true +KC_PROXY_HEADERS=xforwarded KC_HTTP_PORT=8999 KC_HTTP_ENABLED=true KC_HOSTNAME_STRICT=false -#KC_IMPORT=/nine/realm-export.json - diff --git a/services/40-keycloak/volume/realm/realm-export.json b/services/40-keycloak/tmpl/realm-export.json similarity index 87% rename from services/40-keycloak/volume/realm/realm-export.json rename to services/40-keycloak/tmpl/realm-export.json index e5d2057..5c4f3d2 100644 --- a/services/40-keycloak/volume/realm/realm-export.json +++ b/services/40-keycloak/tmpl/realm-export.json @@ -1,11 +1,13 @@ { - "id": "2407b355-daf8-46ca-bc9d-01d3a1295c2a", + "id": "8c01436d-9073-418c-940e-6b6178066782", "realm": "nine", + "displayName": "Keycloak", + "displayNameHtml": "
Nine
", "notBefore": 0, "defaultSignatureAlgorithm": "RS256", "revokeRefreshToken": false, "refreshTokenMaxReuse": 0, - "accessTokenLifespan": 300, + "accessTokenLifespan": 60, "accessTokenLifespanForImplicitFlow": 900, "ssoSessionIdleTimeout": 1800, "ssoSessionMaxLifespan": 36000, @@ -45,12 +47,12 @@ "maxDeltaTimeSeconds": 43200, "failureFactor": 30, "defaultRole": { - "id": "6cb908f8-9537-432f-bc7c-fe6c7442b2a9", + "id": "c6cb73d9-9ced-4620-8c2a-f03306b7d0a2", "name": "default-roles-nine", "description": "${role_default-roles}", "composite": true, "clientRole": false, - "containerId": "2407b355-daf8-46ca-bc9d-01d3a1295c2a" + "containerId": "8c01436d-9073-418c-940e-6b6178066782" }, "requiredCredentials": [ "password" @@ -115,7 +117,7 @@ }, "clients": [ { - "id": "3bfae8ab-c16e-4d3f-b2c7-843f364249ec", + "id": "233d4e12-e0f2-4ac9-83ff-d83e408c41b1", "clientId": "account", "name": "${client_account}", "rootUrl": "${authBaseUrl}", @@ -146,31 +148,18 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "6658a02c-3838-4424-98cc-33bfed17efc0", - "name": "family name", + "id": "948e92a9-d96a-4b75-9300-bb4ddf11166c", + "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" } }, { - "id": "4eaee96f-23e5-483f-b03b-7b4c69066dcb", - "name": "given name", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "firstName", - "claim.name": "givenName", - "jsonType.label": "String" - } - }, - { - "id": "6d3dc826-5cc1-45ed-84b4-db132f7c6276", + "id": "0493b3b4-6b22-47ca-8942-77b0d6f6b4c0", "name": "email", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -182,13 +171,26 @@ } }, { - "id": "ccce853f-cee5-4f59-8f3b-6ecc06058759", - "name": "full name", + "id": "f3c849e4-0e9e-4e64-a177-f58506a50942", + "name": "given name", "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", + "protocolMapper": "cas-usermodel-property-mapper", "consentRequired": false, "config": { - "claim.name": "cn", + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "id": "c85e0aee-70df-4684-897a-178221e01856", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", "jsonType.label": "String" } } @@ -208,7 +210,7 @@ ] }, { - "id": "7a2c1b44-9f42-4cd5-831e-a1c54a0383a1", + "id": "b5094515-d074-49df-8354-11aa5a748f39", "clientId": "account-console", "name": "${client_account-console}", "rootUrl": "${authBaseUrl}", @@ -240,19 +242,18 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "6701d95e-fb96-4f05-91b7-1eb1558f7307", - "name": "email", + "id": "689cb46e-9af9-4967-97c8-c44dcc96fd9d", + "name": "full name", "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", + "protocolMapper": "cas-full-name-mapper", "consentRequired": false, "config": { - "user.attribute": "email", - "claim.name": "mail", + "claim.name": "cn", "jsonType.label": "String" } }, { - "id": "b8a0eb0e-2eff-4f87-bdad-b8f1c34b488d", + "id": "d798371a-1b03-4dd7-8b35-2dc736cfb384", "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -264,18 +265,7 @@ } }, { - "id": "5ad3808e-65ce-41e9-8d20-2748ce71d842", - "name": "full name", - "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", - "consentRequired": false, - "config": { - "claim.name": "cn", - "jsonType.label": "String" - } - }, - { - "id": "491f034b-eeaf-4977-a602-692042506f78", + "id": "f9e1aaf2-6bf5-4652-9f37-4c3c94a5d6b9", "name": "audience resolve", "protocol": "openid-connect", "protocolMapper": "oidc-audience-resolve-mapper", @@ -283,7 +273,19 @@ "config": {} }, { - "id": "06083be1-2f2c-4d64-95ff-0203d115bc48", + "id": "528c18f8-2a2e-44fa-9429-77bdd8d679e9", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } + }, + { + "id": "93f8c307-5296-4773-82f9-b2791c2302d7", "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -310,7 +312,7 @@ ] }, { - "id": "b4ce76e7-28d2-41c0-9cc4-46ef8f33c01e", + "id": "64bd651e-62b0-4d4c-846d-d41a64e9168d", "clientId": "admin-cli", "name": "${client_admin-cli}", "surrogateAuthRequired": false, @@ -335,19 +337,30 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "989f0899-4b11-4bf2-8c5f-1255a0d90860", - "name": "family name", + "id": "b07a89df-98e3-4ed1-8611-4be22376db88", + "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" } }, { - "id": "12b6500b-b961-4c4c-babc-ea82af98863e", + "id": "24437aa5-70c3-42d8-b279-9e9775de8bd1", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } + }, + { + "id": "7c3eb243-db59-4f9d-a230-f26162d7fde1", "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -359,25 +372,14 @@ } }, { - "id": "817bcf8b-13e9-4442-806f-144c95c2b4a4", - "name": "full name", - "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", - "consentRequired": false, - "config": { - "claim.name": "cn", - "jsonType.label": "String" - } - }, - { - "id": "0b49b7e8-4990-43f5-8986-33e042bbc1dd", - "name": "email", + "id": "aaf9c300-14af-4999-a0f6-cd01363d6f2c", + "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", "consentRequired": false, "config": { - "user.attribute": "email", - "claim.name": "mail", + "user.attribute": "lastName", + "claim.name": "sn", "jsonType.label": "String" } } @@ -397,7 +399,7 @@ ] }, { - "id": "ff7a4eed-e7ec-4a70-aa89-55d0554cefc2", + "id": "29badf9a-5911-4c4c-a3bb-544e53a39603", "clientId": "broker", "name": "${client_broker}", "surrogateAuthRequired": false, @@ -422,19 +424,7 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "c132d347-b150-4f59-aa8f-3ec41dfa127e", - "name": "email", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "email", - "claim.name": "mail", - "jsonType.label": "String" - } - }, - { - "id": "d0fe171d-41d9-4099-8d95-2c357c24a6cd", + "id": "38457dea-3c4d-45f7-9e57-bf57c21125cf", "name": "full name", "protocol": "cas", "protocolMapper": "cas-full-name-mapper", @@ -445,7 +435,19 @@ } }, { - "id": "f8036821-0577-458d-b26e-e29711f7ea07", + "id": "475e052f-bda8-4fbc-b0d8-90e1dd60cf5a", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", + "jsonType.label": "String" + } + }, + { + "id": "d2ce31a8-bd06-4f59-ad2b-f0c99950eb13", "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -457,14 +459,14 @@ } }, { - "id": "13f48c67-24db-4f8b-8124-5d42b199accc", - "name": "family name", + "id": "6f1164c7-2b43-4957-a174-42e311dc2b2b", + "name": "email", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", "consentRequired": false, "config": { - "user.attribute": "lastName", - "claim.name": "sn", + "user.attribute": "email", + "claim.name": "mail", "jsonType.label": "String" } } @@ -484,19 +486,56 @@ ] }, { - "id": "88f3fcab-413e-4256-a2ac-b78f2488a225", + "id": "d1f15fb9-2780-44b7-b673-317bde459ee3", + "clientId": "nine-realm", + "name": "Nine Realm", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "redirectUris": [], + "webOrigins": [], + "notBefore": 0, + "bearerOnly": true, + "consentRequired": false, + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "serviceAccountsEnabled": false, + "publicClient": false, + "frontchannelLogout": false, + "attributes": {}, + "authenticationFlowBindingOverrides": {}, + "fullScopeAllowed": false, + "nodeReRegistrationTimeout": 0, + "defaultClientScopes": [ + "web-origins", + "acr", + "roles", + "profile", + "email" + ], + "optionalClientScopes": [ + "address", + "phone", + "offline_access", + "microprofile-jwt" + ] + }, + { + "id": "0369c3c4-5619-458d-9968-474ce7468e36", "clientId": "nine", - "name": "Nine", + "name": "", "description": "", - "rootUrl": "http://nine.local", - "adminUrl": "http://nine.local", - "baseUrl": "http://nine.local", + "rootUrl": "https://nine.local", + "adminUrl": "https://nine.local", + "baseUrl": "https://nine.local", "surrogateAuthRequired": false, "enabled": true, "alwaysDisplayInConsole": false, "clientAuthenticatorType": "client-secret", "redirectUris": [ - "http://nine.local/*" + "https://nine.local/*" ], "webOrigins": [], "notBefore": 0, @@ -515,31 +554,18 @@ "nodeReRegistrationTimeout": -1, "protocolMappers": [ { - "id": "3e95b580-6c3e-4c62-8594-0ea398e76b7e", - "name": "given name", + "id": "51dda658-3bda-4426-a2ac-4a4116d47c5b", + "name": "full name", "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", + "protocolMapper": "cas-full-name-mapper", "consentRequired": false, "config": { - "user.attribute": "firstName", - "claim.name": "givenName", + "claim.name": "cn", "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", + "id": "b0ef29ec-43e6-4de1-a32a-428b8cc9256f", "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -551,13 +577,26 @@ } }, { - "id": "b5e2451e-84cd-4c00-8b19-3397982a303f", - "name": "full name", + "id": "2513a533-dd8a-4ac9-a5e4-a112782747c2", + "name": "given name", "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", + "protocolMapper": "cas-usermodel-property-mapper", "consentRequired": false, "config": { - "claim.name": "cn", + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "id": "53ade622-b842-40ab-9865-2d915edb33a9", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", "jsonType.label": "String" } } @@ -566,94 +605,7 @@ "optionalClientScopes": [] }, { - "id": "7d99e3fa-da2f-45af-8b05-0a39220555ff", - "clientId": "realm-management", - "name": "${client_realm-management}", - "surrogateAuthRequired": false, - "enabled": true, - "alwaysDisplayInConsole": false, - "clientAuthenticatorType": "client-secret", - "redirectUris": [], - "webOrigins": [], - "notBefore": 0, - "bearerOnly": true, - "consentRequired": false, - "standardFlowEnabled": true, - "implicitFlowEnabled": false, - "directAccessGrantsEnabled": false, - "serviceAccountsEnabled": false, - "publicClient": false, - "frontchannelLogout": false, - "protocol": "openid-connect", - "attributes": {}, - "authenticationFlowBindingOverrides": {}, - "fullScopeAllowed": false, - "nodeReRegistrationTimeout": 0, - "protocolMappers": [ - { - "id": "ca6197e9-624f-409b-bd7b-221a0cad32d7", - "name": "given name", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "firstName", - "claim.name": "givenName", - "jsonType.label": "String" - } - }, - { - "id": "cb37aa49-6b95-4593-b021-f5e0e6f07ac6", - "name": "family name", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "lastName", - "claim.name": "sn", - "jsonType.label": "String" - } - }, - { - "id": "4dbe8a0e-4ab5-453e-a304-8a1f7c97a2b9", - "name": "email", - "protocol": "cas", - "protocolMapper": "cas-usermodel-property-mapper", - "consentRequired": false, - "config": { - "user.attribute": "email", - "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": [ - "web-origins", - "acr", - "roles", - "profile", - "email" - ], - "optionalClientScopes": [ - "address", - "phone", - "offline_access", - "microprofile-jwt" - ] - }, - { - "id": "282838e8-ecd4-4a42-8734-2c0e2233e8ff", + "id": "f2669799-582f-4b47-af83-3d6e038ab26f", "clientId": "security-admin-console", "name": "${client_security-admin-console}", "rootUrl": "${authAdminUrl}", @@ -687,7 +639,7 @@ "nodeReRegistrationTimeout": 0, "protocolMappers": [ { - "id": "ade4d6a5-ce0c-49c9-841c-3898ab933aa4", + "id": "f82de958-ae41-4c7d-a083-6e2d50c5a7d7", "name": "locale", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", @@ -703,30 +655,19 @@ } }, { - "id": "28a3eeb1-54fa-4157-a56a-7a69817d8a9d", - "name": "given name", + "id": "a03ae4fe-184c-4d69-9406-d09c14679b75", + "name": "email", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", "consentRequired": false, "config": { - "user.attribute": "firstName", - "claim.name": "givenName", + "user.attribute": "email", + "claim.name": "mail", "jsonType.label": "String" } }, { - "id": "355343c0-2e5c-4654-ae78-22ca069624f3", - "name": "full name", - "protocol": "cas", - "protocolMapper": "cas-full-name-mapper", - "consentRequired": false, - "config": { - "claim.name": "cn", - "jsonType.label": "String" - } - }, - { - "id": "e420940d-90fb-4549-9d13-1480d1bee174", + "id": "a6df64fe-f3cb-4f4f-81fa-a07f97cc3f81", "name": "family name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", @@ -738,14 +679,25 @@ } }, { - "id": "fce97a94-3023-494b-931e-ccf85c6aa319", - "name": "email", + "id": "1550aa6b-3498-4b21-9585-0744b340ab26", + "name": "given name", "protocol": "cas", "protocolMapper": "cas-usermodel-property-mapper", "consentRequired": false, "config": { - "user.attribute": "email", - "claim.name": "mail", + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "id": "9c698b95-7793-43af-9fd4-6ea8d1e77f0f", + "name": "full name", + "protocol": "cas", + "protocolMapper": "cas-full-name-mapper", + "consentRequired": false, + "config": { + "claim.name": "cn", "jsonType.label": "String" } } @@ -767,7 +719,7 @@ ], "clientScopes": [ { - "id": "a56ada84-cd21-49b5-97dd-254d3cb1db69", + "id": "44f5b9b0-613d-474b-a01f-4a0034dfcbf0", "name": "address", "description": "OpenID Connect built-in scope: address", "protocol": "openid-connect", @@ -778,7 +730,7 @@ }, "protocolMappers": [ { - "id": "e82deda4-9018-4d61-9837-41d886489d9d", + "id": "7fca379b-3748-448d-a3bc-b5594ba9a4d1", "name": "address", "protocol": "openid-connect", "protocolMapper": "oidc-address-mapper", @@ -799,150 +751,7 @@ ] }, { - "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", - "attributes": { - "include.in.token.scope": "true", - "display.on.consent.screen": "true", - "consent.screen.text": "${emailScopeConsentText}" - }, - "protocolMappers": [ - { - "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", - "access.token.claim": "true", - "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": "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", + "id": "f7c624a7-450e-4d80-9c79-7ffc13253ef1", "name": "role_list", "description": "SAML role list", "protocol": "saml", @@ -952,7 +761,7 @@ }, "protocolMappers": [ { - "id": "512f7f7c-6bb9-4b95-b43d-d12e3730ed5f", + "id": "0b0c0090-6428-4f0d-9b4e-aa16a95aca86", "name": "role list", "protocol": "saml", "protocolMapper": "saml-role-list-mapper", @@ -966,7 +775,85 @@ ] }, { - "id": "0af35491-1345-46b7-9195-ea295e444e43", + "id": "1aecf9c9-4cfb-4d38-b2c7-b123c0b70f3c", + "name": "acr", + "description": "OpenID Connect scope for add acr (authentication context class reference) to the token", + "protocol": "openid-connect", + "attributes": { + "include.in.token.scope": "false", + "display.on.consent.screen": "false" + }, + "protocolMappers": [ + { + "id": "9b0fccab-e157-458a-b8ee-588f4e6749f7", + "name": "acr loa level", + "protocol": "openid-connect", + "protocolMapper": "oidc-acr-mapper", + "consentRequired": false, + "config": { + "id.token.claim": "true", + "access.token.claim": "true", + "introspection.token.claim": "true" + } + } + ] + }, + { + "id": "3f5c736b-6ee5-4b62-a8f3-9c5ce50c590b", + "name": "offline_access", + "description": "OpenID Connect built-in scope: offline_access", + "protocol": "openid-connect", + "attributes": { + "consent.screen.text": "${offlineAccessScopeConsentText}", + "display.on.consent.screen": "true" + } + }, + { + "id": "108a7d33-774c-43e0-b53a-11bc47e370b1", + "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": "08b725cb-24b7-40f8-84b2-06c1f603b6dd", + "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": "74767889-becd-41c1-9f73-a95696e3a50a", + "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": "dbb54e59-442b-4ba7-a57e-a7bfa1a69639", "name": "phone", "description": "OpenID Connect built-in scope: phone", "protocol": "openid-connect", @@ -977,7 +864,7 @@ }, "protocolMappers": [ { - "id": "1c535cc4-a6c6-46f7-b961-9bfc4817f278", + "id": "141307b6-f544-4952-aa08-bd25c5cbb064", "name": "phone number verified", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", @@ -993,7 +880,7 @@ } }, { - "id": "22f5d8af-ca6f-4dbf-9971-6d5cbdf23ea8", + "id": "2ba0989c-e084-4a1c-b61d-b16e8163075a", "name": "phone number", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", @@ -1011,55 +898,61 @@ ] }, { - "id": "86d78f52-dc07-4b24-ae97-a5a948da9fff", - "name": "web-origins", - "description": "OpenID Connect scope for add allowed web origins to the access token", + "id": "a0bcda9b-a848-4b56-8e20-c04002a34275", + "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": "false", - "consent.screen.text": "" + "display.on.consent.screen": "true", + "consent.screen.text": "${rolesScopeConsentText}" }, "protocolMappers": [ { - "id": "0307a122-1a8d-445c-9583-a3a298a67260", - "name": "allowed web origins", + "id": "4144f3eb-7963-4a18-a3dd-e269042ee8e5", + "name": "realm roles", "protocol": "openid-connect", - "protocolMapper": "oidc-allowed-origins-mapper", + "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": "f94cef89-ceec-4644-b61b-08d13f8107ab", + "name": "audience resolve", + "protocol": "openid-connect", + "protocolMapper": "oidc-audience-resolve-mapper", "consentRequired": false, "config": { "access.token.claim": "true", "introspection.token.claim": "true" } - } - ] - }, - { - "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": "false", - "display.on.consent.screen": "false" - }, - "protocolMappers": [ + }, { - "id": "c0b51de0-c048-4ce0-8cbe-77a7465b4957", - "name": "acr loa level", + "id": "8bdd8757-4f3b-4e81-89af-84771ba5f27f", + "name": "client roles", "protocol": "openid-connect", - "protocolMapper": "oidc-acr-mapper", + "protocolMapper": "oidc-usermodel-client-role-mapper", "consentRequired": false, "config": { - "id.token.claim": "true", + "introspection.token.claim": "true", + "multivalued": "true", + "user.attribute": "foo", "access.token.claim": "true", - "introspection.token.claim": "true" + "claim.name": "resource_access.${client_id}.roles", + "jsonType.label": "String" } } ] }, { - "id": "4777e333-60ef-4bf0-82c6-7f62e48e8675", + "id": "30fc2b82-026a-4633-b44b-9aa00fad5dd2", "name": "profile", "description": "OpenID Connect built-in scope: profile", "protocol": "openid-connect", @@ -1070,68 +963,7 @@ }, "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", + "id": "70d3b52d-e817-4530-8f39-c78fd36dd2ec", "name": "given name", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", @@ -1147,103 +979,23 @@ } }, { - "id": "d5516484-9a88-4f23-8790-3e9a620c1fa4", - "name": "website", + "id": "3981e8a2-b98c-4b5b-a829-a6c7a78e78aa", + "name": "picture", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", "consentRequired": false, "config": { "introspection.token.claim": "true", "userinfo.token.claim": "true", - "user.attribute": "website", + "user.attribute": "picture", "id.token.claim": "true", "access.token.claim": "true", - "claim.name": "website", + "claim.name": "picture", "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", + "id": "b8ff8f12-b4ad-4824-b80e-3ed24d2cf0d5", "name": "username", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", @@ -1259,7 +1011,23 @@ } }, { - "id": "0cb0ec7e-78b9-416b-9ba4-8de396f54370", + "id": "f57f5e63-76e6-49cd-a626-6a1719178bb6", + "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": "93e59cd5-58da-4bc1-85bd-b3c30f22672c", "name": "locale", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", @@ -1275,7 +1043,39 @@ } }, { - "id": "018321b8-f748-45f0-ab77-507f90771ba2", + "id": "3d5e9f25-6957-47a6-adf6-28dce56cde6c", + "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": "b382c7d1-7eee-4116-a559-cc1b7995c02a", + "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": "b0f598b6-4423-4851-9340-af4b4ce2372c", "name": "updated at", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-attribute-mapper", @@ -1289,33 +1089,185 @@ "claim.name": "updated_at", "jsonType.label": "long" } + }, + { + "id": "1b46128d-59cf-4784-919a-6b6d239a7cb3", + "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": "3ecceb6a-19af-4dac-800d-02e1bf5e583c", + "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": "731c33ad-e095-4773-ad96-6d7d15f6ca6a", + "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": "5644efe6-3b6f-4da6-9a24-1050e187373d", + "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": "0b74b6fc-dd25-49c9-92b3-4c0c24c0f400", + "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": "0da3ead5-e8da-44d4-b305-202250b8ba8e", + "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": "b4d66c90-2b7d-4b8c-b0b6-3a1da68fbbe5", - "name": "offline_access", - "description": "OpenID Connect built-in scope: offline_access", + "id": "472d994e-e8b6-488e-b0dd-c22683a7288a", + "name": "email", + "description": "OpenID Connect built-in scope: email", "protocol": "openid-connect", "attributes": { - "consent.screen.text": "${offlineAccessScopeConsentText}", - "display.on.consent.screen": "true" - } + "include.in.token.scope": "true", + "display.on.consent.screen": "true", + "consent.screen.text": "${emailScopeConsentText}" + }, + "protocolMappers": [ + { + "id": "94581337-8186-4eed-b4a7-15dde470a949", + "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", + "access.token.claim": "true", + "claim.name": "email_verified", + "jsonType.label": "boolean" + } + }, + { + "id": "789c447c-c5d4-41d1-bc57-f333fad86b3f", + "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": "f1befe1c-6a3d-4407-afce-bd5323b3617a", + "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": "9d42f847-50ea-4d25-b7c5-1390606a935d", + "name": "allowed web origins", + "protocol": "openid-connect", + "protocolMapper": "oidc-allowed-origins-mapper", + "consentRequired": false, + "config": { + "access.token.claim": "true", + "introspection.token.claim": "true" + } + } + ] } ], "defaultDefaultClientScopes": [ - "email", - "profile", - "role_list", - "web-origins", "acr", - "roles" + "profile", + "email", + "roles", + "web-origins", + "role_list" ], "defaultOptionalClientScopes": [ - "phone", "microprofile-jwt", + "offline_access", "address", - "offline_access" + "phone" ], "browserSecurityHeaders": { "contentSecurityPolicyReportOnly": "", @@ -1323,8 +1275,8 @@ "referrerPolicy": "no-referrer", "xRobotsTag": "none", "xFrameOptions": "SAMEORIGIN", - "contentSecurityPolicy": "frame-src 'self'; frame-ancestors 'self'; object-src 'none';", "xXSSProtection": "1; mode=block", + "contentSecurityPolicy": "frame-src 'self'; frame-ancestors 'self'; object-src 'none';", "strictTransportSecurity": "max-age=31536000; includeSubDomains" }, "smtpServer": {}, @@ -1340,26 +1292,7 @@ "components": { "org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy": [ { - "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", + "id": "23af680b-0b89-4857-b4f7-350b6c2e220d", "name": "Full Scope Disabled", "providerId": "scope", "subType": "anonymous", @@ -1367,19 +1300,7 @@ "config": {} }, { - "id": "8ebc08e2-228c-496e-b7da-69dc42c92a14", - "name": "Max Clients Limit", - "providerId": "max-clients", - "subType": "anonymous", - "subComponents": {}, - "config": { - "max-clients": [ - "200" - ] - } - }, - { - "id": "d9da6ad4-6e3d-41a1-8c32-1c69cbe57056", + "id": "cdc6000c-d869-49cf-952d-4da8f1d415fb", "name": "Trusted Hosts", "providerId": "trusted-hosts", "subType": "anonymous", @@ -1394,15 +1315,38 @@ } }, { - "id": "19a31115-929c-4ed8-b283-05f66859950f", - "name": "Consent Required", - "providerId": "consent-required", + "id": "b5dc34f8-d83b-46e1-8937-f99477889e3d", + "name": "Allowed Protocol Mapper Types", + "providerId": "allowed-protocol-mappers", "subType": "anonymous", "subComponents": {}, - "config": {} + "config": { + "allowed-protocol-mapper-types": [ + "oidc-address-mapper", + "saml-user-attribute-mapper", + "oidc-usermodel-attribute-mapper", + "saml-user-property-mapper", + "saml-role-list-mapper", + "oidc-full-name-mapper", + "oidc-usermodel-property-mapper", + "oidc-sha256-pairwise-sub-mapper" + ] + } }, { - "id": "5b81e0dc-b3fc-4321-b528-1230c59ff88a", + "id": "70694b72-a05c-4333-b5a9-e999b8c94baf", + "name": "Max Clients Limit", + "providerId": "max-clients", + "subType": "anonymous", + "subComponents": {}, + "config": { + "max-clients": [ + "200" + ] + } + }, + { + "id": "e744782e-3ad6-43e5-b833-492954f741f3", "name": "Allowed Client Scopes", "providerId": "allowed-client-templates", "subType": "anonymous", @@ -1414,26 +1358,15 @@ } }, { - "id": "184f2264-c100-44ac-a834-a90beb294ad8", - "name": "Allowed Protocol Mapper Types", - "providerId": "allowed-protocol-mappers", + "id": "f4f0c4a7-3c81-47bc-a1f7-e064ade250a0", + "name": "Consent Required", + "providerId": "consent-required", "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" - ] - } + "config": {} }, { - "id": "a65ea735-a7bd-4ba8-8503-0662f4f4b1b0", + "id": "a458c0dd-a4b1-4f81-a1a3-f96e1d6876e7", "name": "Allowed Client Scopes", "providerId": "allowed-client-templates", "subType": "authenticated", @@ -1443,54 +1376,61 @@ "true" ] } + }, + { + "id": "4fe5808b-36cf-4d06-a450-f34ab07b1fc7", + "name": "Allowed Protocol Mapper Types", + "providerId": "allowed-protocol-mappers", + "subType": "authenticated", + "subComponents": {}, + "config": { + "allowed-protocol-mapper-types": [ + "saml-user-attribute-mapper", + "oidc-sha256-pairwise-sub-mapper", + "oidc-usermodel-property-mapper", + "oidc-address-mapper", + "oidc-full-name-mapper", + "saml-user-property-mapper", + "oidc-usermodel-attribute-mapper", + "saml-role-list-mapper" + ] + } } ], "org.keycloak.storage.UserStorageProvider": [ { - "id": "07d754b4-9a08-42ff-af19-ab7bab41c5bc", + "id": "ec9f5ff8-7e9f-4bc3-a497-40d2529f230c", "name": "ldap", "providerId": "ldap", "subComponents": { "org.keycloak.storage.ldap.mappers.LDAPStorageMapper": [ { - "id": "48289bfe-8856-48ea-855c-0cca71b4b782", - "name": "last name", - "providerId": "user-attribute-ldap-mapper", + "id": "675c4ceb-ad7e-4ad1-9248-9bd1baff6c0e", + "name": "MSAD account controls", + "providerId": "msad-user-account-control-mapper", "subComponents": {}, "config": { - "ldap.attribute": [ - "sn" - ], - "is.mandatory.in.ldap": [ + "always.read.enabled.value.from.ldap": [ "true" - ], - "always.read.value.from.ldap": [ - "true" - ], - "read.only": [ - "false" - ], - "user.model.attribute": [ - "lastName" ] } }, { - "id": "2c89c6af-a7f3-4659-8bf7-48a077dafcb3", + "id": "e5364a67-473c-4b4f-8a0e-b1b20f96b2cc", "name": "username", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, "config": { "ldap.attribute": [ - "uid" + "${LDAP_USERNAME}" ], "is.mandatory.in.ldap": [ "true" ], - "always.read.value.from.ldap": [ + "read.only": [ "false" ], - "read.only": [ + "always.read.value.from.ldap": [ "false" ], "user.model.attribute": [ @@ -1499,30 +1439,53 @@ } }, { - "id": "3aa14e04-5eaf-42fe-a5ef-49bdf5014bb7", - "name": "first name", + "id": "56f2e0ab-bb99-40b7-95ed-def5758724b0", + "name": "creation date", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, "config": { "ldap.attribute": [ - "cn" + "whenCreated" ], "is.mandatory.in.ldap": [ - "true" - ], - "read.only": [ "false" ], "always.read.value.from.ldap": [ "true" ], + "read.only": [ + "true" + ], "user.model.attribute": [ - "firstName" + "createTimestamp" ] } }, { - "id": "e543cb04-35fa-4e22-b0ae-68d49e781771", + "id": "a74b9186-df91-40c9-8862-74088daa11b4", + "name": "email", + "providerId": "user-attribute-ldap-mapper", + "subComponents": {}, + "config": { + "ldap.attribute": [ + "${LDAP_EMAIL}" + ], + "is.mandatory.in.ldap": [ + "false" + ], + "read.only": [ + "false" + ], + "always.read.value.from.ldap": [ + "false" + ], + "user.model.attribute": [ + "email" + ] + } + }, + { + "id": "6ea199ee-b4f8-4610-b52d-3fe8b24e731d", "name": "modify date", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, @@ -1545,100 +1508,60 @@ } }, { - "id": "1fb68e47-6ea2-4553-92af-8a0be592c5cc", - "name": "uid", + "id": "8ed3a4f0-3c65-48fb-8d4b-60ca8c256893", + "name": "last name", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, "config": { "ldap.attribute": [ - "uid" - ], - "attribute.force.default": [ - "true" + "${LDAP_LASTNAME}" ], "is.mandatory.in.ldap": [ - "false" - ], - "is.binary.attribute": [ - "false" - ], - "always.read.value.from.ldap": [ - "false" - ], - "read.only": [ - "false" - ], - "user.model.attribute": [ - "uid" - ] - } - }, - { - "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" + "true" ], "user.model.attribute": [ - "email" + "lastName" ] } }, { - "id": "3171dc5b-d99e-4035-a2ff-2f03fe65f2a1", - "name": "creation date", + "id": "7993f193-0dd8-4901-8568-d19f5071be4c", + "name": "first name", "providerId": "user-attribute-ldap-mapper", "subComponents": {}, "config": { "ldap.attribute": [ - "whenCreated" + "${LDAP_FIRSTNAME}" ], "is.mandatory.in.ldap": [ + "true" + ], + "read.only": [ "false" ], "always.read.value.from.ldap": [ "true" ], - "read.only": [ - "true" - ], "user.model.attribute": [ - "createTimestamp" + "firstName" ] } } ] }, "config": { - "pagination": [ - "false" - ], "fullSyncPeriod": [ "-1" ], + "pagination": [ + "false" + ], "startTls": [ "false" ], @@ -1646,7 +1569,7 @@ "false" ], "usersDn": [ - "ou=users,ou=ninegate,dc=nine,dc=org" + "${LDAP_BASEUSER}" ], "cachePolicy": [ "DEFAULT" @@ -1661,13 +1584,13 @@ "true" ], "usernameLDAPAttribute": [ - "uid" - ], - "bindCredential": [ - "**********" + "${LDAP_USERNAME}" ], "bindDn": [ - "cn=admin,dc=nine,dc=org" + "${LDAP_USER}" + ], + "bindCredential": [ + "${LDAP_PASSWORD}" ], "changedSyncPeriod": [ "-1" @@ -1676,14 +1599,14 @@ "ad" ], "uuidLDAPAttribute": [ - "objectGUID" - ], - "connectionUrl": [ - "ldap://openldap:1389" + "${LDAP_USERNAME}" ], "allowKerberosAuthentication": [ "false" ], + "connectionUrl": [ + "ldap://${LDAP_HOST}:${LDAP_PORT}" + ], "syncRegistrations": [ "true" ], @@ -1694,7 +1617,7 @@ "userPrincipalName" ], "customUserSearchFilter": [ - "(&(uid=*)(objectClass=person)(!(description=Computer)))" + "" ], "searchScope": [ "2" @@ -1712,10 +1635,10 @@ "person, organizationalPerson" ], "rdnLDAPAttribute": [ - "uid" + "${LDAP_USERNAME}" ], "editMode": [ - "WRITABLE" + "READ_ONLY" ], "validatePasswordPolicy": [ "false" @@ -1723,9 +1646,46 @@ } } ], + "org.keycloak.userprofile.UserProfileProvider": [ + { + "id": "1a37be47-9d7f-4a11-9164-aec609d02ca5", + "providerId": "declarative-user-profile", + "subComponents": {}, + "config": { + "kc.user.profile.config": [ + "{\"attributes\":[{\"name\":\"username\",\"displayName\":\"${username}\",\"validations\":{\"length\":{\"min\":3,\"max\":255},\"username-prohibited-characters\":{},\"up-username-not-idn-homograph\":{}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"email\",\"displayName\":\"${email}\",\"validations\":{\"email\":{},\"length\":{\"max\":255}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"firstName\",\"displayName\":\"${firstName}\",\"validations\":{\"length\":{\"max\":255},\"person-name-prohibited-characters\":{}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"lastName\",\"displayName\":\"${lastName}\",\"validations\":{\"length\":{\"max\":255},\"person-name-prohibited-characters\":{}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false}],\"groups\":[{\"name\":\"user-metadata\",\"displayHeader\":\"User metadata\",\"displayDescription\":\"Attributes, which refer to user metadata\"}]}" + ] + } + } + ], "org.keycloak.keys.KeyProvider": [ { - "id": "df22ebed-8475-49e4-acd9-4422b395522b", + "id": "6081048e-5704-4c3b-857d-9e07abde9899", + "name": "rsa-generated", + "providerId": "rsa-generated", + "subComponents": {}, + "config": { + "priority": [ + "100" + ] + } + }, + { + "id": "2f926d8a-0ead-4a97-a067-2cf87fa21e40", + "name": "hmac-generated-hs512", + "providerId": "hmac-generated", + "subComponents": {}, + "config": { + "priority": [ + "100" + ], + "algorithm": [ + "HS512" + ] + } + }, + { + "id": "4e12d30a-0ddd-4723-a1b9-3aa8a0bee122", "name": "rsa-enc-generated", "providerId": "rsa-enc-generated", "subComponents": {}, @@ -1739,18 +1699,7 @@ } }, { - "id": "0e2648f3-0951-45fc-828b-c2eae4f9d61b", - "name": "rsa-generated", - "providerId": "rsa-generated", - "subComponents": {}, - "config": { - "priority": [ - "100" - ] - } - }, - { - "id": "deb744d6-cae4-46b4-b0ab-35e4ec4c6372", + "id": "31d61106-da3a-42c4-b6b3-b683352ebb0f", "name": "aes-generated", "providerId": "aes-generated", "subComponents": {}, @@ -1759,20 +1708,6 @@ "100" ] } - }, - { - "id": "6c9e1c1b-5dd2-4b2f-8053-bf6965ef7814", - "name": "hmac-generated-hs512", - "providerId": "hmac-generated", - "subComponents": {}, - "config": { - "priority": [ - "100" - ], - "algorithm": [ - "HS512" - ] - } } ] }, @@ -1780,7 +1715,7 @@ "supportedLocales": [], "authenticationFlows": [ { - "id": "24d76edc-f347-411a-be52-7ac99ebeca2d", + "id": "6f96a656-96bf-4dfb-ae4c-5a8f0b8b8dbd", "alias": "Account verification options", "description": "Method with which to verity the existing account", "providerId": "basic-flow", @@ -1806,7 +1741,7 @@ ] }, { - "id": "e8fcb0f3-e1d5-4ba2-9e07-61f99a150fd0", + "id": "263ef5c8-371f-497a-849d-71e99baa0e69", "alias": "Browser - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", @@ -1832,7 +1767,7 @@ ] }, { - "id": "3c1ab2d9-f204-429d-abf7-1fbb53316fa1", + "id": "bb77c574-7c8a-4b03-9621-a459eb698ab8", "alias": "Direct Grant - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", @@ -1858,7 +1793,7 @@ ] }, { - "id": "1c43d63d-8e7c-4c27-bc73-7b852f2799b7", + "id": "79e04092-ee16-4d4a-9f46-6d6fa7c3a2b2", "alias": "First broker login - Conditional OTP", "description": "Flow to determine if the OTP is required for the authentication", "providerId": "basic-flow", @@ -1884,7 +1819,7 @@ ] }, { - "id": "665744ab-da23-4646-aa24-8511bc7d0962", + "id": "20994506-5361-4b3a-bcbf-80df6479540e", "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", @@ -1910,7 +1845,7 @@ ] }, { - "id": "127b8ccf-7176-4cca-bae6-97e51b0a2279", + "id": "80bdca65-5877-4f59-87db-4f3b5f9822c3", "alias": "Reset - Conditional OTP", "description": "Flow to determine if the OTP should be reset or not. Set to REQUIRED to force.", "providerId": "basic-flow", @@ -1936,7 +1871,7 @@ ] }, { - "id": "128b8c42-fddf-4765-af6a-b7ee82c1f8d1", + "id": "196de53d-9fdb-43c6-877b-6e51916a5cb7", "alias": "User creation or linking", "description": "Flow for the existing/non-existing user alternatives", "providerId": "basic-flow", @@ -1963,7 +1898,7 @@ ] }, { - "id": "4710f396-71cc-46bd-bbb6-73051af4d20a", + "id": "3b58dbe7-a052-4312-b45b-63e9c3d47a23", "alias": "Verify Existing Account by Re-authentication", "description": "Reauthentication of existing account", "providerId": "basic-flow", @@ -1989,7 +1924,7 @@ ] }, { - "id": "23a1908a-3d1f-47e2-b222-361e9f872d50", + "id": "f93f00c3-a0cf-4ad7-bba2-e09cb1c3427f", "alias": "browser", "description": "browser based authentication", "providerId": "basic-flow", @@ -2031,7 +1966,7 @@ ] }, { - "id": "445371a3-c27e-4bdd-94e8-b533e6f7e72d", + "id": "6fb1b243-94c1-49c8-9804-76f6120c509b", "alias": "clients", "description": "Base authentication for clients", "providerId": "client-flow", @@ -2073,7 +2008,7 @@ ] }, { - "id": "e6159418-8749-4dff-b018-a456658f54a4", + "id": "71daf21d-4a0d-49cf-a599-6aedb9d5e6a6", "alias": "direct grant", "description": "OpenID Connect Resource Owner Grant", "providerId": "basic-flow", @@ -2107,7 +2042,7 @@ ] }, { - "id": "ea4d05bb-a6fd-4fc1-8ced-8b89f50b02aa", + "id": "8cd7b199-c099-42a5-b7aa-bebfd443e713", "alias": "docker auth", "description": "Used by Docker clients to authenticate against the IDP", "providerId": "basic-flow", @@ -2125,7 +2060,7 @@ ] }, { - "id": "c709c861-45a0-4858-bd87-32f5cb72a9f6", + "id": "82d55b45-138b-44ac-a6f4-98e375a64e55", "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", @@ -2152,7 +2087,7 @@ ] }, { - "id": "f6f99d89-3ac7-4809-b977-d06cf4d9cdea", + "id": "ef13a8d2-0127-4dcd-825e-92a7ac61dbff", "alias": "forms", "description": "Username, password, otp and other auth forms.", "providerId": "basic-flow", @@ -2178,7 +2113,7 @@ ] }, { - "id": "5c880cfe-e105-4a90-8a4f-1c07884746a3", + "id": "ecfe5882-7d96-4872-a818-3e5b3aa562b1", "alias": "registration", "description": "registration flow", "providerId": "basic-flow", @@ -2197,7 +2132,7 @@ ] }, { - "id": "aa1bff17-3087-4861-9cfa-952aee95c3b4", + "id": "40a98efb-f838-41a8-834d-48bc7d298ea7", "alias": "registration form", "description": "registration form", "providerId": "form-flow", @@ -2239,7 +2174,7 @@ ] }, { - "id": "31c4e4a2-741a-4700-8103-34ffb7f1f988", + "id": "8afc69e8-84b3-40f9-b448-2dc69c8c79ca", "alias": "reset credentials", "description": "Reset credentials for a user if they forgot their password or something", "providerId": "basic-flow", @@ -2281,7 +2216,7 @@ ] }, { - "id": "25006f99-1387-4f85-bbbc-2c855363398a", + "id": "d46af357-91e5-49bc-af7d-dd3e072caeca", "alias": "saml ecp", "description": "SAML ECP Profile Authentication Flow", "providerId": "basic-flow", @@ -2301,14 +2236,14 @@ ], "authenticatorConfig": [ { - "id": "8adecce6-e496-4d0c-ab43-bc0ff70e6bab", + "id": "1f02ebfc-cf2f-4ac0-9049-ce4227816999", "alias": "create unique user config", "config": { "require.password.update.after.registration": "false" } }, { - "id": "d4fc3141-292a-4542-b3ec-8b872dbc2004", + "id": "6aa3b20f-9a1e-4e98-976e-ee941e638032", "alias": "review profile config", "config": { "update.profile.on.first.login": "missing" @@ -2427,8 +2362,6 @@ "cibaBackchannelTokenDeliveryMode": "poll", "cibaExpiresIn": "120", "cibaAuthRequestedUserHint": "login_hint", - "oauth2DeviceCodeLifespan": "600", - "oauth2DevicePollingInterval": "5", "parRequestUriLifespan": "60", "cibaInterval": "5", "realmReusableOtpCode": "false" diff --git a/services/40-keycloak/volume/nine/realm-export.json b/services/40-keycloak/volume/nine/realm-export.json new file mode 100644 index 0000000..b02fddb --- /dev/null +++ b/services/40-keycloak/volume/nine/realm-export.json @@ -0,0 +1,2422 @@ +{ + "id": "envole", + "realm": "envole", + "displayName": "Keycloak", + "displayNameHtml": "
Envole
", + "notBefore": 0, + "defaultSignatureAlgorithm": "RS256", + "revokeRefreshToken": false, + "refreshTokenMaxReuse": 0, + "accessTokenLifespan": 60, + "accessTokenLifespanForImplicitFlow": 900, + "ssoSessionIdleTimeout": 1800, + "ssoSessionMaxLifespan": 36000, + "ssoSessionIdleTimeoutRememberMe": 0, + "ssoSessionMaxLifespanRememberMe": 0, + "offlineSessionIdleTimeout": 2592000, + "offlineSessionMaxLifespanEnabled": false, + "offlineSessionMaxLifespan": 5184000, + "clientSessionIdleTimeout": 0, + "clientSessionMaxLifespan": 0, + "clientOfflineSessionIdleTimeout": 0, + "clientOfflineSessionMaxLifespan": 0, + "accessCodeLifespan": 60, + "accessCodeLifespanUserAction": 300, + "accessCodeLifespanLogin": 1800, + "actionTokenGeneratedByAdminLifespan": 43200, + "actionTokenGeneratedByUserLifespan": 300, + "oauth2DeviceCodeLifespan": 600, + "oauth2DevicePollingInterval": 600, + "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, + "defaultRole": { + "id": "778a9da1-89ea-4523-9537-0dc533265465", + "name": "default-roles-master", + "description": "${role_default-roles}", + "composite": true, + "clientRole": false, + "containerId": "envole" + }, + "requiredCredentials": [ + "password" + ], + "otpPolicyType": "totp", + "otpPolicyAlgorithm": "HmacSHA1", + "otpPolicyInitialCounter": 0, + "otpPolicyDigits": 6, + "otpPolicyLookAheadWindow": 1, + "otpPolicyPeriod": 30, + "otpSupportedApplications": [ + "FreeOTP", + "Google Authenticator" + ], + "webAuthnPolicyRpEntityName": "keycloak", + "webAuthnPolicySignatureAlgorithms": [ + "ES256" + ], + "webAuthnPolicyRpId": "", + "webAuthnPolicyAttestationConveyancePreference": "not specified", + "webAuthnPolicyAuthenticatorAttachment": "not specified", + "webAuthnPolicyRequireResidentKey": "not specified", + "webAuthnPolicyUserVerificationRequirement": "not specified", + "webAuthnPolicyCreateTimeout": 0, + "webAuthnPolicyAvoidSameAuthenticatorRegister": false, + "webAuthnPolicyAcceptableAaguids": [], + "webAuthnPolicyPasswordlessRpEntityName": "keycloak", + "webAuthnPolicyPasswordlessSignatureAlgorithms": [ + "ES256" + ], + "webAuthnPolicyPasswordlessRpId": "", + "webAuthnPolicyPasswordlessAttestationConveyancePreference": "not specified", + "webAuthnPolicyPasswordlessAuthenticatorAttachment": "not specified", + "webAuthnPolicyPasswordlessRequireResidentKey": "not specified", + "webAuthnPolicyPasswordlessUserVerificationRequirement": "not specified", + "webAuthnPolicyPasswordlessCreateTimeout": 0, + "webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister": false, + "webAuthnPolicyPasswordlessAcceptableAaguids": [], + "scopeMappings": [ + { + "clientScope": "offline_access", + "roles": [ + "offline_access" + ] + } + ], + "clientScopeMappings": { + "account": [ + { + "client": "account-console", + "roles": [ + "manage-account" + ] + } + ] + }, + "clients": [ + { + "id": "87270d83-7d5e-4dbe-a2d5-33d0cf465ac8", + "clientId": "account", + "name": "${client_account}", + "rootUrl": "${authBaseUrl}", + "baseUrl": "/realms/envole/account/", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "redirectUris": [ + "/realms/envole/account/*" + ], + "webOrigins": [], + "notBefore": 0, + "bearerOnly": false, + "consentRequired": false, + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "serviceAccountsEnabled": false, + "publicClient": true, + "frontchannelLogout": false, + "protocol": "openid-connect", + "attributes": {}, + "authenticationFlowBindingOverrides": {}, + "fullScopeAllowed": false, + "nodeReRegistrationTimeout": 0, + "protocolMappers": [ + { + "id": "7158adbd-5fbc-4452-87ec-f0d566a34f45", + "name": "full name", + "protocol": "cas", + "protocolMapper": "cas-full-name-mapper", + "consentRequired": false, + "config": { + "claim.name": "cn", + "jsonType.label": "String" + } + }, + { + "id": "f5914a8b-94fc-48d4-998e-ef199b0b0882", + "name": "given name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "id": "86ebd837-9e65-4081-a1cb-8836f310445e", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } + }, + { + "id": "e6a441b6-524f-407c-a516-127da17b95b7", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", + "jsonType.label": "String" + } + } + ], + "defaultClientScopes": [], + "optionalClientScopes": [] + }, + { + "id": "3b851809-0f59-4b0d-9f85-bce72dfe250e", + "clientId": "account-console", + "name": "${client_account-console}", + "rootUrl": "${authBaseUrl}", + "baseUrl": "/realms/envole/account/", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "redirectUris": [ + "/realms/envole/account/*" + ], + "webOrigins": [], + "notBefore": 0, + "bearerOnly": false, + "consentRequired": false, + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "serviceAccountsEnabled": false, + "publicClient": true, + "frontchannelLogout": false, + "protocol": "openid-connect", + "attributes": { + "pkce.code.challenge.method": "S256" + }, + "authenticationFlowBindingOverrides": {}, + "fullScopeAllowed": false, + "nodeReRegistrationTimeout": 0, + "protocolMappers": [ + { + "id": "a255ef19-0537-4a44-84a8-c0b1ff4313b9", + "name": "audience resolve", + "protocol": "openid-connect", + "protocolMapper": "oidc-audience-resolve-mapper", + "consentRequired": false, + "config": {} + }, + { + "id": "6b88ea94-98d6-47dd-b656-82933d77ae18", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", + "jsonType.label": "String" + } + }, + { + "id": "512a8304-56af-49e5-90b5-c9c05b70033c", + "name": "full name", + "protocol": "cas", + "protocolMapper": "cas-full-name-mapper", + "consentRequired": false, + "config": { + "claim.name": "cn", + "jsonType.label": "String" + } + }, + { + "id": "624dd437-2e33-4369-8c7e-a2de1c239f5f", + "name": "given name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "firstName", + "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": [] + }, + { + "id": "d239802f-534d-4c4f-9a8c-95fe57a928ed", + "clientId": "admin-cli", + "name": "${client_admin-cli}", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "redirectUris": [], + "webOrigins": [], + "notBefore": 0, + "bearerOnly": false, + "consentRequired": false, + "standardFlowEnabled": false, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": true, + "serviceAccountsEnabled": false, + "publicClient": true, + "frontchannelLogout": false, + "protocol": "openid-connect", + "attributes": {}, + "authenticationFlowBindingOverrides": {}, + "fullScopeAllowed": false, + "nodeReRegistrationTimeout": 0, + "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", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", + "jsonType.label": "String" + } + }, + { + "id": "620a7c64-22d1-4c33-bda2-d86ff7c702ce", + "name": "full name", + "protocol": "cas", + "protocolMapper": "cas-full-name-mapper", + "consentRequired": false, + "config": { + "claim.name": "cn", + "jsonType.label": "String" + } + } + ], + "defaultClientScopes": [], + "optionalClientScopes": [] + }, + { + "id": "7671be05-b84f-481f-b6f8-6254c939268d", + "clientId": "broker", + "name": "${client_broker}", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "redirectUris": [], + "webOrigins": [], + "notBefore": 0, + "bearerOnly": true, + "consentRequired": false, + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "serviceAccountsEnabled": false, + "publicClient": false, + "frontchannelLogout": false, + "protocol": "openid-connect", + "attributes": {}, + "authenticationFlowBindingOverrides": {}, + "fullScopeAllowed": false, + "nodeReRegistrationTimeout": 0, + "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", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } + }, + { + "id": "e008d88c-8028-431b-8671-f900635f35fc", + "name": "given name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "id": "1ff4922e-5c6e-4498-82cc-6766b20c8c1e", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", + "jsonType.label": "String" + } + } + ], + "defaultClientScopes": [], + "optionalClientScopes": [] + }, + { + "id": "133d3397-41e7-4ec1-aaf0-a0939da72f58", + "clientId": "envole", + "name": "envole", + "rootUrl": "https://envole.local", + "baseUrl": "https://envole.local", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "secret": "**********", + "redirectUris": [ + "http://envole.local*", + "https://envole.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": [ + "envole" + ], + "optionalClientScopes": [] + }, + { + "id": "d5474573-906e-4f00-914a-a436049f5ac0", + "clientId": "realm-management", + "name": "${client_realm-management}", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "redirectUris": [], + "webOrigins": [], + "notBefore": 0, + "bearerOnly": true, + "consentRequired": false, + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "serviceAccountsEnabled": false, + "publicClient": false, + "frontchannelLogout": false, + "protocol": "openid-connect", + "attributes": {}, + "authenticationFlowBindingOverrides": {}, + "fullScopeAllowed": false, + "nodeReRegistrationTimeout": 0, + "protocolMappers": [ + { + "id": "eb04593d-ec09-4a65-8b8e-b177bf23b8bc", + "name": "given name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "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", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", + "jsonType.label": "String" + } + }, + { + "id": "565cf014-8114-47ca-861f-1710035a7023", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "jsonType.label": "String" + } + } + ], + "defaultClientScopes": [], + "optionalClientScopes": [] + }, + { + "id": "e4c15b58-2e15-4ff3-8e16-ecbd02551978", + "clientId": "security-admin-console", + "name": "${client_security-admin-console}", + "rootUrl": "${authAdminUrl}", + "baseUrl": "/admin/envole/console/", + "surrogateAuthRequired": false, + "enabled": true, + "alwaysDisplayInConsole": false, + "clientAuthenticatorType": "client-secret", + "redirectUris": [ + "/admin/envole/console/*" + ], + "webOrigins": [ + "+" + ], + "notBefore": 0, + "bearerOnly": false, + "consentRequired": false, + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "serviceAccountsEnabled": false, + "publicClient": true, + "frontchannelLogout": false, + "protocol": "openid-connect", + "attributes": { + "pkce.code.challenge.method": "S256" + }, + "authenticationFlowBindingOverrides": {}, + "fullScopeAllowed": false, + "nodeReRegistrationTimeout": 0, + "protocolMappers": [ + { + "id": "26bfca71-394c-4ca2-8e74-865a7b9b4182", + "name": "email", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "email", + "claim.name": "mail", + "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", + "name": "given name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "firstName", + "claim.name": "givenName", + "jsonType.label": "String" + } + }, + { + "id": "58da24e2-5491-452c-8a9f-c13e27c01b4f", + "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": "b34ad4e4-ed15-485a-9d7c-8b8ca89386b3", + "name": "family name", + "protocol": "cas", + "protocolMapper": "cas-usermodel-property-mapper", + "consentRequired": false, + "config": { + "user.attribute": "lastName", + "claim.name": "sn", + "jsonType.label": "String" + } + } + ], + "defaultClientScopes": [], + "optionalClientScopes": [] + } + ], + "clientScopes": [ + { + "id": "e5bab9e6-0003-405a-bc2a-d96d1c2f7046", + "name": "email", + "description": "OpenID Connect built-in scope: email", + "protocol": "openid-connect", + "attributes": { + "include.in.token.scope": "true", + "display.on.consent.screen": "true", + "consent.screen.text": "${emailScopeConsentText}" + }, + "protocolMappers": [ + { + "id": "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", + "name": "email verified", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-property-mapper", + "consentRequired": false, + "config": { + "userinfo.token.claim": "true", + "user.attribute": "emailVerified", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "email_verified", + "jsonType.label": "boolean" + } + } + ] + }, + { + "id": "bd3e8ff5-e456-49bb-8fc5-a4b10bdb161e", + "name": "role_list", + "description": "SAML role list", + "protocol": "saml", + "attributes": { + "consent.screen.text": "${samlRoleListScopeConsentText}", + "display.on.consent.screen": "true" + }, + "protocolMappers": [ + { + "id": "2f00f403-1835-4a67-a05d-31bb0264c0bf", + "name": "role list", + "protocol": "saml", + "protocolMapper": "saml-role-list-mapper", + "consentRequired": false, + "config": { + "single": "false", + "attribute.nameformat": "Basic", + "attribute.name": "Role" + } + } + ] + }, + { + "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", + "name": "phone", + "description": "OpenID Connect built-in scope: phone", + "protocol": "openid-connect", + "attributes": { + "include.in.token.scope": "true", + "display.on.consent.screen": "true", + "consent.screen.text": "${phoneScopeConsentText}" + }, + "protocolMappers": [ + { + "id": "3e193f09-c5c4-4a5e-bf18-a191830cba62", + "name": "phone number verified", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "userinfo.token.claim": "true", + "user.attribute": "phoneNumberVerified", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "phone_number_verified", + "jsonType.label": "boolean" + } + }, + { + "id": "dcbb0641-3ddf-47aa-ad90-5f5f76f63cbe", + "name": "phone number", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "userinfo.token.claim": "true", + "user.attribute": "phoneNumber", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "phone_number", + "jsonType.label": "String" + } + } + ] + }, + { + "id": "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", + "protocol": "openid-connect", + "attributes": { + "include.in.token.scope": "false", + "display.on.consent.screen": "true", + "consent.screen.text": "${rolesScopeConsentText}" + }, + "protocolMappers": [ + { + "id": "0e76249d-2f86-4e0d-8ddc-f034f96837f6", + "name": "audience resolve", + "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", + "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" + } + } + ] + }, + { + "id": "7bc8ebde-3563-4ce1-a0d2-ad58aba2cd7c", + "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": "e5e10473-8bd1-42b5-89fa-d0b3e90a18ed", + "name": "upn", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-property-mapper", + "consentRequired": false, + "config": { + "userinfo.token.claim": "true", + "user.attribute": "username", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "upn", + "jsonType.label": "String" + } + }, + { + "id": "7d0b5233-08f1-47c1-9b21-ae8c471d67e1", + "name": "groups", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-realm-role-mapper", + "consentRequired": false, + "config": { + "multivalued": "true", + "userinfo.token.claim": "true", + "user.attribute": "foo", + "id.token.claim": "true", + "access.token.claim": "true", + "claim.name": "groups", + "jsonType.label": "String" + } + } + ] + }, + { + "id": "238cdd25-3e87-45cf-badf-89033829a1af", + "name": "envole", + "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", + "jsonType.label": "String" + } + }, + { + "id": "fcd2b58e-8be8-40b4-aec0-132fb6259d93", + "name": "niveau01", + "protocol": "cas", + "protocolMapper": "cas-usermodel-attribute-mapper", + "consentRequired": false, + "config": { + "user.attribute": "niveau01", + "claim.name": "niveau01", + "jsonType.label": "String" + } + } + ] + }, + { + "id": "44ab982e-a384-41a3-8610-a65600c489e4", + "name": "offline_access", + "description": "OpenID Connect built-in scope: offline_access", + "protocol": "openid-connect", + "attributes": { + "consent.screen.text": "${offlineAccessScopeConsentText}", + "display.on.consent.screen": "true" + } + } + ], + "defaultDefaultClientScopes": [ + "web-origins", + "roles", + "role_list", + "profile", + "email" + ], + "defaultOptionalClientScopes": [ + "phone", + "offline_access", + "microprofile-jwt", + "address" + ], + "browserSecurityHeaders": { + "contentSecurityPolicyReportOnly": "", + "xContentTypeOptions": "nosniff", + "xRobotsTag": "none", + "xFrameOptions": "SAMEORIGIN", + "contentSecurityPolicy": "frame-src 'self'; frame-ancestors 'self'; object-src 'none';", + "xXSSProtection": "1; mode=block", + "strictTransportSecurity": "max-age=31536000; includeSubDomains" + }, + "smtpServer": {}, + "eventsEnabled": false, + "eventsListeners": [ + "jboss-logging" + ], + "enabledEventTypes": [], + "adminEventsEnabled": false, + "adminEventsDetailsEnabled": false, + "identityProviders": [], + "identityProviderMappers": [], + "components": { + "org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy": [ + { + "id": "4534f093-d690-4e0e-afe1-3590257718f4", + "name": "Max Clients Limit", + "providerId": "max-clients", + "subType": "anonymous", + "subComponents": {}, + "config": { + "max-clients": [ + "200" + ] + } + }, + { + "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", + "name": "Trusted Hosts", + "providerId": "trusted-hosts", + "subType": "anonymous", + "subComponents": {}, + "config": { + "host-sending-registration-request-must-match": [ + "true" + ], + "client-uris-must-match": [ + "true" + ] + } + }, + { + "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", + "name": "Consent Required", + "providerId": "consent-required", + "subType": "anonymous", + "subComponents": {}, + "config": {} + }, + { + "id": "509b7501-be18-4425-bb25-68fe6868dc73", + "name": "Allowed Protocol Mapper Types", + "providerId": "allowed-protocol-mappers", + "subType": "authenticated", + "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" + ] + } + }, + { + "id": "164c42e5-13a3-4d67-82dd-3a24a21099c5", + "name": "Allowed Client Scopes", + "providerId": "allowed-client-templates", + "subType": "authenticated", + "subComponents": {}, + "config": { + "allow-default-scopes": [ + "true" + ] + } + } + ], + "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", + "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", + "name": "last name", + "providerId": "user-attribute-ldap-mapper", + "subComponents": {}, + "config": { + "ldap.attribute": [ + "sn" + ], + "is.mandatory.in.ldap": [ + "true" + ], + "always.read.value.from.ldap": [ + "true" + ], + "read.only": [ + "true" + ], + "user.model.attribute": [ + "lastName" + ] + } + }, + { + "id": "b35862bf-04c1-4b72-9eb4-1a511b44d66e", + "name": "first name", + "providerId": "user-attribute-ldap-mapper", + "subComponents": {}, + "config": { + "ldap.attribute": [ + "givenName" + ], + "is.mandatory.in.ldap": [ + "false" + ], + "is.binary.attribute": [ + "false" + ], + "always.read.value.from.ldap": [ + "true" + ], + "read.only": [ + "true" + ], + "user.model.attribute": [ + "firstname" + ] + } + }, + { + "id": "207e55ef-e171-4a96-ad85-7d9899472991", + "name": "siren", + "providerId": "user-attribute-ldap-mapper", + "subComponents": {}, + "config": { + "ldap.attribute": [ + "siren" + ], + "is.mandatory.in.ldap": [ + "false" + ], + "is.binary.attribute": [ + "false" + ], + "read.only": [ + "true" + ], + "user.model.attribute": [ + "siren" + ] + } + }, + { + "id": "faf41ea6-f9f8-4872-9b9e-2461e0d9b834", + "name": "creation date", + "providerId": "user-attribute-ldap-mapper", + "subComponents": {}, + "config": { + "ldap.attribute": [ + "createTimestamp" + ], + "is.mandatory.in.ldap": [ + "false" + ], + "read.only": [ + "true" + ], + "always.read.value.from.ldap": [ + "true" + ], + "user.model.attribute": [ + "createTimestamp" + ] + } + } + ] + }, + "config": { + "pagination": [ + "true" + ], + "fullSyncPeriod": [ + "-1" + ], + "connectionPooling": [ + "true" + ], + "usersDn": [ + "ou=users,ou=ninegate,dc=envole,dc=org" + ], + "cachePolicy": [ + "DEFAULT" + ], + "useKerberosForPasswordAuthentication": [ + "false" + ], + "importEnabled": [ + "false" + ], + "enabled": [ + "true" + ], + "usernameLDAPAttribute": [ + "uid" + ], + "bindCredential": [ + "changeme" + ], + "changedSyncPeriod": [ + "-1" + ], + "bindDn": [ + "cn=admin,dc=envole,dc=org" + ], + "lastSync": [ + "1698698495" + ], + "vendor": [ + "other" + ], + "uuidLDAPAttribute": [ + "entryUUID" + ], + "connectionUrl": [ + "ldap://openldap:1389" + ], + "allowKerberosAuthentication": [ + "false" + ], + "syncRegistrations": [ + "false" + ], + "authType": [ + "simple" + ], + "debug": [ + "false" + ], + "searchScope": [ + "1" + ], + "useTruststoreSpi": [ + "ldapsOnly" + ], + "trustEmail": [ + "false" + ], + "priority": [ + "0" + ], + "userObjectClasses": [ + "inetOrgPerson, organizationalPerson" + ], + "rdnLDAPAttribute": [ + "uid" + ], + "editMode": [ + "READ_ONLY" + ], + "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", + "name": "rsa-enc-generated", + "providerId": "rsa-enc-generated", + "subComponents": {}, + "config": { + "priority": [ + "100" + ], + "algorithm": [ + "RSA-OAEP" + ] + } + }, + { + "id": "048bb6eb-5423-476b-9c19-d39e6640a1cf", + "name": "aes-generated", + "providerId": "aes-generated", + "subComponents": {}, + "config": { + "priority": [ + "100" + ] + } + }, + { + "id": "f1c978f6-a133-46f6-a784-bc1c6a9dace9", + "name": "rsa-generated", + "providerId": "rsa-generated", + "subComponents": {}, + "config": { + "priority": [ + "100" + ] + } + } + ] + }, + "internationalizationEnabled": false, + "supportedLocales": [], + "authenticationFlows": [ + { + "id": "2769839a-7135-4319-bcf2-1208e18004cb", + "alias": "Account verification options", + "description": "Method with which to verity the existing account", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "idp-email-verification", + "authenticatorFlow": false, + "requirement": "ALTERNATIVE", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "ALTERNATIVE", + "priority": 20, + "flowAlias": "Verify Existing Account by Re-authentication", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "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", + "alias": "Browser - Conditional OTP", + "description": "Flow to determine if the OTP is required for the authentication", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "conditional-user-configured", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "auth-otp-form", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + } + ] + }, + { + "id": "e590c666-bf10-455b-8a0b-fe26d15a5c0a", + "alias": "Direct Grant - Conditional OTP", + "description": "Flow to determine if the OTP is required for the authentication", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "conditional-user-configured", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "direct-grant-validate-otp", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + } + ] + }, + { + "id": "272ef112-7124-4361-83e1-fab3a43cb68d", + "alias": "First broker login - Conditional OTP", + "description": "Flow to determine if the OTP is required for the authentication", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "conditional-user-configured", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "auth-otp-form", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + } + ] + }, + { + "id": "2e80c4de-0a90-4751-919e-4cad083ebb39", + "alias": "Handle Existing Account", + "description": "Handle what to do if there is existing account with same email/username like authenticated identity provider", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "idp-confirm-link", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "REQUIRED", + "priority": 20, + "flowAlias": "Account verification options", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "id": "501be6a7-b886-4e0f-9b13-5ceabdb59ef6", + "alias": "Reset - Conditional OTP", + "description": "Flow to determine if the OTP should be reset or not. Set to REQUIRED to force.", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "conditional-user-configured", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "reset-otp", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + } + ] + }, + { + "id": "06e92c43-c436-4a32-91c5-6bb536403405", + "alias": "User creation or linking", + "description": "Flow for the existing/non-existing user alternatives", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticatorConfig": "create unique user config", + "authenticator": "idp-create-user-if-unique", + "authenticatorFlow": false, + "requirement": "ALTERNATIVE", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "ALTERNATIVE", + "priority": 20, + "flowAlias": "Handle Existing Account", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "id": "96c60c50-0210-48c7-b39d-3118e11227b9", + "alias": "Verify Existing Account by Re-authentication", + "description": "Reauthentication of existing account", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "idp-username-password-form", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "CONDITIONAL", + "priority": 20, + "flowAlias": "First broker login - Conditional OTP", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "id": "731ece9d-bfbb-4174-864d-3d609a6a9a8d", + "alias": "browser", + "description": "browser based authentication", + "providerId": "basic-flow", + "topLevel": true, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "auth-cookie", + "authenticatorFlow": false, + "requirement": "ALTERNATIVE", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "auth-spnego", + "authenticatorFlow": false, + "requirement": "DISABLED", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "identity-provider-redirector", + "authenticatorFlow": false, + "requirement": "ALTERNATIVE", + "priority": 25, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "ALTERNATIVE", + "priority": 30, + "flowAlias": "forms", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "id": "3b6dedee-71b5-408c-a4ef-c3d9d56491fa", + "alias": "clients", + "description": "Base authentication for clients", + "providerId": "client-flow", + "topLevel": true, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "client-secret", + "authenticatorFlow": false, + "requirement": "ALTERNATIVE", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "client-jwt", + "authenticatorFlow": false, + "requirement": "ALTERNATIVE", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "client-secret-jwt", + "authenticatorFlow": false, + "requirement": "ALTERNATIVE", + "priority": 30, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "client-x509", + "authenticatorFlow": false, + "requirement": "ALTERNATIVE", + "priority": 40, + "userSetupAllowed": false, + "autheticatorFlow": false + } + ] + }, + { + "id": "05623406-4a49-4f73-a52e-16119b5ee7fa", + "alias": "direct grant", + "description": "OpenID Connect Resource Owner Grant", + "providerId": "basic-flow", + "topLevel": true, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "direct-grant-validate-username", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "direct-grant-validate-password", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "CONDITIONAL", + "priority": 30, + "flowAlias": "Direct Grant - Conditional OTP", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "id": "7b96140b-16c1-4fb8-a59f-a362603b9830", + "alias": "docker auth", + "description": "Used by Docker clients to authenticate against the IDP", + "providerId": "basic-flow", + "topLevel": true, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "docker-http-basic-authenticator", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + } + ] + }, + { + "id": "53ce2fa4-56a0-4165-839d-62c3e14c15f7", + "alias": "first broker login", + "description": "Actions taken after first broker login with identity provider account, which is not yet linked to any Keycloak account", + "providerId": "basic-flow", + "topLevel": true, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticatorConfig": "review profile config", + "authenticator": "idp-review-profile", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "REQUIRED", + "priority": 20, + "flowAlias": "User creation or linking", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "id": "f9a1fd59-e174-40e9-a28a-643b51366e4d", + "alias": "forms", + "description": "Username, password, otp and other auth forms.", + "providerId": "basic-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "auth-username-password-form", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "CONDITIONAL", + "priority": 20, + "flowAlias": "Browser - Conditional OTP", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "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", + "alias": "registration", + "description": "registration flow", + "providerId": "basic-flow", + "topLevel": true, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "registration-page-form", + "authenticatorFlow": true, + "requirement": "REQUIRED", + "priority": 10, + "flowAlias": "registration form", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "id": "549011b0-b533-48cf-90d0-d1b8ca11105c", + "alias": "registration form", + "description": "registration form", + "providerId": "form-flow", + "topLevel": false, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "registration-user-creation", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "registration-profile-action", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 40, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "registration-password-action", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 50, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "registration-recaptcha-action", + "authenticatorFlow": false, + "requirement": "DISABLED", + "priority": 60, + "userSetupAllowed": false, + "autheticatorFlow": false + } + ] + }, + { + "id": "98bc4f2e-8bc3-4187-97dc-90ce7ef0909d", + "alias": "reset credentials", + "description": "Reset credentials for a user if they forgot their password or something", + "providerId": "basic-flow", + "topLevel": true, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "reset-credentials-choose-user", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "reset-credential-email", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 20, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticator": "reset-password", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 30, + "userSetupAllowed": false, + "autheticatorFlow": false + }, + { + "authenticatorFlow": true, + "requirement": "CONDITIONAL", + "priority": 40, + "flowAlias": "Reset - Conditional OTP", + "userSetupAllowed": false, + "autheticatorFlow": true + } + ] + }, + { + "id": "30f9008c-cba1-480f-9547-e0ad994f6165", + "alias": "saml ecp", + "description": "SAML ECP Profile Authentication Flow", + "providerId": "basic-flow", + "topLevel": true, + "builtIn": true, + "authenticationExecutions": [ + { + "authenticator": "http-basic-authenticator", + "authenticatorFlow": false, + "requirement": "REQUIRED", + "priority": 10, + "userSetupAllowed": false, + "autheticatorFlow": false + } + ] + } + ], + "authenticatorConfig": [ + { + "id": "8e916fa6-4d7e-4247-a9fa-5a185f23b6cb", + "alias": "create unique user config", + "config": { + "require.password.update.after.registration": "false" + } + }, + { + "id": "91f281c4-3965-4897-a495-b61d15083306", + "alias": "review profile config", + "config": { + "update.profile.on.first.login": "missing" + } + } + ], + "requiredActions": [ + { + "alias": "CONFIGURE_TOTP", + "name": "Configure OTP", + "providerId": "CONFIGURE_TOTP", + "enabled": true, + "defaultAction": false, + "priority": 10, + "config": {} + }, + { + "alias": "terms_and_conditions", + "name": "Terms and Conditions", + "providerId": "terms_and_conditions", + "enabled": false, + "defaultAction": false, + "priority": 20, + "config": {} + }, + { + "alias": "UPDATE_PASSWORD", + "name": "Update Password", + "providerId": "UPDATE_PASSWORD", + "enabled": true, + "defaultAction": false, + "priority": 30, + "config": {} + }, + { + "alias": "UPDATE_PROFILE", + "name": "Update Profile", + "providerId": "UPDATE_PROFILE", + "enabled": true, + "defaultAction": false, + "priority": 40, + "config": {} + }, + { + "alias": "VERIFY_EMAIL", + "name": "Verify Email", + "providerId": "VERIFY_EMAIL", + "enabled": true, + "defaultAction": false, + "priority": 50, + "config": {} + }, + { + "alias": "delete_account", + "name": "Delete Account", + "providerId": "delete_account", + "enabled": false, + "defaultAction": false, + "priority": 60, + "config": {} + }, + { + "alias": "update_user_locale", + "name": "Update User Locale", + "providerId": "update_user_locale", + "enabled": true, + "defaultAction": false, + "priority": 1000, + "config": {} + } + ], + "browserFlow": "browser", + "registrationFlow": "registration", + "directGrantFlow": "direct grant", + "resetCredentialsFlow": "reset credentials", + "clientAuthenticationFlow": "clients", + "dockerAuthenticationFlow": "docker auth", + "attributes": { + "cibaBackchannelTokenDeliveryMode": "poll", + "cibaExpiresIn": "120", + "cibaAuthRequestedUserHint": "login_hint", + "oauth2DeviceCodeLifespan": "600", + "clientOfflineSessionMaxLifespan": "0", + "oauth2DevicePollingInterval": "600", + "clientSessionIdleTimeout": "0", + "userProfileEnabled": "false", + "parRequestUriLifespan": "60", + "clientSessionMaxLifespan": "0", + "clientOfflineSessionIdleTimeout": "0", + "cibaInterval": "5" + }, + "keycloakVersion": "16.1.1", + "userManagedAccessAllowed": false, + "clientProfiles": { + "profiles": [] + }, + "clientPolicies": { + "policies": [] + } +} \ No newline at end of file diff --git a/services/40-keycloak/volume/nine/server.crt.pem b/services/40-keycloak/volume/nine/server.crt.pem new file mode 100644 index 0000000..0b1743e --- /dev/null +++ b/services/40-keycloak/volume/nine/server.crt.pem @@ -0,0 +1,21 @@ +-----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 new file mode 100644 index 0000000..60bce3b --- /dev/null +++ b/services/40-keycloak/volume/nine/server.key.pem @@ -0,0 +1,28 @@ +-----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/realm/.gitkeep b/services/40-keycloak/volume/realm/.gitkeep new file mode 100644 index 0000000..e69de29