0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 04:16:53 -05:00
forgejo/modules
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
..
actions
activitypub
analyze
assetfs
auth [GITEA] Drop sha256-simd in favor of stdlib 2023-11-13 14:06:31 +01:00
avatar [GITEA] Drop sha256-simd in favor of stdlib 2023-11-13 14:06:31 +01:00
base [GITEA] Drop sha256-simd in favor of stdlib 2023-11-13 14:06:31 +01:00
cache
charset
container
context Add guide page to actions when there's no workflows (#28145) (#28153) 2023-11-22 17:12:12 +01:00
contexttest
csv
doctor
emoji
eventsource
generate
git [GITEA] Drop sha256-simd in favor of stdlib 2023-11-13 14:06:31 +01:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache [BRANDING] add X-Forgejo-* headers 2023-11-13 13:58:18 +01:00
httplib
indexer
issue/template
json
label
lfs [GITEA] Drop sha256-simd in favor of stdlib 2023-11-13 14:06:31 +01:00
log
markup [GITEA] Use restricted sanitizer for repository description 2023-11-13 14:06:30 +01:00
mcaptcha
metrics
migration
nosql
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Merge branch 'rebase-v1.21/forgejo-dependency' into wip-v1.21-forgejo 2023-11-13 16:47:12 +01:00
secret [GITEA] Drop sha256-simd in favor of stdlib 2023-11-13 14:06:31 +01:00
session
setting Change default size of attachments and repo files (#28100) (#28106) 2023-11-22 17:12:12 +01:00
sitemap
ssh [GITEA] Remove SSH workaround 2023-11-13 14:06:31 +01:00
storage [CI] Forgejo Actions based CI for PR & branches 2023-11-13 11:52:15 +01:00
structs Merge branch 'rebase-v1.21/forgejo-branding' into wip-v1.21-forgejo 2023-11-13 16:47:18 +01:00
svg
sync
system
templates
test
testlogger
timeutil
translation
turnstile
typesniffer
updatechecker [PRIVACY] Add a DNS method to fetch new updates 2023-11-13 13:57:31 +01:00
upload
uri
user
util [GITEA] rework long-term authentication 2023-11-13 14:06:31 +01:00
validation [GITEA] add option for banning dots in usernames 2023-11-13 14:04:16 +01:00
web Make CORS work for oauth2 handlers (#28184) (#28185) 2023-11-25 07:27:39 +01:00
webhook [BRANDING] add the forgejo webhook type & update webhook docs URLs 2023-11-13 13:58:18 +01:00