Skip to content

Commit 5a0efc1

Browse files
committed
Updated Firebase reset password info
1 parent 77123ff commit 5a0efc1

File tree

4 files changed

+32
-15
lines changed

4 files changed

+32
-15
lines changed

docs/ff-integrations/authentication/firebase-auth/auth-actions.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,37 @@ Follow the steps below to add this action:
2222

2323
![logout](../imgs/logout-action.png)
2424

25-
## Reset Password [Action]
25+
## Reset Password
2626

27-
Resetting password allows users to change their password by sending them a password reset link to their email address.
27+
With Firebase Authentication, there are two ways you can allow users to reset their password in your FlutterFlow app:
28+
29+
### In-App Password Change
30+
31+
This option allows users to change their password while they are logged into the app. This is useful when a user is authenticated but wants to update their password for security reasons.
32+
33+
To implement this, create a new page in your app, such as a **ChangePassword** page. This page should include two **TextFields** for the user to enter a new password and confirm it, along with a button (e.g., **Update Password**) to submit.
34+
35+
On the button's click, add the **Update Password** action (under *Backend/Database > Firebase Authentication*) and bind the **Password Field** and **Confirm Password Field** to their respective input widgets.
36+
37+
![firebase-update-password.avif](../imgs/firebase-update-password.avif)
38+
39+
:::info
40+
41+
By default, the **Navigate Automatically** option is enabled. This means that after the password is successfully updated, the user will be redirected to the **Logged In Page** specified in your [**Initial Page**](../../../resources/projects/settings/general-settings.md#initial-page) settings.
42+
43+
:::
44+
45+
### Reset Password Link
46+
47+
This allows users who are logged out to reset their password. It sends a password reset link to the user's email address. When clicked, the user is directed to a Firebase-hosted webpage where they can set a new password.
2848

2949
<div style={{
3050
position: 'relative',
3151
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
3252
height: 0,
3353
width: '100%'}}>
3454
<iframe
35-
src="https://www.loom.com/embed/ecbcbe948925431da777b6393f8b5b10?sid=07e6bcbe-610a-4b7c-8572-271527cd956c"
55+
src="https://demo.arcade.software/5hyA37XqJy6mrl7Onc8e?embed&show_copy_link=true"
3656
title=""
3757
style={{
3858
position: 'absolute',
@@ -53,15 +73,11 @@ Resetting password allows users to change their password by sending them a passw
5373
<p></p>
5474

5575

56-
On click of the 'Send Link' button, add the 'Reset Password' action, which sends the password reset link to the given email address. Here are the steps:
57-
58-
1. Select the widget (e.g., Button) on which you want to add the action.
76+
To set this up, create a page in your app, such as a **ForgotPassword** page. This page should include a **TextField** for the user to enter their email address and a button (e.g., **Send Reset Link**) to submit the request.
5977

60-
2. Select **Actions** from the properties panel (the right menu) and select **Add Action**.
61-
3. Search and select the **Reset Password** (under *Backend/Database > Firebase Authentication*) action.
62-
4. Set the **Email** **Field** dropdown to the widget name that accepts email (e.g., *TextFieldEmail*).
78+
On the button's click, add the **Send Reset Password Email** action (under *Backend/Database > Firebase Authentication*) and set the **Email Field** dropdown to the widget that takes user’s email. This action will send a password reset link to the provided email address.
6379

64-
![password reset action](../imgs/password-reset-action.png)
80+
![firebase-send-reset-link.avif](../imgs/firebase-send-reset-link.avif)
6581

6682
## Update Email [Action]
6783

Binary file not shown.
Binary file not shown.

docs/ff-integrations/authentication/supabase-auth/auth-actions.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ Here’s how you can add the Supabase reset password feature to your app:
108108
4. [Deploy your app to the web](../../../testing-deployment-publishing/publishing/web-publishing.md).
109109
5. Copy the URL of your deployed project and paste it into the **Supabase Dashboard > Authentication > URL Configuration > Site URL**.
110110

111+
:::tip
112+
**For mobile**, you must set the **deep link URL** as the Site URL. To find this, navigate to **FlutterFlow > Settings & Integrations > App Details > Routing & Deep Linking**, open the **URL Scheme** tooltip, and copy the URL.
113+
114+
![mobile-deeplink.avif](imgs/mobile-deeplink.avif)
115+
:::
116+
111117
<div style={{
112118
position: 'relative',
113119
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
@@ -134,11 +140,6 @@ Here’s how you can add the Supabase reset password feature to your app:
134140
</div>
135141
<p></p>
136142

137-
:::tip
138-
**For mobile**, you must set the **deep link URL** as the Site URL. To find this, navigate to **FlutterFlow > Settings & Integrations > App Details > Routing & Deep Linking**, open the **URL Scheme** tooltip, and copy the URL.
139-
140-
![mobile-deeplink.avif](imgs/mobile-deeplink.avif)
141-
:::
142143

143144

144145
## Delete User

0 commit comments

Comments
 (0)