In one of my recent videos I received a question similar to this:
“Is it possible for you to create a video tutorial demonstrating how to add a user self-deletion action in #Supabase, as Apple now requires this feature for publishing our app? The #FlutterFlow support team mentioned the need for a custom action, and we're unable to find relevant online documentation.”
As you may know it’s not straightforward to delete users in Supabase from FlutterFlow. Additionally deleting users from outside of Supabase requires elevated permissions which are just not readily available! In this video I carefully walk you through the steps to solve this problem in a #lowcode way using #edgefunctions which should get you up and running super fast. I then go on and show you how to implement the feature within FlutterFlow itself using a project sample.
I have tried to keep this video beginner friendly to suit all audiences. Please note this video is not #nocode focused but everything is provided to follow along. Give it a go as you might learn something new you can build skills upon!
_____
Important Links
👉 Starter project to follow along: https://app.flutterflow.io/project/supabase-delete-user-starter-k9tu9y
👉 Final project: https://app.flutterflow.io/project/supabase-delete-user-final-u807u4
👉 Edge Function Code: https://github.com/the-digital-pro/supabase-delete-user/
👉 Homebrew: https://brew.sh/ (Mac)
👉 Nodejs: https://nodejs.org/ (Windows)
_____
Chapters
00:00 Introduction
00:45 Application Demo
01:41 Edge Functions Introduction
02:36 What tools do we need?
04:11 Installing Homebrew
05:52 Installing the Supabase CLI
06:10 Supabase Login via the CLI
06:28 Obtaining your access token
07:28 Initialise our Supabase CLI project
08:53 Reseting your Supabase database password
09:24 Creating the delete-user Edge function
10:25 Observing the files which have been created
11:26 Adding the sample Edge function files to our project
13:05 Quick explanation of the Edge function we have created
14:41 Deploying the Edge function
15:07 Checking the Supabase Edge function deployment
16:31 FlutterFlow API to call the Edge function
19:22 FlutterFlow UX updates
23:04 Database profile table tweaks
24:23 Final application test
26:15 Outro
_____
🚀 The Digital Pro's NoCode Academy on Patreon: https://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: https://www.thedigitalpro.co.uk/coffee
👍 Support the channel and grab yourself a free FlutterFlow account by clicking here: https://www.thedigitalpro.co.uk/flutterflow
🎉 Your love is much appreciated ... A like to this video is like a High Five!!! Thank you all.