0

Currently when I try to update email using:

 await Supabase.instance.client.auth
              .update(UserAttributes(email: newEmail));

It sends a link to the new email for confirmation but when I click on it, it doesn't redirect to the app instead I get the message no api key found in the request. However, the email does get updated.

I was trying to figure out how to redirect users back to the flutter app. In other functions there is an option to URL redirect but not with update.UserAttributes.

  • This feature is not there yet, but there is a PR to enable this. https://github.com/supabase/gotrue-js/pull/410 – dshukertjr Oct 24 '22 at 06:08

0 Answers0