Disable automatic assign Viewer Role

I am using keycloak to connect to grafana dashbord and I want to disable automatic assign “Viewer Role”, using env variable.
I fund role_attribute_strict = true, but it doesn’t work for me

curious. how exactly are you configuring keycloak with Grafana?

I also try to use role_attribute_strict equal to true, but it still assigns the Viewer role as default if I login with a user that has no role.

1 Like