We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ac6c3 commit 83be956Copy full SHA for 83be956
apps/grafana/components/oidc/grafana.properties
@@ -4,4 +4,4 @@ GF_AUTH_GENERIC_OAUTH_ALLOW_SIGN_UP=true
4
GF_AUTH_GENERIC_OAUTH_SCOPES=openid email profile offline_access roles
5
GF_AUTH_GENERIC_OAUTH_EMAIL_ATTRIBUTE_PATH=email
6
GF_AUTH_GENERIC_OAUTH_LOGIN_ATTRIBUTE_PATH=username
7
-GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'
+GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || contains(roles[*], 'viewer') && 'Viewer' || 'false'
0 commit comments