-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] /whoami endpoint failing #265
Comments
This works locally. At some point we renamed the /test endpoint to /whoami. The frontend was deployed with this new path, but the backend wasn't. So login fails on the dev deployment as it tries to access the missing route. Redeploying the dev api should fix the issue. |
Testing on https://dev.nationalpolicedata.org/login in Safari, with credentials used previously, the first time I try to login, it fails. The second time I try to login, it succeeds. |
To reproduce: in Safari, Develop > Empty Caches. Load the page, log in with good credentials and you will see an error message. Click login again, and it will succeed. |
Describe the bug
A clear and concise description of what the bug is.
when trying to login the web app frontend checks the
/whoami
endpoint and that is failing for all pagesTo Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: