leon #105

Closed
leon wants to merge 74 commits from (deleted):leon into master
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 2d29b8c9a9 - Show all commits

View File

@ -50,8 +50,10 @@
auth_url = "https://auth.c3d2.de/dex/auth";
client_id = "grafana";
client_secret = "$__file{${config.sops.secrets."grafana/client-secret".path}}";
disable_login_form = true; # only allow OAuth
icon = "signin";
name = "auth.c3d2.de";
oauth_auto_login = true; # redirect automatically to the only oauth provider
role_attribute_path = "contains(groups[*], 'grafana-admins') && 'Admin'";
# https://dexidp.io/docs/custom-scopes-claims-clients/
scopes = "openid email groups profile offline_access";