Complete authentication flow testing and diagnostics
Cause: Magic link auth did not set the cookie properly
Solution: Ensure GET /auth/magic-link?token=... is called with credentials: 'include'
Cause: Cookie not being stored in browser
Solution: Check browser settings - cookies must be enabled. Also verify CORS configuration.
Cause: Cookie exists but is invalid or expired
Solution: Log out completely and log back in. If issue persists, check session expiration settings.
Cause: Rork not sending credentials with requests
Solution: Add credentials: 'include' to EVERY fetch call in Rork mobile app