choiminyeong 72de43d273 docs: TASK-033 follow-up, diagnose login server_error after scope change
Traced the live 'denied:server_error' login failure to Gitea 1.23.5's
own GrantApplicationOAuth: it refuses to silently widen an existing
OAuth2 grant's scope (grant.Scope != form.Scope -> ErrorCodeServerError,
'a grant exists with different scope'). No code change -- this is
Gitea's own intended behavior. Fix is to revoke UBGitea's existing
authorization from Gitea's Settings > Applications page before retrying
login, so a fresh grant is created under the new scope.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-27 23:46:19 +09:00
..