I currently have my keycloak configured for SAML on grafana. The issue im running into is the log in is different when i log in with saml and when i log in with keycloak SAML. i have a general idea of what the issue is but i could be totally wrong. When i log in with keycloak it shows it is the same account in the users tab but the orgin changed to SAML and the Role changes from admin to viewer. How do i make it so LDAP and SAML keep the same roles. my current set up is:
{auth.proxy]
enabled = true
header_name = X-Forwarded-User
header_property = username
auto_sign_up = true
roles_header = X-Forwarded-Roles
[auth.saml]
enabled = true
**key stuf **
roles_values_none = none
assertion_attribute_role = role
role_values_viewer = Viewer
role_values_Editor = Editor
roles_values_Admin = Admin
assertion_attribute_role = role
assertion_attribute_name = name
assertion_attribute_login = username
assertion_attribute_email = email
assertion_attribute_groups = groups
in key cloak i have the Name scope assigned to username becuase assigning it to last name or first name it prompts for the name when they try to log in with SAML