refactor: update routing logic to redirect to '/welcome' after auth callback and handle organization checks

This commit is contained in:
Usman Baig
2026-02-08 13:53:54 +01:00
parent 6d5c2d401a
commit c715bc4ce4
3 changed files with 523 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ function AuthCallbackContent() {
localStorage.removeItem('oauth_state')
localStorage.removeItem('oauth_code_verifier')
if (localStorage.getItem('pulse_pending_checkout')) {
router.push('/pricing')
router.push('/welcome')
} else {
router.push('/')
}