Redirect URL not being parsed correctly w/ signInWithOtp()
When I click the magic link to sign up, I get the following error:
{"code":400,"msg":"Verify requires a verification type"}
It seems the URL params are not being parsed. If I delete the
Example link:
https://xxgfpxhvpbhtyodrimdj.supabase.co/auth/v1/verify?token=pkce_b2ba3852248330562cf670d65d787ae821e961e5e0f39029b653074e&type=magiclink&redirect_to=http://localhost:3000/confirm
{"code":400,"msg":"Verify requires a verification type"}
It seems the URL params are not being parsed. If I delete the
amp; between params it works, but I have to to that manually in the URL bar. How can I resolve this?Example link:
https://xxgfpxhvpbhtyodrimdj.supabase.co/auth/v1/verify?token=pkce_b2ba3852248330562cf670d65d787ae821e961e5e0f39029b653074e&type=magiclink&redirect_to=http://localhost:3000/confirm