Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-30 13:56:09 +01: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 Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
misc.go Make CORS work for oauth2 handlers (#28184) (#28185) 2023-11-25 07:27:39 +01:00
swagger-forgejo.go [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00
swagger.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00