Movatterモバイル変換


[0]ホーム

URL:


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

disable basic authentication for HTTP OPTIONS for CORS#1176

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rparree wants to merge1 commit intonginx-proxy:main
base:main
Choose a base branch
Loading
fromrparree:CORS_AUTH

Conversation

rparree
Copy link

@rparreerparree commentedOct 17, 2018
edited
Loading

This is to make CORS to work together with basic authentication. OPTIONS should not be restricted as browsers don't send the auth bearer for pre-flight requests

vemonet and kodymoodley reacted with thumbs up emoji
@vemonet
Copy link

vemonet commentedSep 13, 2021
edited
Loading

Is there any plan on accepting this fix? We are having the same issue to use CORS + basic nginx Auth, and it's quite cumbersome to re-build everything for one missing line! Thanks a lot!@buchdag

kodymoodley reacted with thumbs up emoji

@tkw1536
Copy link
Collaborator

I'm not sure this should be accepted.

When configuring http basic authentication, by default I would expectall requests to only be forwarded after authentication; that way no data can be accidentally leaked to unauthenticated clients.

IMO if any request is excluded from this, it should at least be documented in the README. Perhaps it should also be hidden behind a feature flag / environment variable.

vemonet reacted with thumbs up emoji

@vemonet
Copy link

Indeed@tkw1536 it would make sense to make this disabled by default and only enabled if explicitly requested

Still interested@rparree ? I'll take a look when I have some time otherwise

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@rparree@vemonet@tkw1536

[8]ページ先頭

©2009-2025 Movatter.jp