Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/routers
Denys Konovalov 97a0d90c39
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)
(cherry picked from commit 07fe5a8b13)
2024-06-06 13:59:06 +02:00
..
api Check the token's owner and repository when registering a runner (#30406) (#30412) 2024-04-15 09:35:37 +02:00
common Fix incorrect cookie path for AppSubURL (#29534) (#29552) 2024-03-10 18:45:59 +07:00
install Fix validity of the FROM email address not being checked (#29347) (#29360) 2024-03-06 12:20:42 +08:00
private hooks: Harden when we accept push options that change repo settings 2024-04-18 11:53:30 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web use existing oauth grant for public client (#31015) 2024-06-06 13:59:06 +02:00
init.go [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00