Added grafana to keycloak. clean up prom-stak
This commit is contained in:
@@ -128,9 +128,9 @@ resource "keycloak_openid_client" "oauth2_app" {
|
||||
standard_flow_enabled = true
|
||||
direct_access_grants_enabled = false
|
||||
|
||||
valid_redirect_uris = each.value.redirect_uris
|
||||
valid_redirect_uris = each.value.redirect_uris
|
||||
valid_post_logout_redirect_uris = each.value.post_logout_redirect_uris
|
||||
web_origins = each.value.web_origins
|
||||
web_origins = each.value.web_origins
|
||||
}
|
||||
|
||||
resource "keycloak_openid_group_membership_protocol_mapper" "oauth2_app_groups" {
|
||||
|
||||
@@ -18,8 +18,8 @@ proxy_applications = {
|
||||
|
||||
oauth2_applications = {
|
||||
gitea = {
|
||||
redirect_uris = ["https://gt.hexor.cy/user/oauth2/Keycloak/callback"]
|
||||
web_origins = ["https://gt.hexor.cy"]
|
||||
redirect_uris = ["https://gt.hexor.cy/user/oauth2/Keycloak/callback"]
|
||||
web_origins = ["https://gt.hexor.cy"]
|
||||
post_logout_redirect_uris = ["https://gt.hexor.cy/*"]
|
||||
}
|
||||
ArgoCD = {
|
||||
@@ -28,5 +28,10 @@ oauth2_applications = {
|
||||
post_logout_redirect_uris = ["https://ag.hexor.cy/*"]
|
||||
extra_optional_scopes = ["offline_access"]
|
||||
}
|
||||
Grafana = {
|
||||
redirect_uris = ["https://gf.hexor.cy/login/generic_oauth"]
|
||||
web_origins = ["https://gf.hexor.cy"]
|
||||
post_logout_redirect_uris = ["https://gf.hexor.cy/*"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user