1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 19:54:25 +00:00
gitea/modules/web
Giteabot 23838c2c2e
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>
2023-11-23 22:27:00 +08:00
..
middleware Fix "Flash" message usage (#25895) 2023-07-15 11:52:03 +03:00
routing Update tool dependencies (#26607) 2023-08-20 22:59:19 +00:00
types Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
handler.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
route_test.go Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
route.go Make CORS work for oauth2 handlers (#28184) (#28185) 2023-11-23 22:27:00 +08:00
routemock_test.go Make route middleware/handler mockable (#25766) 2023-07-09 12:25:53 +00:00
routemock.go Make route middleware/handler mockable (#25766) 2023-07-09 12:25:53 +00:00