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

[Bugfix] Bypass authorization API token for preflight requests #4862

Merged
merged 1 commit into from
May 16, 2024

Conversation

dulacp
Copy link
Contributor

@dulacp dulacp commented May 16, 2024

Browsers should not send credentials in preflight requests irrespective of this setting
source

From this guideline, we can expect that almost all browsers won't send credentials during CORS preflight requests.

So, without this condition all preflight requests (OPTIONS) will reach the server without the authorization token and will be rejected by the middleware.

I searched for open issues, but wasn't able to find someone reporting this.

@simon-mo simon-mo merged commit 9216b9c into vllm-project:main May 16, 2024
46 of 55 checks passed
Temirulan pushed a commit to Temirulan/vllm-whisper that referenced this pull request Sep 6, 2024
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.

2 participants