Updated realm id

This commit is contained in:
2023-07-17 09:56:06 +02:00
parent d7f2018e1f
commit a7df485f05
5 changed files with 6 additions and 6 deletions
@@ -1,6 +1,6 @@
export const environment = { export const environment = {
backendURL: "http://localhost:12000/wahlrecht/v1", backendURL: "http://localhost:12000/wahlrecht/v1",
keycloakURL: "https://id.2martens.de", keycloakURL: "https://id.2martens.de",
realm: "wahlrecht", realm: "2martens",
clientId: "wahlrecht-frontend" clientId: "wahlrecht-frontend"
}; };
@@ -1,6 +1,6 @@
export const environment = { export const environment = {
backendURL: "https://wahlrecht.2martens.de/wahlrecht/v1", backendURL: "https://wahlrecht.2martens.de/wahlrecht/v1",
keycloakURL: "https://id.2martens.de", keycloakURL: "https://id.2martens.de",
realm: "wahlrecht", realm: "2martens",
clientId: "wahlrecht-frontend" clientId: "wahlrecht-frontend"
}; };
@@ -20,8 +20,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/wahlrecht/protocol/openid-connect/auth", authorizationUrl = "https://id.2martens.de/realms/2martens/protocol/openid-connect/auth",
tokenUrl = "https://id.2martens.de/realms/wahlrecht/protocol/openid-connect/token" tokenUrl = "https://id.2martens.de/realms/2martens/protocol/openid-connect/token"
) )
) )
) )
@@ -34,7 +34,7 @@ spring:
oauth2: oauth2:
resourceserver: resourceserver:
jwt: jwt:
jwk-set-uri: https://id.2martens.de/realms/wahlrecht/protocol/openid-connect/certs jwk-set-uri: https://id.2martens.de/realms/2martens/protocol/openid-connect/certs
# properties for application # properties for application
@@ -1,5 +1,5 @@
{ {
"realm": "wahlrecht", "realm": "2martens",
"auth-server-url": "https://id.2martens.de", "auth-server-url": "https://id.2martens.de",
"resource": "wahlrecht", "resource": "wahlrecht",
"http-method-as-scope": true "http-method-as-scope": true