1

keycloak heroku

This commit is contained in:
Christoph
2020-04-15 00:37:30 +02:00
parent 7ac240cfd4
commit 9ad19e83d4
3 changed files with 6 additions and 6 deletions

View File

@ -22,10 +22,10 @@ public class KeycloakConfig {
@Value("${keycloak.resource}")
private String clientId;
@Value("1a13cd9e-5242-4c29-8c50-45ee53464010")
@Value("f73354fd-614e-4e24-b801-a8d0f4abf531")
private String clientSecret;
@Value("${hhu_keycloak.token-uri}")
@Value("https://gruppenkeycloak.herokuapp.com/auth/realms/master/protocol/openid-connect/token")
private String tokenUri;
@Bean

View File

@ -11,8 +11,8 @@ spring.datasource.username = b4b665d39d0670
spring.datasource.password = cc933ff7
# Security
keycloak.auth-server-url = http://localhost:8082/auth
hhu_keycloak.token-uri = http://localhost:8082/auth/realms/Gruppen/protocol/openid-connect/token
keycloak.auth-server-url = https://gruppenkeycloak.herokuapp.com/auth
hhu_keycloak.token-uri = https://gruppenkeycloak.herokuapp.com/auth/realms/master/protocol/openid-connect/token
# Misc

View File

@ -12,9 +12,9 @@ spring.profiles.active = dev
#keycloak.autodetect-bearer-only = true
#keycloak.confidential-port = 443
keycloak.principal-attribute = preferred_username
keycloak.realm = Gruppen
keycloak.realm = master
keycloak.resource = gruppen-app
keycloak.credentials.secret = 1a13cd9e-5242-4c29-8c50-45ee53464010
keycloak.credentials.secret = f73354fd-614e-4e24-b801-a8d0f4abf531
keycloak.verify-token-audience = true
keycloak.use-resource-role-mappings = true
keycloak.autodetect-bearer-only = true