Files
kevinveenbirkenbachandClaude Opus 5.5 16df750012 fix(web-app-gitea): map the OIDC username claim to Gitea's USERNAME keyword
Gitea's [oauth2_client] USERNAME takes a fixed keyword (userid, nickname, preferred_username, email), not a claim name. GITEA_OAUTH2_USERNAME_SOURCES translates the configured claim, so sub selects userid and an unsupported claim fails the render instead of Gitea silently falling back to nickname. The scope test now compares the sets directly. Addresses the PR 1720 review comments.

🎯 Fix: 95 %
💥 Break: 3 %
💸 Cost: –
⏱️ Time: –
🛡️ Security: 100 %
🏆 Score: 92
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 22:39:06 +00:00
..