fix(onboarding): gate direct access behind OAuth handoff #14

Merged
tanweer919 merged 1 commits from tanweer919/lynkeduppro-crm:feat/login-methods into goutamnextflow 2026-07-12 22:32:35 +00:00
Collaborator

Direct/typed navigation to /portal/onboarding now redirects to login unless the user arrived via the Google sign-in handoff (onboard_email hint + authenticated session). Avoids the empty-email form on direct access; clears the hint on completion.

Direct/typed navigation to /portal/onboarding now redirects to login unless the user arrived via the Google sign-in handoff (onboard_email hint + authenticated session). Avoids the empty-email form on direct access; clears the hint on completion.
tanweer919 added 1 commit 2026-07-12 22:31:15 +00:00
/portal/onboarding is only a step in the Google sign-in flow. Redirect to
login unless the login page's onboard_email handoff hint is present (and the
session is authenticated), instead of showing an empty form on direct/typed
URL access. Hold rendering until the check passes to avoid a form flash, and
clear the hint once onboarding completes so it can't be reused.
tanweer919 merged commit 5e2fa574bd into goutamnextflow 2026-07-12 22:32:35 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Goutam/lynkeduppro-crm#14