How to Refresh Supabase Tokens when using Custom Authentication with FlutterFlow

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 3

  • @sitawk81
    @sitawk81 3 месяца назад

    Hi, thank you for the video, authManager is unknown to flutter flow even when you import the package '../../auth/custom_auth/auth_util.dart'.

    • @learnfflow
      @learnfflow  3 месяца назад

      Hey there, first, I assume you are using Custom Authentication. I would say just ignore the error if you are reading it from the custom editor of FlutterFlow. Can you try and run it in Test Mode or on device?

    • @sitawk81
      @sitawk81 3 месяца назад

      @@learnfflow Thank you for your quick reply. As you recommended I excluded the code from compilation, yet, I receive the following error when the action tries to update the auth user data. currentUser?.loggedIn ?? false
      "User must be logged in to update auth user data."
      I even to sign in with authManager.signin but it did not help.