Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Add CORS support to Express, Koa, oAuth and generated application #2744

Merged
merged 1 commit into from
Sep 12, 2022

Conversation

daffl
Copy link
Member

@daffl daffl commented Sep 9, 2022

This pull request adds CORS middleware to Koa and Express applications. It also adds a default origins configuration to the generated application which will be used to initialise the proper Socket.io configuration and by @feathersjs/authentication-oauth as valid redirect URLs (the redirect option is still available but no longer necessary).

Closes #2703

@daffl daffl changed the title feat: Add CORS support to oAuth, Express, Koa and generated application feat: Add CORS support to Express, Koa, oAuth and generated application Sep 9, 2022
@daffl daffl merged commit fd218f2 into dove Sep 12, 2022
@daffl daffl deleted the dove-cors branch September 12, 2022 06:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant