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

Add an environment variable to enable CORS requests with basic authentication#1779

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
vemonet wants to merge1 commit intonginx-proxy:main
base:main
Choose a base branch
Loading
fromvemonet:fix-cors-with-auth

Conversation

vemonet
Copy link

@vemonetvemonet commentedSep 13, 2021
edited
Loading

Added the environment variableENABLE_CORS_AUTH to disable basic authentication for HTTP OPTIONS to enable CORS requests preflights.

The default behavior does not change, authentication for OPTIONS is still enabled by default

This feature has been mentioned here:#1150
And a first pull request proposed here:#1176

I am not sure about the name of the env variable:ENABLE_CORS_AUTH to disable auth when CORS OPTIONS... Might be a bit misleading. Could be alsoENABLE_PASS_CORS_AUTH, let me know if we should change it

Thanks@tkw1536 for the feedback on the issue

And thanks for this amazing project

kodymoodley, aleksplus, green3g, and servicepipe reacted with thumbs up emoji
…OPTIONS to enable CORS requests. The default behavior does not change, authentication for OPTIONS is still enabled by default
@junderw
Copy link
Contributor

Needs tests

kodymoodley, vemonet, buchdag, and navarroaxel reacted with thumbs up emoji

@buchdagbuchdag added type/featPR for a new feature status/pr-needs-testsThis PR needs new or additional test(s) labelsSep 14, 2021
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
status/pr-needs-testsThis PR needs new or additional test(s)type/featPR for a new feature
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@vemonet@junderw@buchdag

[8]ページ先頭

©2009-2025 Movatter.jp