fix: Fix realm name

This commit is contained in:
2025-03-20 17:57:29 +01:00
parent fa1f4b47b9
commit dfa2d8c191
3 changed files with 4 additions and 4 deletions
@@ -16,8 +16,8 @@ import org.springframework.context.annotation.Configuration
type = SecuritySchemeType.OAUTH2, type = SecuritySchemeType.OAUTH2,
flows = OAuthFlows( flows = OAuthFlows(
implicit = OAuthFlow( implicit = OAuthFlow(
authorizationUrl = "https://id.2martens.de/realms/2martens/protocol/openid-connect/auth", authorizationUrl = "https://id.2martens.de/realms/twomartens/protocol/openid-connect/auth",
tokenUrl = "https://id.2martens.de/realms/2martens/protocol/openid-connect/token" tokenUrl = "https://id.2martens.de/realms/twomartens/protocol/openid-connect/token"
) )
) )
) )
@@ -37,7 +37,7 @@ spring:
oauth2: oauth2:
resourceserver: resourceserver:
jwt: jwt:
jwk-set-uri: ${KEYCLOAK_URL:https://id.2martens.de}/realms/${KEYCLOAK_REALM:2martens}/protocol/openid-connect/certs jwk-set-uri: ${KEYCLOAK_URL:https://id.2martens.de}/realms/${KEYCLOAK_REALM:twomartens}/protocol/openid-connect/certs
application: application:
name: timetable name: timetable
@@ -1,5 +1,5 @@
{ {
"realm": "2martens", "realm": "twomartens",
"auth-server-url": "https://id.2martens.de", "auth-server-url": "https://id.2martens.de",
"resource": "timetable", "resource": "timetable",
"http-method-as-scope": true "http-method-as-scope": true