#Supabase
HTML-код
- Опубликовано: 11 июл 2024
- 💻✨ Unveil the secrets of #nocode security with my comprehensive walkthrough! Here, we'll demonstrate how to implement #Supabase Row Level Security (RLS) in a #FlutterFlow prototype. You'll learn how to restrict data updates to only authenticated users.
We've pre-built the UI in FlutterFlow, so you can dive right into setting up Supabase and manipulating widgets for hands-on learning. Plus, understand how FlutterFlow exchanges authentication tokens with Supabase, a key to mastering RLS.
This walkthrough is beginner-friendly, making it a perfect starting point for all aspiring nocode/lowcode developers. Let's learn, grow, and secure together! 💫🔒🌐
Getting started project for cloning:
app.flutterflow.io/project/su...
Authentication setup video: • Setup #Supabase Authen...
Full 16 part series on building a full FlutterFlow + Supabase app: • #FlutterFlow + #Supaba...
00:00 Introduction
01:06 Previous Project Summary
01:40 Sample Project Quick Overview
03:09 Supabase Project Overview
04:42 Table Fields
05:42 Project setup with Supabase
07:12 Project initial quick test
08:02 Setup query of blog posts via the UI
10:34 Setup of the create blog post UI
14:13 Testing the creation of a blog post
14:47 Setup of the view all post UI
16:07 The problem we are trying to solve!
17:55 Behind the scenes look at how authentication tokens
20:51 What does a JWT token look like
22:40 Supabase and RLS initial setup
24:36 Creating an initial policy for read only
27:51 Testing the read only policy
28:28 Creating a policy to allow inserts
30:57 Testing the insert policy
31:28 Creating the delete and update policies
32:44 Update UI to support updates and deletes
37:29 Testing the update and delete policies
39:15 Outro
_____
🚀 The Digital Pro's NoCode Academy on Patreon: www.thedigitalpro.co.uk/patreon
(official launch in September, but welcome to join today 😉)
🔥 If you love my content why not consider buying me a coffee, it's really appreciated: www.thedigitalpro.co.uk/coffee
👍 Support the channel and grab yourself a free FlutterFlow account by clicking here: www.thedigitalpro.co.uk/flutt...
🎉 Your love is much appreciated ... A like to this video is like a High Five!!! Thank you all.
Can you make a tutorial to show some more complex use cases with supabase? E.g. live chat, dynamic link, social login. I think a lot of viewers will be interested to know what are the limitations with supabase and whether there're simple workarounds. Thank you!
Best tutorial 🎉
You are so kind thank you.
This is cool, finally some tutorials on supabase. What do we do to do the count of document? Do we just use the custom function?
Thanks
Oh wow thank you so much for your kind donation. This is very much appreciated. Glad you found the video useful.
Does FF implement server side filtering in the example video above? i.e. if I 'filter' on user id, will the other users records be sent down the wire or just that users records sent down the wire?
Thanks for the videos, they are very helpful, just one question, how can I give all access to an specific user?
Do you have any examples of using custom schemas or do you have to expose it?
Hi
Thanks for the video very useful. but how would you do a forget password routine in flutterflow and supabase? There's a reset password action which sends an email to the end user but I can't find anyway of changing the end users password if they have forgotten their login to my flutterflow app.
I have a question if someone doesnt mind answering it, So i have my Database in Supabase. I am way more familar with Relational Databases, So much easier for me. I want to be able to edit the data in the app but i also want to be able to take advantage of the the Push notifications. I understand i would need firebase. Is there is way to have both? Be able to send push notifications while using Supabase, but also being able to have accounts for my users that edit data?
During creation of the table column comments default value if '0'::smallint doesn't work then try (0)::smallint instead
Thank you for that.
cools
great video. please tell me how can i sum the elements of a SUPABASE column in flutterflow.
Hey thanks. Please take a look at my app series where i build a flutterflow app using supabase. There is an episode which covers triggers. If you follow this it will give you the information you need to help support what you want to do with a little adaptation.
Just do a simple sql sum as a flutterflow custom function?
Tutorial Simple search with supabase in flutterflow..?
agree waiting for this
I can't get RLS working correctly at all. Not sure where I'm going wrong! Don't suppose you could lend a hand?
Have you followed the series from the previous video?
@@the_digitalpro no I'm rebuilding my own app from other platform, only interested is RLS
it have to give a popup to ask before actually delete 😅
Wondering if this Auth.jwt() and getting the id from the 'sub', is it going to be the same as just auth.id() = user_id? Do they both provide the same outcome?
Yes, it does work just the same with the template "Enable insert for users based on user_id" as an example.