The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| platform-frontend | Preview, Comment | Mar 19, 2026 6:40pm |
Fix magic link authentication flow where users were being redirected back to the login page instead of being authenticated.
Root cause: The setAuthCookie server action (which calls redirect() internally) was being called from React Query's onSuccess callback — outside of a React transition. In Next.js 15 / React 19, server action redirects work by returning a special RSC payload that React's infrastructure intercepts to trigger navigation. When called outside a startTransition or form action, this redirect signal was being swallowed by React Query's internal error handling. The cookies were set (Set-Cookie headers are processed at the HTTP level), but the navigation never fired, leaving users stuck or seeing an error state.
Fix:
mutate + onSuccess to mutateAsync + try/catchsetAuthCookie server action call in startTransition so React properly handles the redirect() thrown by the server actionpnpm lint (0 errors)startTransitionTriggered by: Palash Kala palash@composio.dev | Source: slack Session: https://zen-api-production-4c98.up.railway.app/dashboard/#/chat/zen-a9e93e86ce9b
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| platform-frontend | Preview, Comment | Mar 19, 2026 6:40pm |