Skip to content

fix(api): add support for CORS preflight requests#2223

Open
skrashevich wants to merge 1 commit intoAlexxIT:masterfrom
skrashevich:fix/cors-preflight-auth
Open

fix(api): add support for CORS preflight requests#2223
skrashevich wants to merge 1 commit intoAlexxIT:masterfrom
skrashevich:fix/cors-preflight-auth

Conversation

@skrashevich
Copy link
Copy Markdown
Collaborator

- handle OPTIONS method in middlewareAuth to allow preflight requests
- handle OPTIONS method in middlewareCORS to respond with no content
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.

CORS preflight OPTIONS fails with 401 when authentication is enabled

1 participant