0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-04 03:54:36 +01:00
gitea/routers/web/auth
Giteabot e3390e2441
use existing oauth grant for public client (#31015) (#31042)
Backport #31015 by @denyskon

Do not try to create a new authorization grant when one exists already,
thus preventing a DB-related authorization issue.

Fix https://github.com/go-gitea/gitea/pull/30790#issuecomment-2118812426

Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-05-21 17:32:31 +00:00
..
2fa.go
auth.go
auth_test.go
linkaccount.go
main_test.go
oauth.go
oauth_test.go
openid.go
password.go
webauthn.go