mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 16:06:51 +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,
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user