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?
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!
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.
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
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 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
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!
@@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. :)
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!