Skip to content
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] Authentication Flow Bug #338

Open
jeafreezy opened this issue Feb 22, 2025 · 1 comment · Fixed by #341
Open

[BUG] Authentication Flow Bug #338

jeafreezy opened this issue Feb 22, 2025 · 1 comment · Fixed by #341
Assignees

Comments

@jeafreezy
Copy link
Collaborator

Describe the bug

If the user tries to authenticate using OSM OAUTH2.0, we don't have a specific callback route/modal/page dedicated to authentication, so when they are redirected back to fAIr, the 404 page is rendered briefly before getting redirected back to their initial page.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://fair.hotosm.org
  2. Click on 'Log in' or log out if you're already logged in, then try to log in again.
  3. See error.

Expected behavior
You should be authenticated smoothly without seeing the 404 page.

Screenshots

Screen.Recording.2025-02-22.at.16.05.39.mov
@jeafreezy jeafreezy added bug Something isn't working component : frontend labels Feb 22, 2025
@jeafreezy jeafreezy self-assigned this Feb 22, 2025
@jeafreezy jeafreezy mentioned this issue Feb 24, 2025
1 task
@jeafreezy jeafreezy reopened this Feb 25, 2025
@jeafreezy
Copy link
Collaborator Author

The PR fixing this issue has just been merged. Kindly deploy to dev @kshitijrajsharma , so we can test. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant