Add oidc to grafana
This commit is contained in:
parent
fd3381bd1b
commit
e5680715da
@ -41,10 +41,13 @@ grafana.ini:
|
||||
name: Keycloak
|
||||
allow_sign_up: true
|
||||
client_id: grafana
|
||||
client_secret: Tpec9uA2R6vZ3DgD74WUxN2UoZbwnKJ9
|
||||
client_secret: 6mfAtg8ZrioiCZMsbMi4dbZyJk205nRi
|
||||
scopes: openid profile email
|
||||
auth_url: https://keycloak.dvirlabs.com/realms/lab/protocol/openid-connect/auth
|
||||
token_url: https://keycloak.dvirlabs.com/realms/lab/protocol/openid-connect/token
|
||||
api_url: https://keycloak.dvirlabs.com/realms/lab/protocol/openid-connect/userinfo
|
||||
role_attribute_path: contains(groups[*], 'grafana-admins') && 'Admin' || 'Viewer'
|
||||
allow_assign_grafana_admin: true
|
||||
|
||||
env:
|
||||
GF_AUTH_GENERIC_OAUTH_NAME: Keycloak
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user