mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 20:46:51 +02:00
fix: Update CSP and add valid redirect uris
This commit is contained in:
@@ -29,7 +29,7 @@ resource "keycloak_realm" "twomartens_realm" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
headers {
|
headers {
|
||||||
content_security_policy = "frame-src 'self'; frame-ancestors 'self' http://localhost:4200; object-src 'none';"
|
content_security_policy = "frame-src 'self'; frame-ancestors 'self' http://localhost:8100; object-src 'none';"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -124,4 +124,11 @@ resource "keycloak_openid_client" "twomartens_timetable_frontend" {
|
|||||||
client_id = "tsw-timetable-frontend"
|
client_id = "tsw-timetable-frontend"
|
||||||
standard_flow_enabled = true
|
standard_flow_enabled = true
|
||||||
use_refresh_tokens = false
|
use_refresh_tokens = false
|
||||||
|
|
||||||
|
valid_redirect_uris = [
|
||||||
|
"http://localhost:8100/*"
|
||||||
|
]
|
||||||
|
web_origins = [
|
||||||
|
"http://localhost:8100/*"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user