Gitea: declare the Dex login source in Helm values
Demo / hello (push) Successful in 12s

Records the source that was configured live with gitea admin auth:
OIDC discovery from Dex, groups scope, and login restricted to members
of Gitea Users via the groups claim. Needs gitea_dex_client_secret in
Vault (the same secret as Dex's gitea client).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-06 19:12:03 -05:00
co-authored by Claude Opus 5.5
parent 170c3a069e
commit 6144791cb9
+13
View File
@@ -74,6 +74,19 @@
bindPassword: "{{ openldap_readonly_password }}" bindPassword: "{{ openldap_readonly_password }}"
usernameAttribute: uid usernameAttribute: uid
publicSSHKeyAttribute: sshPublicKey publicSSHKeyAttribute: sshPublicKey
# Sign-in through Dex; only members of Gitea Users (sent in the groups
# claim) may log in. The name "Dex" fixes the callback URL
# /user/oauth2/Dex/callback registered in Dex.
oauth:
- name: Dex
provider: openidConnect
key: gitea
secret: "{{ gitea_dex_client_secret }}"
autoDiscoverUrl: https://dex.eom.dev/.well-known/openid-configuration
scopes: "openid profile email groups"
requiredClaimName: groups
requiredClaimValue: Gitea Users
groupClaimName: groups
config: config:
APP_NAME: "Gitea" APP_NAME: "Gitea"
service: service: