Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Authentication for preflighted requests #7282

Closed Answered by code-asher
helgehatt asked this question in Q&A
Discussion options

Follow-up question to #3240

I have configured my frontend to include credentials when sending requests to the backend. GET requests work fine, however POST requests which are preflighted send an OPTIONS request without credentials, which is subsequently unauthorized by the proxy authentication. Is there any way to solve this? OPTIONS requests should exclude credentials as per the CORS specification, and the server should be configured to respond with 200 or 204, however in this case the OPTIONS request never reaches the server.

You must be logged in to vote

Good point, this is a bug. I opened an issue if someone wants to take a crack at it: #7283

Replies: 1 comment

Comment options

Good point, this is a bug. I opened an issue if someone wants to take a crack at it: #7283

You must be logged in to vote
0 replies
Answer selected by helgehatt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /