Need a HTTP Basic Auth for Create-React-App that is running on Heroku? Look no further!
Use this buildpack for your Heroku app: https://github.com/substantial/create-react-app-buildpack.git
BASIC_AUTH_USERNAME
environment variable sets the required user name. Plain text is OKBASIC_AUTH_PASSWORD
environment variable holds the password. It needs to be hashed in the same format as you'd do fin.htpasswd
-file