Skip to content

Conversation

sneakers-the-rat
Copy link
Contributor

Fix: #1374

It is currently impossible to login in the dev environment, meaning that we can't interactively try and replicate bugs in prod that require a login like paper submission. In general it's great to be able to test things in a dev environment instead of needing to test in prod!

This PR just mocks the OmniAuth provider using instructions from their docs to automatically log us in as the Lord Fake user.

I updated the seed.db entries to match that (added uid and provider fields) and also updated those to upsert instead of error if they already exist.

It was also impossible to create a paper without a subject existing, so i added one.

…e seed entries to upsert instead of error if they already exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Impossible to login in dev environment
1 participant