fix(grafana): skip_org_role_sync on first login

Set skip_org_role_sync=true to allow user creation on first OAuth signin.
When false, Grafana tries to sync org roles before user exists, causing creation to fail.
This commit is contained in:
2026-09-15 00:32:41 +09:00
parent f61e8f1f68
commit b03098aa1c
+1 -1
View File
@@ -90,7 +90,7 @@ grafana.ini:
allow_assign_grafana_admin: true allow_assign_grafana_admin: true
use_pkce: false use_pkce: false
use_refresh_token: false use_refresh_token: false
skip_org_role_sync: false skip_org_role_sync: true # Skip org role sync to allow first-time user creation
tls_skip_verify_insecure: true # Authentik uses self-signed cert; verify in prod tls_skip_verify_insecure: true # Authentik uses self-signed cert; verify in prod
# GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET is injected from the grafana-oidc K8s # GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET is injected from the grafana-oidc K8s