Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

add ability to login with credentials #8

Merged
merged 4 commits into from
Jan 24, 2021

Conversation

JakubKoralewski
Copy link
Owner

@JakubKoralewski JakubKoralewski commented Jan 24, 2021

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)

@JakubKoralewski JakubKoralewski temporarily deployed to lwit-scrum-private-pr-8 January 24, 2021 16:58 Inactive
the `initiateDb.ts` file should probably be split into
small enough chunks that we can safely import stuff
without having to do these shananigans
@JakubKoralewski JakubKoralewski temporarily deployed to lwit-scrum-private-pr-8 January 24, 2021 17:13 Inactive
@JakubKoralewski JakubKoralewski temporarily deployed to lwit-scrum-private-pr-8 January 24, 2021 17:15 Inactive
This happens right after loggin in `/app` and it seems to be a client
only problem and I have no idea what is causing it

I really should have run `npm run build` etc. so I'll try that
if this fails. Sorry future me
@JakubKoralewski JakubKoralewski temporarily deployed to lwit-scrum-private-pr-8 January 24, 2021 18:06 Inactive
@JakubKoralewski JakubKoralewski merged commit a63fa1a into scrum-main Jan 24, 2021
@JakubKoralewski JakubKoralewski deleted the feature/heroku-review-apps branch January 24, 2021 18:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant