Grafana Oauth Config

This commit is contained in:
Dan Hamik 2024-01-16 22:57:03 -06:00
commit bcbc99f557

15
grafana.ini Normal file
View File

@ -0,0 +1,15 @@
[auth]
oauth_auto_login = true
;#################################### Generic OAuth ##########################
[auth.generic_oauth]
enabled = true
name = Authentik
allow_sign_up = true
client_id = CLIENT_ID_RANDOM_STRING
client_secret = CLIENT_SECRET_RANDOM_STRING
scopes = openid,email,read:org
auth_url = https://auth.hamik.net/application/o/authorize/
token_url = https://auth.hamik.net/application/o/token/
api_url = https://auth.hamik.net/application/o/userinfo/
skip_org_role_sync=true