Authentication Issue with Supabase in a FlutterFlow App During Password Reset

Actions & Logic

I am encountering an issue with password reset in my app developed with FlutterFlow and using Supabase. The reset link, which looks like this:

https://{app_name}.flutterflow.app/changePassword?code={unique_code},

works correctly on some devices and browsers, but authentication fails on others, preventing the user from resetting their password.

What have you tried so far?
  • iOS + Safari: Not working

  • iOS + Chrome: Not working

  • Android + Samsung Internet: Not working

  • PC + Chrome: Working

  • PC + Edge: Working

    I’ve also tested adding the following method on page load:

    Future loginSessionWithCode(String inputCode) async {  
      final supabase = Supabase.instance.client;  
      await supabase.auth.exchangeCodeForSession(inputCode);  
    }
    

    But this still doesn’t work.

What I Expect to Happen:
I need to authenticate the user with the reset link, regardless of the browser or device, in order to successfully reset their password.

Did you check FlutterFlow's Documentation for this topic?
Yes
5