NextJS auth helpers - invalid flow state
I'm following the auth helpers guide (https://supabase.com/docs/guides/auth/auth-helpers/nextjs) to set up email signups, but I'm getting
Here's my signup code:
And here's my redirect route:
AuthApiError: invalid flow state, flow state has expired when the user confirms via email link and hits the redirect URL. This only seems to happen if the user wait ~5 minutes to confirm via email; confirming immediately after receiving the email seems to work. Is there any way to increase the expiration time?Here's my signup code:
And here's my redirect route:
Authentication and Authorization helpers for creating an authenticated Supabase client with the Next.js 13 App Router.