How to set up forgot password custom actions with Flutterflow and Supabase

  Рет қаралды 3,142

rapidmvp

rapidmvp

Күн бұрын

You will need to learn how to set up forgot password custom actions with Flutterflow and Supabase to allow your users to recover their password.
This beginner level tutorial shows you the basic functions required for this to work and then offers a few extra tips to improve on the process.
You can download the code used in this tutorial from here:
rapidmvp.co/ho...
#lowcode #nocode #flutterflow

Пікірлер: 42
@axell9075
@axell9075 Ай бұрын
Thanks for you help, worked for me !
@alexjunio_prof
@alexjunio_prof 6 ай бұрын
Thank you! Worked for me.
@MEdel2204
@MEdel2204 4 ай бұрын
Thank you so much!!
@gifproductions2
@gifproductions2 Ай бұрын
Thank you! I was wondering about a little bit of extra security. Do you have idea how to implement 2 password boxes that check if they're the same before changing the password?
@ChristophGeiser
@ChristophGeiser Ай бұрын
You just add a conditional action before you start the password change process. There you check if the content of both texte widgets are equal. Then add all the actions for changing the password to the "true" part and add an alert with an error message to the false part.
@rogeriosca
@rogeriosca 5 ай бұрын
Thank you!!!
@aplicativoagricola
@aplicativoagricola 7 ай бұрын
I liked the video, it's a shame that I couldn't understand it properly so far it didn't work, I could have re-recorded it and shown it step by step. Maybe it would be interesting
@rapidmvp
@rapidmvp 7 ай бұрын
I will be doing a step by step setting up an app including the auth in a couple of weeks. I’ll film as I build so may be easier to follow.
@yorgohoebeke
@yorgohoebeke 8 ай бұрын
Thank you!
@daleoshea4204
@daleoshea4204 5 ай бұрын
Where do I find my site URL for the Supabase email If i haven't published my app yet?
@JuanPerez-vv5lk
@JuanPerez-vv5lk 6 ай бұрын
Excellent video. but why didn't you do a demonstration to see how it works?
@wesseldieben7490
@wesseldieben7490 6 ай бұрын
Thanks for the video, this only works for web application right, how could this work with an mobile application?
@jaguarconsultoriadigital8147
@jaguarconsultoriadigital8147 8 ай бұрын
Grateful !!!
@anderock02
@anderock02 5 ай бұрын
this work in a mobile app?
@geopopos
@geopopos 5 ай бұрын
for some reason the redirectTo url is going to localhost:3000. did you run into this issue at any point? i did update my supabase url configurations
@rapidmvp
@rapidmvp 5 ай бұрын
Did you also add the site url, it’s in the section above on that page. I think localhost:3000 is the default. It needs that and then the individual page url for redirection.
@geopopos
@geopopos 5 ай бұрын
@@rapidmvp if you're talking about in the supabase URL config yeah I changed the site_url and updated the allowed URL. if there is an area to do this in flutterflow no I did not 👀
@rapidmvp
@rapidmvp 5 ай бұрын
@@geopopos there shouldn’t be anything to do in Flutterflow on the url side. As long as you publish the app and there is a page that Supabase points to, it should be good.
@monlak01
@monlak01 5 ай бұрын
I am getting this error from FF: "The function 'UserAttributes' isn't defined. Try importing the library that defines 'UserAttributes', correcting the name to the name of an existing function, or defining a function named 'UserAttributes'." The package is being called at the beginning. I have no idea where that function should be.
@rapidmvp
@rapidmvp 5 ай бұрын
I’ll take a look and get back to you
@monlak01
@monlak01 5 ай бұрын
@@rapidmvp It works though. I checked the "Exclude from compilation", the error becomes a warning. I deployed and it worked well... :)
@emeriktremblay3881
@emeriktremblay3881 2 ай бұрын
I have the same error
@eemersonalmeida
@eemersonalmeida 3 ай бұрын
hello, can you help with this error: The setter 'customError' isn't defined for the type 'FFAppState'. Try importing the library that defines 'customError', correcting the name to the name of an existing setter, or defining a setter or field named 'customError'.dartundefined_setter. tks
@rapidmvp
@rapidmvp 3 ай бұрын
You need to create an app state called customError
@eemersonalmeida
@eemersonalmeida 3 ай бұрын
@@rapidmvp tks man! it works.
@anaphylaxis6599
@anaphylaxis6599 7 ай бұрын
Is it the same with the update email?
@rapidmvp
@rapidmvp 7 ай бұрын
You can just use the Auth update email action within FF for this
@anaphylaxis6599
@anaphylaxis6599 7 ай бұрын
@@rapidmvpi’m not sure how to set-up the update email part of it after trying to do it in the first part, also is there a way to possibly redirect the user to the app instead of the web when they clicked the forgot password link in the confirmation email as i’m using it for an app?
@rapidmvp
@rapidmvp 7 ай бұрын
@@anaphylaxis6599 I can do a quick video on update email next week. I think with Supabase it has to go via url for the password update. Doing it with one time password via sms may work though.
@Wasi_sirshaar
@Wasi_sirshaar 7 ай бұрын
Can we create a custom action for signup also? need guidelines.
@rapidmvp
@rapidmvp 7 ай бұрын
Thinking about this already as I want to add a Captcha, which seems only natively possible with Firebase.
@louisgautier7622
@louisgautier7622 2 ай бұрын
@@rapidmvp Hello. Do you think about doing the same tutorial for email verification when user sign up ? It would be awesome and I think lot of people search for this. Thanks !
@rapidmvp
@rapidmvp 2 ай бұрын
@@louisgautier7622 it’s on the list. I may do this next week.
@louisgautier7622
@louisgautier7622 2 ай бұрын
@@rapidmvp Thank you very much. May I ask a question about this password tutorial. I setted up everything. I received the email, click on the link and go to the new password page. But when I want to update it, nothing happen when I click on the button. One thing is I didn’t understand how the function know which user needs to be updated, because no one is really authenticated when updating his password. Thank you very much for your help !
@rapidmvp
@rapidmvp 2 ай бұрын
@@louisgautier7622 The url of the magic link in the password reset email contains the access token that logs the user in, therefore allowing then to reset password
@anaphylaxis6599
@anaphylaxis6599 7 ай бұрын
hello there seems to be an error with this now? can you check again please? thank you so much
@rapidmvp
@rapidmvp 7 ай бұрын
I’ll have a look into it.
@monlak01
@monlak01 5 ай бұрын
@@rapidmvp seems like it's not working because FF is not identifying the 'UserAttributes' function that is used.
@rapidmvp
@rapidmvp 5 ай бұрын
@@monlak01 Before the “Future changePassword” line, you need: Import ‘package:supabase/supabase.dart’;
@monlak01
@monlak01 5 ай бұрын
@@rapidmvp wow... I thought it was already being called (and when I added it, FF said it was redundant...but seems like it is not! :) You are right, it worked.
Simple hack to refresh a page view in Flutterflow
2:25
rapidmvp
Рет қаралды 3,5 М.
How to Set Up @Supabase Authentication in FlutterFlow
16:05
FlutterFlow
Рет қаралды 38 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 35 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,5 МЛН
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 7 МЛН
Create a custom reset password page in your Flutterflow app
22:08
Leo McMillion
Рет қаралды 3,7 М.
#FlutterFlow Useful Custom Action Technique you should know!
11:59
The Digital Pro's NoCode Academy
Рет қаралды 3,4 М.
Easy generate PDF in FlutterFlow
14:16
APIxFlow
Рет қаралды 599
📱Reset Password • Firebase x Flutter Tutorial ♡
13:09
Mitch Koko
Рет қаралды 50 М.
Don't Build Your Next FlutterFlow App WITHOUT These!
32:36
James NoCode
Рет қаралды 11 М.
Auth0 and FlutterFlow, API Security and Keeping Users Authenticated
2:14:08
Matthew McKelvey
Рет қаралды 1,1 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 35 МЛН