fix: Add authorization support to wahlrecht backend client
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-26 14:05:09 +02:00
parent 8a8fd21fb3
commit 811ad23801
+13 -8
View File
@@ -172,14 +172,19 @@ resource "keycloak_openid_client" "twomartens_wahlrecht_frontend" {
} }
resource "keycloak_openid_client" "twomartens_wahlrecht_backend" { resource "keycloak_openid_client" "twomartens_wahlrecht_backend" {
realm_id = keycloak_realm.twomartens_realm.id realm_id = keycloak_realm.twomartens_realm.id
name = "Wahlrecht Backend" name = "Wahlrecht Backend"
enabled = true enabled = true
access_type = "CONFIDENTIAL" access_type = "CONFIDENTIAL"
client_id = "wahlrecht" client_id = "wahlrecht"
standard_flow_enabled = true standard_flow_enabled = true
use_refresh_tokens = false service_accounts_enabled = true
full_scope_allowed = false use_refresh_tokens = false
full_scope_allowed = false
authorization {
policy_enforcement_mode = "ENFORCING"
}
valid_redirect_uris = [ valid_redirect_uris = [
"http://localhost:12000/*", "http://localhost:12000/*",