feat(auth): first-time Google onboarding (option 3)

After a Google sign-in with no CRM profile, route to /portal/onboarding — the
registration flow in mode='onboard': email skipped (Google-verified, prefilled
via getUserEmail), sets a password (updateUser) so email+password login also
works, skips the OTP-verify step, and persists the profile via crm.account.register.
Existing-profile users go straight to the dashboard. Bumps SDK ^0.2.3.
This commit is contained in:
tanweer919
2026-07-13 03:35:55 +05:30
parent 34cb44cfa8
commit 948abf75fd
4 changed files with 80 additions and 27 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"lint": "eslint"
},
"dependencies": {
"@abe-kap/appshell-sdk": "^0.2.2",
"@abe-kap/appshell-sdk": "^0.2.3",
"clsx": "^2.1.1",
"lucide-react": "^1.21.0",
"next": "16.2.9",