forgejo/routers/web/auth
Denys Konovalov 07fe5a8b13
use existing oauth grant for public client (#31015)
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: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 9c8c9ff6d10b35de8d2d7eae0fc2646ad9bbe94a)
2024-05-26 19:02:48 +02:00
..
2fa.go
auth.go
auth_test.go
linkaccount.go
main_test.go
oauth.go use existing oauth grant for public client (#31015) 2024-05-26 19:02:48 +02:00
oauth_test.go
openid.go
password.go
webauthn.go