Joey Hafner 2022-07-08 23:31:04 -07:00
parent 540834c4d2
commit ba1ae131d9

View File

@ -6,4 +6,17 @@ root_url = %(protocol)s://%(domain)s/
force_migration = true
[auth.anonymous]
enabled = true
enabled = true
[auth.generic_oauth]
name = OAuth
icon = signin
enabled = true
client_id = ***REMOVED***
client_secret = ***REMOVED***
scopes = email openid profile
empty_scopes = false
auth_url = https://authentik.jafner.net/application/o/authorize/
token_url = https://authentik.jafner.net/application/o/token/
api_url = https://authentik.jafner.net/application/o/userinfo/
role_attribute_path = contains(groups[*], 'Grafana Admins') && 'Admin' || contains(groups[*], 'Grafana Editors') && 'Editor' || 'Viewer'