1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/routers
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>
2024-05-21 16:23:49 +00:00
..
api Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
common Refactor AppURL usage (#30885) 2024-05-07 08:26:13 +00:00
install Always load or generate oauth2 jwt secret (#30942) 2024-05-14 14:21:38 +00:00
private Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 2024-05-07 07:36:48 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web use existing oauth grant for public client (#31015) 2024-05-21 16:23:49 +00:00
init.go Make sure git version&feature are always prepared (#30877) 2024-05-06 18:34:16 +02:00