gitea/routers/web/auth
Giteabot ec4fa231c7
use existing oauth grant for public client (#31015) (#31041)
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:33:00 +00:00
..
2fa.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
auth.go Make "/user/login" page redirect if the current user has signed in (#29583) (#29599) 2024-03-05 21:03:45 +08:00
auth_test.go Make "/user/login" page redirect if the current user has signed in (#29583) (#29599) 2024-03-05 21:03:45 +08:00
linkaccount.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
main_test.go
oauth.go use existing oauth grant for public client (#31015) (#31041) 2024-05-21 17:33:00 +00:00
oauth_test.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
openid.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
password.go More refactoring of `db.DefaultContext` (#27083) 2023-09-15 06:13:19 +00:00
webauthn.go Don't show Link to TOTP if not set up (#27585) (#27588) 2023-10-11 22:59:21 +02:00