You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/auth
Denys Konovalov 9c8c9ff6d1
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>
9 months ago
..
2fa.go Move context from modules to services (#29440) 1 year ago
auth.go Refactor AppURL usage (#30885) 10 months ago
auth_test.go Improve oauth2 client "preferred username field" logic and the error handling (#30622) 10 months ago
linkaccount.go Improve oauth2 client "preferred username field" logic and the error handling (#30622) 10 months ago
main_test.go make writing main test easier (#27270) 1 year ago
oauth.go use existing oauth grant for public client (#31015) 9 months ago
oauth_test.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
openid.go Move context from modules to services (#29440) 1 year ago
password.go Clean up log messages (#30313) 11 months ago
webauthn.go Move context from modules to services (#29440) 1 year ago