This PR implements the ability to login with credentials "guest1", and "guest2" in testing (when the environment variable NODE_ENV is set to development) and in Heroku Review Apps. This should make it easier to test (both actually write tests with authorization as well as simply preview what the change does before merging it in), and actually allows to login in the Review Apps, as previously when GitHub was the only option it was impossible (more info on why here)
This PR implements the ability to login with credentials "guest1", and "guest2" in testing (when the environment variable
NODE_ENV
is set todevelopment
) and in Heroku Review Apps. This should make it easier to test (both actually write tests with authorization as well as simply preview what the change does before merging it in), and actually allows to login in the Review Apps, as previously when GitHub was the only option it was impossible (more info on why here)