Hello,
Supabase Auth pluggin do not have New Email form, and also in workflow in Supabase Auth Types there is nothing for e-mail change, as it have for password.
How can i do this?
Thank you in advance
Hello,
Supabase Auth pluggin do not have New Email form, and also in workflow in Supabase Auth Types there is nothing for e-mail change, as it have for password.
How can i do this?
Thank you in advance
Hi Zoran ![]()
You can change your user’s emails with the action “Update user”
But keep in mind that modifying a user’s email should be done carefully, because it can affect how they log in, how their session is handled, and which identity (email/password, magic link, OAuth, etc.) Supabase expects for that account. In practice it’s a good idea to treat an email change almost like a sensitive security action: ask the user to re‑authenticate if needed, update the correct auth identity, and then log them out and force a fresh login with the new email so you avoid any “stuck between two emails” edge cases.
Hello Agustin,
Thank you for the answer.
I am new in all this but I have thinking email changing to be like this:
User is loged in.
Press button: Change my mail
On his existing email receive link which redirect him to page where can enter new email.
On this page his enter his new email and on submit workfolow with action “Update user”, email is updated in auth.users table in Supabase.
Is this right approach?
And how i can control that right user has clicked received link from step 3, and not somebody that just opened page for changing new email?
Thanks
How i have done and what problem i have:
Redirecting is part of Supabase “Forgot password” and it works ok. But there is no for “Update user”
So is there a reason why there is no redirect for “Update user” or i am missing something. Thank you