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

Basic Auth Configuration (copy) #1

Merged
merged 17 commits into from
Nov 1, 2017
Merged

Conversation

ptrikutam
Copy link
Member

This is a copy of heroku#45

This is being merged here because we're currently waiting for the above PR to be merged. Original PR comment below.

--

What's this PR do?

Adds the ability to configure Basic Authentication.

Will generate .htpasswd if environment variables BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD are present; otherwise use an .htpasswd file present in the app directory.

To configure, in static.json:

{
   "basic_auth": true
}

Background

Closes heroku#43, where Basic Auth support was requested by @josephabrahams.

@ptrikutam ptrikutam merged commit b146661 into graybike:master Nov 1, 2017
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

Successfully merging this pull request may close these issues.

3 participants