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

Excluding certain routes when BASIC_AUTH_FORCE = True #11

Open
domkck opened this issue Oct 30, 2016 · 4 comments
Open

Excluding certain routes when BASIC_AUTH_FORCE = True #11

domkck opened this issue Oct 30, 2016 · 4 comments

Comments

@domkck
Copy link

domkck commented Oct 30, 2016

Hi, would you be interested in a patch that adds support for excluding certain routes when BASIC_AUTH_FORCE = True? I want to protect all endpoints with the exception of for example /healthcheck.

@panuhorsmalahti
Copy link

Related: exclude certain methods, like OPTIONS, which is required for CORS, but which can't contain Authorization header.

@megahall
Copy link

This might help: #14 .

@mdavis-xyz
Copy link

#14 resolves the CORS issue, but not the /healthcheck issue.

@domkck did you end up writing that patch?

I assume we just need something like @basic_auth.required, but the opposite.

@mdavis-xyz
Copy link

@jpvanhal this repo hasn't been updated in a while. Can you confirm that if I write a PR for this that you'll accept it?

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

No branches or pull requests

4 participants