1

remove hhu keycloak

This commit is contained in:
Christoph
2020-04-14 21:18:41 +02:00
parent 3b4bd914f7
commit 83d35889fd
4 changed files with 11 additions and 3 deletions

View File

@ -37,7 +37,7 @@ services:
KEYCLOAK_USER: 'admin'
KEYCLOAK_PASSWORD: 'admin'
ports:
- 8082:8080
- '8082:8080'
gruppenapp:
build: .

View File

@ -12,6 +12,11 @@ spring.datasource.password =
spring.jpa.database-platform = org.hibernate.dialect.H2Dialect
spring.h2.console.enabled = false
# Security
keycloak.auth-server-url = http://localhost:8082/auth
hhu_keycloak.token-uri = http://localhost:8082/auth/realms/Gruppen/protocol/openid-connect/token
# Misc
server.error.include-stacktrace = always
management.endpoints.web.exposure.include = info,health

View File

@ -10,6 +10,11 @@ spring.datasource.url = jdbc:mysql://dbmysql:3306/gruppen
spring.datasource.username = gruppen
spring.datasource.password = password
# Security
keycloak.auth-server-url = http://localhost:8082/auth
hhu_keycloak.token-uri = http://localhost:8082/auth/realms/Gruppen/protocol/openid-connect/token
# Misc
management.endpoints.web.exposure.include = info,health
server.error.include-stacktrace = always

View File

@ -12,9 +12,7 @@ spring.profiles.active = dev
#keycloak.autodetect-bearer-only = true
#keycloak.confidential-port = 443
keycloak.principal-attribute = preferred_username
keycloak.auth-server-url = http://localhost:8082/auth
keycloak.realm = Gruppen
hhu_keycloak.token-uri = http://localhost:8082/auth/realms/Gruppen/protocol/openid-connect/token
keycloak.resource = gruppen-app
keycloak.credentials.secret = 1a13cd9e-5242-4c29-8c50-45ee53464010
keycloak.verify-token-audience = true