Skip to content
Snippets Groups Projects
Commit 3c2b9029 authored by ThanKarab's avatar ThanKarab
Browse files

Changed keycloak adapter to use client roles.

parent 32370d38
No related branches found
No related tags found
1 merge request!24Fix/519 workflow tab throws access denied
......@@ -55,6 +55,7 @@ keycloak:
auth-server-url: {{ .Env.KEYCLOAK_AUTH_URL }}
realm: {{ .Env.KEYCLOAK_REALM }}
resource: {{ .Env.KEYCLOAK_CLIENT_ID }}
use-resource-role-mappings: true
enable-basic-auth: true
credentials:
secret: {{ .Env.KEYCLOAK_CLIENT_SECRET }}
......
......@@ -53,6 +53,7 @@ keycloak:
auth-server-url: "https://iam.humanbrainproject.eu/auth"
realm: "MIP"
resource: "mipfedqa"
use-resource-role-mappings: true
enable-basic-auth: true
credentials:
secret: "dae83a6b-c769-4186-8383-f0984c6edf05"
......@@ -72,12 +73,3 @@ server:
contextPath: "/services"
port: 8080
forward-headers-strategy: native
### ENDPOINTS ###
endpoints:
enabled: true
health:
enabled: true
endpoint: "/health"
sensitive: false
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment