mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 07:57:55 +02:00
fix: Fix realm name
This commit is contained in:
+2
-2
@@ -16,8 +16,8 @@ import org.springframework.context.annotation.Configuration
|
||||
type = SecuritySchemeType.OAUTH2,
|
||||
flows = OAuthFlows(
|
||||
implicit = OAuthFlow(
|
||||
authorizationUrl = "https://id.2martens.de/realms/2martens/protocol/openid-connect/auth",
|
||||
tokenUrl = "https://id.2martens.de/realms/2martens/protocol/openid-connect/token"
|
||||
authorizationUrl = "https://id.2martens.de/realms/twomartens/protocol/openid-connect/auth",
|
||||
tokenUrl = "https://id.2martens.de/realms/twomartens/protocol/openid-connect/token"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -37,7 +37,7 @@ spring:
|
||||
oauth2:
|
||||
resourceserver:
|
||||
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:
|
||||
name: timetable
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"realm": "2martens",
|
||||
"realm": "twomartens",
|
||||
"auth-server-url": "https://id.2martens.de",
|
||||
"resource": "timetable",
|
||||
"http-method-as-scope": true
|
||||
|
||||
Reference in New Issue
Block a user