SupabaseS
Supabaseβ€’16mo ago
Patryk W

Deep link from password reset email not opening the app

I have setup already a method with redirectTo:

  Future<void> sendPasswordResetEmail({required String email}) async {
    return _authClient.resetPasswordForEmail(email,
        redirectTo: 'io.supabase.myprojecto.link://reset-password/');
  }



in redirect urls:
  io.supabase.myprojecto.link://reset-password/



in reset password email template:
 <h2>Reset Password</h2>

<p>Follow this link to reset the password for your user:</p>
<p><a href="{{ .RedirectTo }}">Reset Password</a></p>



and in android manifest:
<data
android:host="reset-password"
android:scheme="io.supabase.myprojecto.link" />



and nothing...
app is not opened on emulator neither on real device. Any help?

As I understand the next challange will be to authenticate user as hes opening the app? I've lost some time on this already, docs are unclear, not enough info is provided, no examples online...
Was this page helpful?