mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-07 12:37:43 -05:00
[Bug] Known Issue with Better Auth SSO Plugin #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @arunavo4 on GitHub (Jul 26, 2025).
When configuring SSO providers in Gitea Mirror, the
offline_accessscope causes authentication failures with certain providers that don't support this OpenID Connect standard scope.Affected Providers
Error 400: invalid_scopewith message:Current Behavior
offline_accessscope for all providersoffline_accessfor incompatible providersExpected Behavior
Users should be aware of which providers support
offline_accessscope to avoid authentication errors.Workaround
When configuring Google OAuth or other providers that don't support
offline_access:Supported
Common SSO providers that support the offline_access scope:
Providers that don't support offline_access:
The offline_access scope is part of the OpenID Connect specification for requesting refresh tokens, allowing applications to obtain new access tokens without user interaction.
Better-Auth Ref Issue: https://github.com/better-auth/better-auth/issues/2360
@arunavo4 commented on GitHub (Oct 22, 2025):
looks like the latest beta version solves this issue