Setting up Supabase Auth with Flutter

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2025

ความคิดเห็น • 30

  • @nothing_is_real_0000
    @nothing_is_real_0000 5 หลายเดือนก่อน +2

    Hi Brad, thanks so much for great tutorial on getting started . This has really helped me to get started with Supabase auth. Though this may be obvious to you, for someone getting started it'll be helpful if you could add things like how to manage "logged stages"/view members only page, and some other regular stuff like forgot password.. Still thanks again for great tutorial!

    • @CodeWithCypert
      @CodeWithCypert  5 หลายเดือนก่อน

      Glad it was helpful! That’s a great suggestion!

  • @dixanhernandez2107
    @dixanhernandez2107 10 หลายเดือนก่อน +1

    Thanks for this tutorial Brad, it´s really easy to understand, it was very helpful.

    • @CodeWithCypert
      @CodeWithCypert  10 หลายเดือนก่อน

      I’m really glad it was helpful for you!

  • @aayushpaigwar27
    @aayushpaigwar27 ปีที่แล้ว +1

    Thankyou Brad for making this...
    Very nicely and easily explained...

  • @samuelgulliver886
    @samuelgulliver886 10 หลายเดือนก่อน +2

    Thanks for the video. Just one question -
    Do you need to handle errors when logging in using signInWithPassword? Likewise when signing up would there be an error for signing up with an already existing email?

    • @CodeWithCypert
      @CodeWithCypert  10 หลายเดือนก่อน

      Yes you do need to handle errors when signing up

  • @xhidnoda
    @xhidnoda ปีที่แล้ว +2

    Great video! finally something easy!

  • @un_identifed
    @un_identifed 9 หลายเดือนก่อน +1

    The named parameter 'password' isn't defined.
    Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'password'.dartundefined_named_parameter
    2 positional arguments expected by 'signUp', but 0 found.
    Try adding the missing arguments.dartnot_enough_positional_arguments
    this is the error i am getting
    in the snippet below
    MaterialButton(
    onPressed: () async {
    final sm = ScaffoldMessenger.of(context);
    final authResponse = await supabase.auth.signUp(
    password: passwordController.text, email: emailController.text);
    sm.showSnackBar(SnackBar(
    content: Text("Logged In: ${authResponse.data!.email!}")));
    },
    Can u help me out?

    • @CodeWithCypert
      @CodeWithCypert  9 หลายเดือนก่อน

      Try to inspect the signUp method (if you’re in VsCode try command clicking it or control clicking it). This should show you the method signature. It’s quite possible that they’ve removed the named parameters in favor of positional parameters, in which case, converting the named parameters to positional should solve your issue

    • @un_identifed
      @un_identifed 9 หลายเดือนก่อน +1

      @@CodeWithCypert yeah I did that actually and it worked, thanks though :)

    • @CodeWithCypert
      @CodeWithCypert  9 หลายเดือนก่อน +1

      @@un_identifed Glad you're unstuck! Keep building, friend!

  • @priyanaik4896
    @priyanaik4896 10 หลายเดือนก่อน +1

    Thankyou for this video. Can you tell me what can be done if i just want to create log in and validate user from existing database in auth

    • @CodeWithCypert
      @CodeWithCypert  10 หลายเดือนก่อน +1

      I think I'd need a bit more context. Are you using Supabase? If not, you'd need to call whatever authorization server you may be using (Auth0, Okta, some hand rolled server, etc).

  • @dshukertjr
    @dshukertjr ปีที่แล้ว +1

    Nice video!

  • @priyanaik4896
    @priyanaik4896 10 หลายเดือนก่อน +1

    How can you make or edit profile page for the user after he logs in

    • @CodeWithCypert
      @CodeWithCypert  10 หลายเดือนก่อน +1

      In this case, you'd create a profile table in Supabase and build a Flutter UI to manage that profile. Then you'd use the Supabase package to write that data to the newly created table. Hope this helps!

    • @priyanaik4896
      @priyanaik4896 10 หลายเดือนก่อน +1

      @@CodeWithCypert thankyou

    • @CodeWithCypert
      @CodeWithCypert  10 หลายเดือนก่อน

      @@priyanaik4896happy to help! Let me know how it turns out!

  • @MVCS_SpandanMN
    @MVCS_SpandanMN 9 หลายเดือนก่อน +1

    why am getting platform error when i run this in android emulator.....

    • @CodeWithCypert
      @CodeWithCypert  9 หลายเดือนก่อน

      Couldn’t tell you unless I knew the errror, too. Mind sharing it here?

  • @NextPex
    @NextPex หลายเดือนก่อน

    can you please make a log in tutorial, thank you

    • @NextPex
      @NextPex หลายเดือนก่อน +1

      nvm i didnt watch all the way

    • @CodeWithCypert
      @CodeWithCypert  หลายเดือนก่อน

      😁no worries