forked from ManifoldScholar/manifold
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugsomething isn't workingsomething isn't working
Description
Attempting to authenticate against staging actually authenticates against production. This creates issues with creating test users and cases, since you cannot log in with a staging-only user or credentials.
Reproduction instructions
- Go to staging site - https://princeton-manifold-friends.notch8.cloud/
- Enter an email address and password (do not hit enter / submit yet)
- Open up the network tab in the developer tools
- Hit submit
- In the network tab, you should see a red line with
tokens?email=- open up the details, it will be a POST request tohttps://openpublishing.princeton.edu/api/v1/tokens?email=[YOUR_INFO]- aka, the production URL
Acceptance criteria
- Attempting to authenticate via the staging UI authenticates against the staging environment, including the staging database
- Attempting to authenticate via the production UI authenticates against the production environment, including the production database
Notes
I think it's possible that the production and staging sites are pointing at the same database. Alternatively, this could be a configuration issue with the authentication path itself.
Metadata
Metadata
Assignees
Labels
bugsomething isn't workingsomething isn't working