1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers
wxiaoguang 7c0ab8b974
Make CORS work for oauth2 handlers (#28184)
Fix #25473

Although there was `m.Post("/login/oauth/access_token", CorsHandler()...`,
it never really worked, because it still lacks the "OPTIONS" handler.
2023-11-23 21:19:26 +08:00
..
api Fix swagger title (#28164) 2023-11-22 08:09:19 +00:00
common Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
install Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
private Fix typo "GetLatestRunnerToken" (#27680) 2023-10-18 15:52:44 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Make CORS work for oauth2 handlers (#28184) 2023-11-23 21:19:26 +08:00
init.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00