fix(auth): complete Google OAuth after SDK boot #3

Merged
tanweer919 merged 1 commits from feat/login-methods into goutamnextflow 2026-07-12 20:01:53 +00:00
Collaborator

OAuth-return effect ran before boot; gate on ready so completeOAuthLogin actually exchanges the code. Fixes stuck-on-?code=#identify.

OAuth-return effect ran before boot; gate on ready so completeOAuthLogin actually exchanges the code. Fixes stuck-on-?code=#identify.
tanweer919 added 1 commit 2026-07-12 20:01:43 +00:00
The OAuth-return effect ran on mount before AppShell finished booting, so
completeOAuthLogin no-oped (sdk.auth undefined → null) and fell back to identify,
never retrying. Gate it on useAppShell().ready so it runs once auth is up, and
strip ?code= from the URL on success.
tanweer919 merged commit 6d0c8890d3 into goutamnextflow 2026-07-12 20:01:53 +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#3