🚀 new authentication module

This commit is contained in:
auricom
2022-09-13 23:18:06 +02:00
parent 9453478d3f
commit 56be9eec50
46 changed files with 615 additions and 318 deletions

View File

@@ -34,7 +34,7 @@ spec:
existingSecret: grafana-admin-creds
grafana.ini:
auth:
signout_redirect_url: "https://login.${SECRET_CLUSTER_DOMAIN}/logout"
signout_redirect_url: "https://auth.${SECRET_CLUSTER_DOMAIN}/logout"
oauth_auto_login: false
auth.generic_oauth:
enabled: true
@@ -43,9 +43,9 @@ spec:
client_secret: "${SECRET_GRAFANA_OAUTH_CLIENT_SECRET}"
scopes: "openid profile email groups"
empty_scopes: false
auth_url: "https://login.${SECRET_CLUSTER_DOMAIN}/api/oidc/authorization"
token_url: "https://login.${SECRET_CLUSTER_DOMAIN}/api/oidc/token"
api_url: "https://login.${SECRET_CLUSTER_DOMAIN}/api/oidc/userinfo"
auth_url: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/authorization"
token_url: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/token"
api_url: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/userinfo"
login_attribute_path: preferred_username
groups_attribute_path: groups
name_attribute_path: name