Skip to content

fix: revisit route guards for verify-email and complete-registration - #213

Draft
aminamos wants to merge 1 commit into
MobilityData:mainfrom
aminamos:fix/149-route-guards-verify-complete
Draft

aminamos wants to merge 1 commit into
MobilityData:mainfrom
aminamos:fix/149-route-guards-verify-complete

Conversation

@aminamos

Copy link
Copy Markdown

Summary:

Resolves #149.
Enhances route guards and ProtectedPageWrapper to verify authentication resolution before redirecting, preserving query parameters and handling edge-case race conditions on registration completion.

Expected behavior:

Users navigating between verify-email and complete-registration are not prematurely redirected to sign-in.

Testing tips:

  1. Checkout fix/149-route-guards-verify-complete.
  2. Run yarn test.
  3. Walk through registration completion flow.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with yarn test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

@aminamos is attempting to deploy a commit to the MobilityData Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Revisit route guards for verify-email and complete-registration

1 participant