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

Usage with a password protected Netlify website #4

Closed
gslama-akqa opened this issue Apr 27, 2020 · 3 comments
Closed

Usage with a password protected Netlify website #4

gslama-akqa opened this issue Apr 27, 2020 · 3 comments

Comments

@gslama-akqa
Copy link
Contributor

Hi there,

First thank you for this project!

My question is about password protected websites.
Any idea how we could use this with a Netlify instance that has Site-wide protection?

Other option, does it make sense to use basic auth with the login and password as part of the site name?

@gslama-akqa gslama-akqa changed the title Usage with a password encrypted Netlify website Usage with a password protected Netlify website Apr 27, 2020
@JakePartusch
Copy link
Owner

JakePartusch commented Apr 27, 2020

Great suggestion! I think that we could most likely support this with an extra config variable. Maybe something like auth_header?

We would then send the GET request with the Authorization header populated with the given data (eg. "Basic YWRtaW46aHVudGVyMg==").

@gslama-akqa
Copy link
Contributor Author

Thanks for the quick answer Jake. That'd be ideal!

@JakePartusch
Copy link
Owner

Cool 👍 @gslama-akqa if you'd like to take a shot at a PR, I'd gladly accept. Otherwise, it might be a bit before I can get this implemented.

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

2 participants