forgejo/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
routing Update tool dependencies (#26607) 2023-08-20 22:59:19 +00:00
types
handler.go
route.go Make CORS work for oauth2 handlers (#28184) (#28185) 2023-11-23 22:27:00 +08:00
route_test.go
routemock.go
routemock_test.go