diff --git a/docs/ff-integrations/authentication/firebase-auth/auth-actions.md b/docs/ff-integrations/authentication/firebase-auth/auth-actions.md index 7f56b62e..1dc7bc27 100644 --- a/docs/ff-integrations/authentication/firebase-auth/auth-actions.md +++ b/docs/ff-integrations/authentication/firebase-auth/auth-actions.md @@ -22,9 +22,29 @@ Follow the steps below to add this action:  -## Reset Password [Action] +## Reset Password -Resetting password allows users to change their password by sending them a password reset link to their email address. +With Firebase Authentication, there are two ways you can allow users to reset their password in your FlutterFlow app: + +### In-App Password Change + +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. + +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. + +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. + + + +:::info + +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. + +::: + +### Reset Password Link + +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.