forgejo/routers/web
Denys Konovalov 07fe5a8b13
use existing oauth grant for public client ()
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
..
admin Add codespell support and fix a good number of typos with its help () 2024-05-09 13:49:37 +00:00
auth use existing oauth grant for public client () 2024-05-26 19:02:48 +02:00
devtest Move context from modules to services () 2024-03-06 12:10:43 +08:00
events Move context from modules to services () 2024-03-06 12:10:43 +08:00
explore Unify search boxes () 2024-03-20 12:31:05 +00:00
feed Teach activities.GetFeeds() how to avoid returning duplicates 2024-05-09 18:33:33 +02:00
healthcheck Add health-check test 2024-04-06 00:34:55 +02:00
misc Move context from modules to services () 2024-03-06 12:10:43 +08:00
org Fix various problems around projects board view () 2024-05-12 20:03:10 +02:00
repo Refactor sha1 and time-limited code () 2024-05-26 18:43:30 +02:00
shared Fix various problems around projects board view () 2024-05-12 20:03:10 +02:00
user Add codespell support and fix a good number of typos with its help () 2024-05-09 13:49:37 +00:00
base.go Fix panic in storageHandler () 2023-10-06 13:23:14 +00:00
githttp.go Move context from modules to services () 2024-03-06 12:10:43 +08:00
goget.go Move context from modules to services () 2024-03-06 12:10:43 +08:00
home.go migrate some more "OptionalBool" to "Option[bool]" () 2024-03-06 12:10:44 +08:00
metrics.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services () 2024-03-06 12:10:43 +08:00
swagger_json.go Move context from modules to services () 2024-03-06 12:10:43 +08:00
web.go tests(web): verify compressed files are not re-compressed 2024-05-25 23:54:28 +02:00
webfinger.go Enable more revive linter rules () 2024-04-28 15:39:00 +02:00