Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Release 2.1.2 - remove CORS middleware #62

Merged
merged 2 commits into from
Aug 28, 2023
Merged

Release 2.1.2 - remove CORS middleware #62

merged 2 commits into from
Aug 28, 2023

Conversation

briskt
Copy link
Contributor

@briskt briskt commented Aug 28, 2023

Changed (non-breaking)

  • Remove the CORS middleware since it is not required for this application.

briskt added 2 commits August 28, 2023 09:55
CORS shouldn't be needed since the server is called directly by the ID Broker, not using XHR requests in a browser. If I am wrong and it is called in an XHR request, then the CORS Access-Control-Allow-Origin should be set to a specific value and not simply the origin value in the request header.
@briskt briskt merged commit a5d9b36 into main Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants