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

When running CORS check it's not sending remaining headers. #1483

Open
richtera opened this issue Jul 12, 2024 · 0 comments
Open

When running CORS check it's not sending remaining headers. #1483

richtera opened this issue Jul 12, 2024 · 0 comments

Comments

@richtera
Copy link

headers: new Headers({

For authenticated services the Authorization header doesn't seem to be sent to the OPTIONS request, making them fail with a 401 instead of passing the CORS check. Switching from happy-dom to node-fetch in jest passes the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant