How to Set Up

Поделиться
HTML-код
  • Опубликовано: 5 июл 2024
  • In this video, we learn how to set up ‪@Supabase‬ with FlutterFlow, including how to structure user tables and link them together. We start in Supabase, creating a new project and setting up tables for users and posts. We then jump into FlutterFlow, connecting to Supabase, setting up authentication, and creating logic for creating accounts and posting. By the end, we have a fully functional app that can create accounts and post content to Supabase. Join us to learn how to set up Supabase with FlutterFlow and streamline your app development process!
    Learn more about Supabase: supabase.com/
    Ready to try FlutterFlow for yourself? Start building your app today with a free trial 👉 www.flutterflow.com
    Follow us on Twitter 👉 / flutterflow
    --------------
    FlutterFlow is a low-code builder for native apps, bringing design and development into one tool. With drag-and-drop functionality, you can build pixel-perfect UIs and easily connect your app to live data via Firebase or APIs. Plus, you can add advanced features like push notifications, payments, animations, and more. Whether you build your own custom widgets or write custom code, FlutterFlow makes it easy to bring your app ideas to life.
  • НаукаНаука

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

  • @endieumunna6900
    @endieumunna6900 Год назад +38

    Awesome tutorial! Please can we keep the superbase tutorials coming?

  • @FUDGDATA
    @FUDGDATA 10 месяцев назад +36

    just to keep in mind, when you create the user table make sure that you switch the type of the id to uuid before saving the schema. As if you don't do it will through an error when you make a foreign key relation and you can't change it afterward as you have to create a new table!

    • @shabatidjani1354
      @shabatidjani1354 10 месяцев назад +1

      thanks so much mate thanks alot have been stock on this for days........🎉🥂🥂 do you have your personnel youtube channel so i can suscribe 😂

    • @bartsandbergen9473
      @bartsandbergen9473 10 месяцев назад +1

      This saved me! thanks

    • @PaddlChase
      @PaddlChase 8 месяцев назад

      I got stuck on this and had to figure it out myself because I never scrolled down to read the comments 😅

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

      Why not create a new column say fk_auth_users_id of type UUID for foreign key?

  • @Powell___
    @Powell___ Год назад +8

    Finally we've got Supabase auth. :) thank U Flutterflow team

  • @ut0s_dev
    @ut0s_dev 8 месяцев назад +3

    Wow.
    This integration is surprisingly useful and dreamy.
    I will make my own app by using both.

  • @split317
    @split317 Год назад +7

    Thank you so much, can you please keep going with this?

  • @ayivugwekabemba
    @ayivugwekabemba 8 месяцев назад +1

    You explained both Supabase and FlutterFlow clearly. Thank you so much. I appreciate the way you explain things. You are a great teacher 💯👏

  • @mrams1993
    @mrams1993 Год назад

    Most awaited update :D !!!
    will be waiting to call 'functions' instead of updating/inserting into tables

  • @Jean-PaulCh
    @Jean-PaulCh Год назад +8

    Thank you.
    There is no need to set the created_at field in Flutterflow because Supabase is already configured to get Default value of now().

  • @Good-and-Geeky
    @Good-and-Geeky Месяц назад

    Excellent Tutorial - I now have a base project setup to further customise and work on

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

    Awesome! Thank you for always sharing..

  • @naturalmoodmusic42
    @naturalmoodmusic42 Год назад +8

    Is there a way to get the access token / JWT from the logged in user? This would be used for RLS security situations and custom APIs.

  • @ffckode
    @ffckode 8 месяцев назад

    Thanks man! this is helping a ton!

  • @engridmedia
    @engridmedia Год назад +1

    We want login and some more supabase. This is dimple that firebase to be honest. I love it

  • @grumpykoala6896
    @grumpykoala6896 2 месяца назад

    Thank you Ted Danson 👌

  • @NiftyScalping
    @NiftyScalping Год назад

    Great update

  • @Twelve.
    @Twelve. 9 месяцев назад

    Great tutorial, thanks

  • @vinbhai4u
    @vinbhai4u Год назад +5

    When can we expect social auth like Google Facebook etc?

  • @AR-oc5qv
    @AR-oc5qv Год назад +2

    In case I wanted ti use supabase, is there a possible way to do notifications? if not can we also use firebase just for notifications or do we have onesignal integration to use for notifications?

  • @kampeynco
    @kampeynco Год назад +4

    What about multi-tenancy use cases where users can belong to multiple accounts? Does this process still work? If so, how?

  • @krasab
    @krasab Год назад +2

    Also we need in Push notification without firebase. For example with supabase

  • @xzatech
    @xzatech 8 месяцев назад

    Hello and thank you I was hoping you would have a video of resetting a password while using "Supabase" & Flutterflow.

  • @tarunfreestone6024
    @tarunfreestone6024 2 месяца назад +2

    I created the user in auth user table but it didn't appear in my public user table?

  • @afriknocode
    @afriknocode Год назад

    great awesome

  • @leminihic
    @leminihic 11 дней назад

    Thank you for this video. Really useful!
    Just something I don't understand is: why if we don't uncheck the email verification (confirm email) in supabase then the record in the users table is not created? 🤷‍♂

  • @ledezmagomez
    @ledezmagomez 11 месяцев назад

    Is there any plugin or way to integrate a login with active directory?

  • @adupajoel5148
    @adupajoel5148 9 месяцев назад

    Please how do I get the JWT which keep expiring refreshed for once.
    is there a way to address this challenge

  • @DanVanDamme
    @DanVanDamme 9 месяцев назад +3

    What’s the timeline for including social media authentication, @flutterflow team?

  • @varahapremsaikoshtu5350
    @varahapremsaikoshtu5350 Год назад

    can u seperate feed for different user.....like one feed for one user

  • @DanVanDamme
    @DanVanDamme 8 месяцев назад +1

    8:00 There is mention of setting up the email confirmation logic inside flutterflow if we want to maintain the confirm email workflow. I can't find any videos or documentation on setting up this logic inside Flutterflow. Can anyone help?

  • @ruskface
    @ruskface 5 месяцев назад

    Great! Please show how to log a user in that is already created! Thank you.

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

    Hi!
    Thank you for your video.
    I have a question.
    How can I check if an email account already exists when registering again?
    Flutterflow does not return any message stating this.
    In Supabase it is already configured to not allow duplicate data.

  • @growms
    @growms 8 месяцев назад

    Ty for the tuto but i can't make it work with policies. That would have been really nice to add policies config to this video because it's about auth... and there the API is wide open for any CRUD of our user data ....

  • @tarunfreestone6024
    @tarunfreestone6024 2 месяца назад +2

    SupaBase not creating user record in Public 'User' table

  • @Harry-pz7uq
    @Harry-pz7uq 14 дней назад +1

    Hi, in the test mode for my app in Flutterflow, when I click 'Create Account', it comes up with ' Error: Database error saving new user'. Any help on how I can solve this and what I am doing wrong? Thank you!

  • @HonorAndGlory
    @HonorAndGlory Год назад +3

    And about changing the password? Please, Help!!

  • @ashishk5016
    @ashishk5016 8 месяцев назад

    Very well explained but would be great if you can share video for
    1. Admin module and client module under one login screen if the use is admin, it should redirect him to admin page and if client then client module
    Also once Authorized from the firestore/Superbase by admin via the admin dashboard then only the client can login -> Firestore/super base-> Admin Dashboard -> users 1. Create /Send password etc basically the admin page for Firestone and supervise within the app from one login page users

  • @Dana-pq7uf
    @Dana-pq7uf 3 месяца назад +1

    When I click create account on my app, the account shows in Supabase, but I am not navigated back to the dashboard...

  • @larryvdwalt
    @larryvdwalt 6 месяцев назад

    Could you please do a video on how you can use Firebase Authentication within FlutterFlow and then make use of OAuth to sign users in to the Supabase database? This would make sense from a security perspective as that would enable you to store all PII in the Google Auth database and transactional data in Supabase. Could you please assist.

  • @vjndr32
    @vjndr32 Месяц назад

    is apple signup via supabase planned?

  • @nitemin
    @nitemin Год назад

    🔥

  • @jamesmarcuscamilon1626
    @jamesmarcuscamilon1626 Год назад +1

    9:12 Cloud SQL and SQLite. Wow

  • @jaykixs
    @jaykixs Год назад

    nice :)

  • @vince2nd
    @vince2nd Год назад +11

    Am i the only one that thinks FF should've just chose Supabase from the beginning?
    Firebase while "cool" was not the right choice in my humble opinion

    • @SantoshPatil-jv7jr
      @SantoshPatil-jv7jr Год назад

      Well Flutter is from the Company that owns Firebase. Maybe that could be the reason to begin with it.

    • @jean1704
      @jean1704 Год назад +1

      @@SantoshPatil-jv7jr yep they will always make firebase look more superior with features

  • @NordKraken
    @NordKraken Год назад

    Save for later.

  • @ashishk5016
    @ashishk5016 Год назад +2

    Can you share role based authentication video if logged in with Admin credentials should navigate him to -->Admin dashboard and if authenticated with client should navigate to Client Dashboard

    • @xzatech
      @xzatech 9 месяцев назад

      I would bet that would be in the logic structure - an additional action that checks roles or create a component that's checks on page load🤔

  • @geraldonevesdossantos5775
    @geraldonevesdossantos5775 Год назад

    Possui vários problemas ainda... 1 - feche o app e reabra e veja que ele perde o usuário Autenticado. ele não mantem o usuário autenticado. 2 - mesmo após autenticação o relatime do Supabase não funciona no FF... É preciso corrigir esses erros antes de lançar Supabase para FF...

  • @budili5606
    @budili5606 Год назад

    Hello, thank you so much for your presentation. I have difficulties to enable password reset on supabase from flutterflow. It seems, after i run the Flutterflow Supabase Auth feature to reset password, supabase will send email with the link. However the link will lead to localhost url. Would be helpful if you can help to show how to reset password? Thank you

    • @xzatech
      @xzatech 9 месяцев назад

      This may help you it mentions the localhost URL and how the template needs to be adjusted I'm just starting to get into it myself, definitely love Supabase ruclips.net/video/LjRZUz_aUVc/видео.htmlsi=F9Td2c4UDQJD8Oxx

  • @davidthiwa1073
    @davidthiwa1073 Месяц назад

    How does the email verification work?

  • @vineeth.vijayan314
    @vineeth.vijayan314 Год назад +1

    Awesome, this is what we want
    but I see there is an issue with this, after login it does not stay in the login screen like it does for firebase.
    Can we expect social Auth like Google, Facebook with Supabase?

    • @maskedvillainai
      @maskedvillainai Год назад +1

      Literally the only thing that mattered about this was the extra provider auths and the only thing they didn’t add. Such a waste.

    • @vineeth.vijayan314
      @vineeth.vijayan314 Год назад

      @@maskedvillainai lets wait for more features to come, but I don't think Supabase email auth is not working as expected.

    • @imspikey
      @imspikey 8 месяцев назад

      ​@@vineeth.vijayan314 5 month and still feature is not added

  • @sb5822
    @sb5822 2 месяца назад

    At 12:01 - My user ID from authenticated user shows up as red and not accessible. What could be the reason for that?

  • @dakaradakaradakara699
    @dakaradakaradakara699 Месяц назад

    I hope this will be answer sooner.
    How to run the flutterflow code with supabase to vscode?
    I didn't saw any tutorials about this. I hope this comment will be notice. Thank you.

  • @sileycortex4947
    @sileycortex4947 Год назад +2

    11:00 Best practice is to add a trigger to the auth.users supabase table.
    Let the backend do his job, isn't it made for this !
    Ok, adding SQL language will be a bit to much for a first introduction video, but a quick mention in the video would have been nice. ( same goes for RLS )

    • @Jean-PaulCh
      @Jean-PaulCh Год назад

      Agree about the trigger but its more advanced than just doing it on the front end.

    • @shuprojects6887
      @shuprojects6887 Год назад +1

      How do we make this trigger? Non-tech here

  • @user-nv6qq3nt8p
    @user-nv6qq3nt8p 6 месяцев назад

    Does someone know how to enable email verification?

  • @ksanand80ify
    @ksanand80ify Год назад +2

    Great tutorial. However I got stuck with this error following the steps in the video when adding and linking the database - Failed to update column "id": failed to update pg.columns with the given ID: cannot cast type bigint to uuid. I understand what the error is - bigInt does not link to the uuid field but not sure how to fix this.

    • @IlroLee
      @IlroLee 11 месяцев назад +1

      Me too. Have you found a solution? I am stuck.

    • @FUDGDATA
      @FUDGDATA 10 месяцев назад +2

      just to keep in mind, when you create the user table make sure that you switch the type of the id to uuid before saving the schema. As if you don't do it will through an error when you make a foreign key relation and you can't change it afterward as you have to create a new table! @ksanand80ify

    • @viewsz
      @viewsz 10 месяцев назад +3

      Instead of the Int8 type use uuid type when creating users table

  • @anjasaja
    @anjasaja 9 месяцев назад +3

    I follow exactly same steps. But insertion to public.users table failed but auth.users success.
    Where does that "User ID" come from under "Authenticated User" dropdown? does it auto-generated from auth.users?
    pls help

    • @xzatech
      @xzatech 9 месяцев назад

      I believe you have to make an adjustment to the non-auth-user table changing the is type to uuid that relates back to the aut-user table 🤔

    • @matthieuvoyen400
      @matthieuvoyen400 4 месяца назад

      i have exactly this issue too

  •  5 месяцев назад

    Hey why don't you guys show examples of auth with other suppose providers besides Google!!!! The other options don't show up as login options in Flutterflow action, even after being configured in sup abase side.

  • @SubhashKamble-rb9nd
    @SubhashKamble-rb9nd Год назад +1

    Hello FF my question is how to make possible doctor appointment multiple web & mobile application features for (video conference live chatting location tracking & timeing select in our out

    • @serhatalpaslan3598
      @serhatalpaslan3598 Год назад

      they usually just add the essential features. For example, there is a push message feature, but data messages cannot be sent... etc..

  • @Bot-111
    @Bot-111 Год назад

    Tutorial Simple search with supabase in flutterflow..?

  • @DeSofSistemas
    @DeSofSistemas Год назад

    Hello, I did everything step by step but when configuring the action to send the data, the ID appears in Red (disabled) what could it be?

    • @manelrastrollo1193
      @manelrastrollo1193 Год назад

      I have the same problem

    • @manelrastrollo1193
      @manelrastrollo1193 Год назад +1

      Did you find a solution??

    • @DeSofSistemas
      @DeSofSistemas Год назад

      @@manelrastrollo1193 I did find a way to do it by creating a new page and adding the widgets one by one, not using that template.

    • @manelrastrollo1193
      @manelrastrollo1193 Год назад +1

      @@DeSofSistemas Thanks! All working now

  • @maxroyle1302
    @maxroyle1302 5 месяцев назад

    I have copied this video to its entirety however I am getting an error saying that the email is in the wrong format when I try to sign up. Why is this?

  • @wjrwwwmaiden
    @wjrwwwmaiden Год назад

    SQL Lite? ❤😮🎉

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

    I have a doubt, where's the password? you didn't add the field to users table but you have it in the create account in flutterflow.

  • @DavidWhiteGives
    @DavidWhiteGives 8 месяцев назад +1

    Now could you make a video on password recovery? Auth?

    • @DavidWhiteGives
      @DavidWhiteGives 8 месяцев назад

      Solution: you need different field names for email address and password compared to those you would create an account with.

    • @TorahDigitals
      @TorahDigitals 7 месяцев назад

      I also need a guide on password recovery

  • @geraldonevesdossantos5775
    @geraldonevesdossantos5775 Год назад

    It does not work. 1 - Does not keep the User authenticated. close the app or press F5 and a new Login will always be necessary... 2 - Supabase Realtime does not work, even with the user authenticated, Supabase realtime does not work in FF...

  • @DevFastComunidadeFlutterFlow
    @DevFastComunidadeFlutterFlow Год назад

    Inútil ! feche o app e abra novamente. ele perde o usuário autenticado. e será necessário autenticar toda vez que iniciar o app. além disso o relatime do supabase mesmo autenticado não funciona. é preciso corrigir esses erros antes de anunciar o uso do Supabase para o FF...

  • @flutterflowexpert
    @flutterflowexpert Год назад +2

    Amazing video as always

    • @naturalmoodmusic42
      @naturalmoodmusic42 Год назад +1

      Have you seen a way to access the current user access token (JWT)? Thinking that Supabase must be storing that somewhere, and handling refreshing etc.

    • @flutterflowexpert
      @flutterflowexpert Год назад +1

      @@naturalmoodmusic42 There should be a way. I haven't looked into it yet.

    • @naturalmoodmusic42
      @naturalmoodmusic42 Год назад +1

      @@flutterflowexpert I agree there should be a way... I haven't found it yet, and don't think it is a "native" feature yet maybe; so maybe need to grab it somehow through customer code / action like we used to have to do before component state was a thing... I'm still looking!

    • @flutterflowexpert
      @flutterflowexpert Год назад +2

      @@naturalmoodmusic42 I will write that down and see if I can do a video about that.

    • @naturalmoodmusic42
      @naturalmoodmusic42 Год назад +1

      @@flutterflowexpert that would be amazing; sounds like you might have figured it out already? thank you!