Limit group mapping to client
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tobias Manske 2023-11-19 23:08:52 +01:00
parent c8462f4450
commit ff324aebed
Signed by: tobias
GPG Key ID: 9164B527694A0709
3 changed files with 17 additions and 14 deletions

View File

@ -34,4 +34,5 @@ resource "keycloak_openid_user_client_role_protocol_mapper" "gitea-role-mapper"
add_to_userinfo = true
add_to_access_token = true
add_to_id_token = false
client_id_for_role_mappings = module.giteaclient.client.id
}

View File

@ -48,6 +48,7 @@ resource "keycloak_openid_user_client_role_protocol_mapper" "grafana-role-mapper
add_to_userinfo = true
add_to_access_token = true
add_to_id_token = false
client_id_for_role_mappings = module.grafanaclient.client.id
}
resource "keycloak_role" "grafana-admin" {

View File

@ -48,4 +48,5 @@ resource "keycloak_openid_user_session_note_protocol_mapper" "hedgedoc-ip-mapper
session_note = "clientAddress"
add_to_access_token = true
add_to_id_token = true
}