From f2ad1b91974c211e551fc3d22ed537d26fcf533e Mon Sep 17 00:00:00 2001 From: Wilfried BARADAT Date: Thu, 19 Oct 2023 21:08:47 +0200 Subject: [PATCH] =?UTF-8?q?fixup!=20=E2=9C=A8(keycloak)=20add=20ralph=20cl?= =?UTF-8?q?ient=20for=20generating=20access=20tokens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/keycloak/clients/ralph.json | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 data/keycloak/clients/ralph.json diff --git a/data/keycloak/clients/ralph.json b/data/keycloak/clients/ralph.json new file mode 100644 index 0000000..5ed4c8f --- /dev/null +++ b/data/keycloak/clients/ralph.json @@ -0,0 +1,35 @@ +{ + "clientId": "ralph", + "name": "Ralph", + "description": "The ultimate toolbox for your learning analytics", + "enabled": true, + "rootUrl": "http://localhost:8100", + "adminUrl": "http://localhost:8100", + "baseUrl": "/", + "clientAuthenticatorType": "client-secret", + "secret": "bcef3562-730d-4575-9e39-63e185f99bca", + "redirectUris": ["http://localhost:8100/whoami"], + "webOrigins": ["http://localhost:8100"], + "standardFlowEnabled": true, + "directAccessGrantsEnabled": true, + "fullScopeAllowed": false, + "protocol": "openid-connect", + "publicClient": false, + "protocolMappers": [ + { + "name": "Roles", + "protocol": "openid-connect", + "protocolMapper": "oidc-usermodel-client-role-mapper", + "config": { + "claim.name": "roles", + "jsonType.label": "String", + "usermodel.clientRoleMapping.clientId": "ralph", + "userinfo.token.claim": "true", + "id.token.claim": "true", + "access.token.claim": "true", + "multivalued": "true" + } + } + ] + } + \ No newline at end of file