0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-09 16:10:50 -05:00
forgejo/routers/web/misc
Giteabot 3175a984f2
Make CORS work for oauth2 handlers (#28184) (#28185)
Backport #28184

Fix #25473

Although there was `m.Post("/login/oauth/access_token", CorsHandler()...`,
it never really worked, because it still lacks the "OPTIONS" handler.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 23838c2c2e)
2023-11-25 07:27:39 +01:00
..
markup.go
misc.go Make CORS work for oauth2 handlers (#28184) (#28185) 2023-11-25 07:27:39 +01:00
swagger-forgejo.go
swagger.go