Update Authenticated User in Supabase

159 views Asked by At

I am updating user's email using the .update({"email": newEmail}) method. It is sending me the confirmation email only on the new email as I disabled secure email change in Supabase settings. But how will I know in the app that the user has clicked the link in the email?

I am using flutter for this project.

1

There are 1 answers

0
dshukertjr On BEST ANSWER

You need to setup deep links in order to send the user back to your app after clicking the confirmation link:

You can follow the following guide to see how you can setup deep links in your Flutter app.

https://supabase.com/docs/guides/auth/native-mobile-deep-linking?platform=flutter