Skip to content

Commit

Permalink
Fixed hard-coded uris of Keycloak authentication.
Browse files Browse the repository at this point in the history
  • Loading branch information
KFilippopolitis authored and ThanKarab committed Sep 11, 2023
1 parent 3e89661 commit 24bae61
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions config/application.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ spring:
client-secret: {{ .Env.KEYCLOAK_CLIENT_SECRET }}
provider: keycloak
scope: openid
redirect-uri: http://172.17.0.1/${server.servlet.contextPath}/login/oauth2/code/{{ .Env.KEYCLOAK_CLIENT_ID }}
provider:
keycloak:
issuer-uri: http://172.17.0.1/auth/realms/{{ .Env.KEYCLOAK_REALM }}
issuer-uri: {{ .Env.KEYCLOAK_AUTH_URL }}realms/{{ .Env.KEYCLOAK_REALM }}
user-name-attribute: preferred_username


Expand Down
1 change: 0 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ spring:
client-secret: dae83a6b-c769-4186-8383-f0984c6edf05
provider: keycloak
scope: openid
redirect-uri: http://172.17.0.1/${server.servlet.contextPath}/login/oauth2/code/MIP
provider:
keycloak:
user-name-attribute: preferred_username
Expand Down

0 comments on commit 24bae61

Please sign in to comment.