feat: Add wahlrecht client
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-30 19:54:05 +02:00
parent e990c3ed0d
commit 6255bc58ec
+20 -2
View File
@@ -29,7 +29,7 @@ resource "keycloak_realm" "twomartens_realm" {
}
headers {
content_security_policy = "frame-src 'self'; frame-ancestors 'self' http://localhost:8100; object-src 'none';"
content_security_policy = "frame-src 'self'; frame-ancestors 'self' http://localhost:8100 https://wahlrecht.2martens.de; object-src 'none';"
}
}
@@ -131,4 +131,22 @@ resource "keycloak_openid_client" "twomartens_timetable_frontend" {
web_origins = [
"+"
]
}
}
resource "keycloak_openid_client" "twomartens_wahlrecht_frontend" {
realm_id = keycloak_realm.twomartens_realm.id
name = "Wahlrecht Frontend"
enabled = true
access_type = "PUBLIC"
client_id = "wahlrecht-frontend"
standard_flow_enabled = true
use_refresh_tokens = false
valid_redirect_uris = [
"http://localhost:8100/*",
"https://wahlrecht.2martens.de/*"
]
web_origins = [
"+"
]
}