SSO login to Grafana

Page content

Configurate Gitab to use Keycloak as SSO Identity Proider.

Configurate Keycloak

Login to Keycloak and create client for Grafana: Example image

Configurate Gitlab

nano /etc/grafana/grafana.ini
#################################### Generic OAuth ##########################
[auth.generic_oauth]
enabled = true
name = SSO
allow_sign_up = true
client_id = gitlab
client_secret = 47fd3013-4333-4825-bbfa-b7688548d9cf
scopes = user:email,read:org
auth_url = https://sso.mydomain.intra/auth/realms/gitlab/protocol/openid-connect/auth
token_url = https://sso.mydomain.intra/auth/realms/gitlab/protocol/openid-connect/token
api_url = https://sso.mydomain.intra/auth/realms/gitlab/protocol/openid-connect/userinfo
;team_ids =
;allowed_organizations =

comments powered by Disqus