Skip to content

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

Merged
daffl merged 1 commit into
dovefrom
dove-cors
Sep 12, 2022
Merged

feat: Add CORS support to Express, Koa, oAuth and generated application#2744
daffl merged 1 commit into
dovefrom
dove-cors

Conversation

@daffl
Copy link
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant