Friction

Workaround · Reliability & bugs · Blocks work

redirectTo not working across auth methods, useEffect used instead

1 source thread · first seen 2022-02

Summary

redirectTo has no effect for email/password, Google or GitHub sign-in. The user redirects manually in a useEffect hook, which they find not ideal.

Affects
Developers using supabase-js auth
Workaround
Redirect manually from a useEffect hook after sign-in

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“As the title suggests, redirectTo is not working for any of my auth methods”

Report this item