fix: redirect unauthenticated portal users to /login (GRO-309) #188

Closed
groombook-engineer[bot] wants to merge 1 commits from fix/gro-309-portal-auth-redirect into main

1 Commits

Author SHA1 Message Date
Barkley Trimsworth 62b1a34a68 fix: redirect unauthenticated users from customer portal to login
When CustomerPortal mounts without a valid sessionId param or when
session creation fails, the portal chrome was rendering for
unauthenticated users. Add initComplete + sessionError state to
track async initialization, and redirect to /login when no valid
session exists after init completes.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-30 18:58:39 +00:00