Production authentication diagnostics
Domain
Origin
Cookies
Session Storage Keys
No client session detected
No driver context available (may not be a driver account)
No admin user record (may not be an admin)
1. If seeing 401 errors: Verify custom domain auth is configured in Base44 settings
2. Confirm allowed origins include: https://routenation.app
3. Verify callback URLs include all portal login URLs on routenation.app
4. Check that all backend functions are deployed to production (not just saved in preview)
5. Clear browser cookies/storage and re-login on the Live domain