{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-static/issues/45","repository_url":"https://api.github.com/repos/heroku/heroku-buildpack-static","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-static/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-static/issues/45/comments","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-static/issues/45/events","html_url":"https://github.com/heroku/heroku-buildpack-static/pull/45","id":173861989,"number":45,"title":"Basic Auth Configuration","user":{"login":"randallagordon","id":635388,"avatar_url":"https://avatars.githubusercontent.com/u/635388?v=3","gravatar_id":"","url":"https://api.github.com/users/randallagordon","html_url":"https://github.com/randallagordon","followers_url":"https://api.github.com/users/randallagordon/followers","following_url":"https://api.github.com/users/randallagordon/following{/other_user}","gists_url":"https://api.github.com/users/randallagordon/gists{/gist_id}","starred_url":"https://api.github.com/users/randallagordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randallagordon/subscriptions","organizations_url":"https://api.github.com/users/randallagordon/orgs","repos_url":"https://api.github.com/users/randallagordon/repos","events_url":"https://api.github.com/users/randallagordon/events{/privacy}","received_events_url":"https://api.github.com/users/randallagordon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-29T20:15:43Z","updated_at":"2016-12-08T01:49:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-static/pulls/45","html_url":"https://github.com/heroku/heroku-buildpack-static/pull/45","diff_url":"https://github.com/heroku/heroku-buildpack-static/pull/45.diff","patch_url":"https://github.com/heroku/heroku-buildpack-static/pull/45.patch"},"body":"#### What's this PR do?\n\nAdds the ability to configure Basic Authentication.\n\nWill generate `.htpasswd` if environment variables `BASIC_AUTH_USERNAME` and `BASIC_AUTH_PASSWORD` are present; otherwise use an `.htpasswd` file present in the `app` directory.\n\nTo configure, in `static.json`:\n\n``` json\n{\n  \"basic_auth\": true\n}\n```\n#### Background\n\nCloses #43, where Basic Auth support was requested by @josephabrahams.\n"},"comment":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-static/issues/comments/265630207","html_url":"https://github.com/heroku/heroku-buildpack-static/pull/45#issuecomment-265630207","issue_url":"https://api.github.com/repos/heroku/heroku-buildpack-static/issues/45","id":265630207,"user":{"login":"danmartinez101","id":2669819,"avatar_url":"https://avatars.githubusercontent.com/u/2669819?v=3","gravatar_id":"","url":"https://api.github.com/users/danmartinez101","html_url":"https://github.com/danmartinez101","followers_url":"https://api.github.com/users/danmartinez101/followers","following_url":"https://api.github.com/users/danmartinez101/following{/other_user}","gists_url":"https://api.github.com/users/danmartinez101/gists{/gist_id}","starred_url":"https://api.github.com/users/danmartinez101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmartinez101/subscriptions","organizations_url":"https://api.github.com/users/danmartinez101/orgs","repos_url":"https://api.github.com/users/danmartinez101/repos","events_url":"https://api.github.com/users/danmartinez101/events{/privacy}","received_events_url":"https://api.github.com/users/danmartinez101/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T01:49:29Z","updated_at":"2016-12-08T01:49:29Z","body":"I've been using this for almost a month now in our 2 pre-production environments with great success.\r\n\r\nhttps://github.com/Aculeus/create-react-app-buildpack/blob/master/.buildpacks"}}
{"actor":{"display_login":"danmartinez101"}}