Flutter Database & User Authentication Quickstart

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

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

  • @lasifuta1573
    @lasifuta1573 ปีที่แล้ว +4

    Great video! This Supabase channel has become my WIKI to learn Supabase. Could you also create a video related Oauth sign up/in using Supabase with Ionic/Capacitorjs on iOS device?

  • @tananga_studio
    @tananga_studio ปีที่แล้ว +4

    Whats the difference between supabase.auth.currentSession and supabase.auth.user or currentUser? Which one should we use to check if Im signedIn ?

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

      Most of the time, if currentSession exists, then currentUser exists. The only time this is not the case would be when a user signs up with a password, but has not confirmed their email address or the phone number. In this scenario, currentUser will have a value but currentSession will be null. In this state, users will not be able to pass RLS policies created using auth.uid() function, so I'd say use currentSession to determine whether the user is signed in or not!

  • @adityarhmn
    @adityarhmn 2 วันที่ผ่านมา

    Redirect doesn't work on iOS Simulator 17.0 or latest :(

  • @SRG-Learn-Code
    @SRG-Learn-Code ปีที่แล้ว +2

    I would like to learn how supabase auth works internally and why this model is used.

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

    Hi, I want use contains() method on stream. How can I do that?

    • @droidxxi
      @droidxxi ปีที่แล้ว

      I want to do this:
      supabase.from("room_members").stream(primaryKey:['room_id'].contains(room_members,[my_id]). execute();
      But contains() method is not working with stream() method.

    • @Supabase
      @Supabase  ปีที่แล้ว

      Looks like `inFilter` is the filter you are looking for: supabase.com/docs/reference/dart/stream

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

    when i tried putting my email it says
    "emai laddress cannot be used as it is not authorized.

  • @AL-hk3oo
    @AL-hk3oo ปีที่แล้ว

    very nice, good tutorial and steps! 👍👍

  • @alifellahi
    @alifellahi ปีที่แล้ว

    nice tutorial, very informative, thanks tyler :)

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

    Amazing 🔥🔥

  • @edycarreyes99
    @edycarreyes99 ปีที่แล้ว

    Very simple and very amazing 🎉

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

    Hi, how to sign up with password but confirm it via otp or magic link?

  • @romeroo98
    @romeroo98 ปีที่แล้ว

    is there any upcoming tutorial for uploading profile pics into a bucket and save the avatarUrl into profiles table?

    • @Supabase
      @Supabase  ปีที่แล้ว

      Yup, will be coming up!

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

    I followed all the steps but it gave me an error that( Undefined name 'supabase'.
    Try correcting the name to one that is defined, or defining the name). in statment final session = supabase.auth.currentSession;

    please answer me

    • @MuneebAhmad-js5gf
      @MuneebAhmad-js5gf 5 หลายเดือนก่อน

      Use Supabase.instance.client.auth.currentSession() and you will be able to solve the error

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

    could you please do a video over basic login with email and password? I can't find any good tutorials or documentation. I am coming from firebase and am used to using a stream builder but haven't found anything that goes over it.

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

      Do you have anything in particular that you are confused with about email + password sign-in?

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

      @@Supabase no I’m dumb, i figured out what I was doing wrong. I spent roughly a day trying to convert my auth from firebase to supabase and in the time that I wrote the original comment to now I got it mostly figured out. But it would be nice for noobs like myself coming from firebase to have a email and password stream builder video cause there wasn’t much on the topic, or at least that I could find

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

      @@the_dude_josh Hey, I am trying to do the same. Can you tell me how you did it?

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

      @@21abhinavpatel if you can find a way for me to send you the code snippet or a way to communicate outside of TH-cam comments then I for sure can help

  • @businessoftechnology
    @businessoftechnology ปีที่แล้ว

    Does this work with SDK 3+? The example was built with SDK

    • @Supabase
      @Supabase  ปีที่แล้ว

      Are you referring to the Flutter SDK v3? If so, yes it does!

    • @Supabase
      @Supabase  ปีที่แล้ว

      Oh, I see that you are referring to the Dart SDK version. Yup, it should work fine, but let us update the version constraints right now! Thanks for reporting!

    • @businessoftechnology
      @businessoftechnology ปีที่แล้ว

      @@Supabase Yes, I just installed Flutter 3.10 which uses Dart 3. Followed the directions step by step and didn't get through. I figure V 3 will only be a short roadbump. :)

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

    cok iyi video bayıldım

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

    what's supamünchenfest? I'm from Munich 😅

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

      Nice! That t-shirt is from a company off-site we had in Munich a year ago!

  • @ashrafal_mekhlafi
    @ashrafal_mekhlafi ปีที่แล้ว

    we want a complete project to know how to make the heavy work in the server side🔴🔴🔴

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

    🥳🥳🥳🥳🥳🥳

  • @flutteruniverse-
    @flutteruniverse- 11 หลายเดือนก่อน

    More please

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

    only problem is Apple testers, apparently never get the link so your app never gets published

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

    I like these Videos but i am still waiting for a decent video for Oauth using Flutter and Superbase

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

      Auth videos will be coming out soon!

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

    13:16

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

    jk

  • @novouik
    @novouik ปีที่แล้ว

    Very amazing Tyler! Thank you.
    I've got a question please. I'm working on Authentication using only phone number with Twilio. So I used the supabase.auth.signInWithOtp(phone: phone) method. On execution, I've an "Database error saving new user".
    How can I solve it please?
    Once more, thank you!

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

      Finally, I've resolved. The problem was in my profiles table.
      Thank you!