Skip to content

Commit 8f48945

Browse files
authored
Merge branch 'main' into pinkesh/file-download-action
2 parents 2c53ee6 + c2a7bf6 commit 8f48945

File tree

12 files changed

+231
-149
lines changed

12 files changed

+231
-149
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: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
slug: /integrations/authentication/supabase/auth-actions
3-
title: Auth Actions
3+
title: Common Auth Actions
44
description: Learn how to add Supabase Authentication actions in your FlutterFlow app.
55
tags: [Auth Actions, Authentication, Supabase]
66
sidebar_position: 1
@@ -62,6 +62,85 @@ Follow the steps below to add this action:
6262

6363
![img_6.png](img_6.png)
6464

65+
## Reset Password [Action]
66+
67+
This action allows users to reset their password by sending a reset link to their registered email address.
68+
69+
<div style={{
70+
position: 'relative',
71+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
72+
height: 0,
73+
width: '100%'}}>
74+
<iframe
75+
src="https://demo.arcade.software/PkAwpUU2WsXbG1DpzNCX?embed&show_copy_link=true"
76+
title=""
77+
style={{
78+
position: 'absolute',
79+
top: 0,
80+
left: 0,
81+
width: '100%',
82+
height: '100%',
83+
colorScheme: 'light'
84+
}}
85+
frameborder="0"
86+
loading="lazy"
87+
webkitAllowFullScreen
88+
mozAllowFullScreen
89+
allowFullScreen
90+
allow="clipboard-write">
91+
</iframe>
92+
</div>
93+
<p></p>
94+
95+
:::info[Prerequisites]
96+
97+
To build the reset password functionality, you need to create the following two pages in your app:
98+
99+
1. **ForgotPassword Page**: This page allows users to enter their email address and request a password reset link.
100+
2. **UpdatePassword Page**: This page allows users to set a new password after clicking on the reset link.
101+
:::
102+
103+
Here’s how you can add the Supabase reset password feature to your app:
104+
105+
1. On the **ForgotPassword Page**, add the **Send Reset Password Email** action and set the **Email Field** dropdown to the widget that accepts the user's email address. This action will send the reset password link to the provided email.
106+
2. The reset link sent to the user will open the **UpdatePassword Page**. On that page, add the **Update Password** action and set the **Password Field** and **Confirm Password Field** to the respective input widgets.
107+
3. Copy the route name of the **UpdatePassword Page** and paste it into the **Supabase Dashboard > Authentication > Email Templates > Reset Password > Source**. Just after **`"{{ .ConfirmationURL}}[here]"`**. This ensures that when users click the reset link, they are directed to the **UpdatePassword** page to set their new password.
108+
4. [Deploy your app to the web](../../../testing-deployment-publishing/publishing/web-publishing.md).
109+
5. Copy the URL of your deployed project and paste it into the **Supabase Dashboard > Authentication > URL Configuration > Site URL**.
110+
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+
117+
<div style={{
118+
position: 'relative',
119+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
120+
height: 0,
121+
width: '100%'}}>
122+
<iframe
123+
src="https://demo.arcade.software/GqayWApqWV2xInXc1SUO?embed&show_copy_link=true"
124+
title=""
125+
style={{
126+
position: 'absolute',
127+
top: 0,
128+
left: 0,
129+
width: '100%',
130+
height: '100%',
131+
colorScheme: 'light'
132+
}}
133+
frameborder="0"
134+
loading="lazy"
135+
webkitAllowFullScreen
136+
mozAllowFullScreen
137+
allowFullScreen
138+
allow="clipboard-write">
139+
</iframe>
140+
</div>
141+
<p></p>
142+
143+
65144

66145
## Delete User
67146

Binary file not shown.

docs/resources/projects/how-to-collaborate-on-projects.md

Lines changed: 10 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ ability to manage the collaboration through permissions.
1313

1414
## Sharing a Project with a User
1515

16-
You can also invite users to your project who are not part of your organization.
16+
You can invite users to your project who are not part of your organization.
1717
For instance, you might want to share your work with clients, stakeholders, or
1818
team members of the client.
1919

20+
![](imgs/invite-users.avif)
21+
2022
When you invite users to your project, you have the flexibility to assign them
2123
different roles depending on their level of involvement. For example, you can
2224
grant **editing** privileges to collaborators who are actively working on the
@@ -32,86 +34,18 @@ control.
3234
- Read-only users added to *Teams*/*Organization* will not count against your
3335
*Teams* seat count.
3436
- You must verify your email before inviting users.
35-
:::
36-
37-
### How to Invite Users
38-
39-
<div class="arcade-container" style={{
40-
position: 'relative',
41-
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
42-
height: 0,
43-
width: '100%'
44-
}}>
45-
<iframe
46-
src="https://demo.arcade.software/9XkpLuC3tpiFFapWi7ao?embed&show_copy_link=true"
47-
title="Sharing a Project with a User"
48-
style={{
49-
position: 'absolute',
50-
top: 0,
51-
left: 0,
52-
width: '100%',
53-
height: '100%',
54-
colorScheme: 'light',
55-
}}
56-
frameborder="0"
57-
loading="lazy"
58-
webkitAllowFullScreen
59-
mozAllowFullScreen
60-
allowFullScreen
61-
allow="clipboard-write">
62-
</iframe>
63-
</div>
64-
65-
66-
:::info
67-
6837
- If a user isn't already a FlutterFlow user, we will send them an invite email.
6938
Their status will be shown as **Pending** until they create an account.
7039
- FlutterFlow subscriptions are seat based. A user added to your project will
7140
only have access to the features of their account plan.
7241
:::
7342

74-
## Branching Permissions
75-
76-
The owner of a project can manage permissions related to branching. Owners can
77-
control two types of branching permissions:
78-
79-
- **Editing Permissions:** Determines who is allowed to edit branching permissions.
80-
- **Merging into Main:** Specifies who is allowed to merge branches into the main
81-
branch.
82-
83-
<div style={{
84-
position: 'relative',
85-
paddingBottom: 'calc(56.67989417989418% + 41px)', // Correctly maintaining the aspect ratio with additional padding
86-
height: 0,
87-
width: '100%'
88-
}}>
89-
<iframe
90-
src="https://demo.arcade.software/P5MgPJuBBeaIm7dfEjqI?embed&show_copy_link=true"
91-
title="Branching Permissions"
92-
style={{
93-
position: 'absolute',
94-
top: 0,
95-
left: 0,
96-
width: '100%',
97-
height: '100%',
98-
colorScheme: 'light'
99-
}}
100-
frameBorder="0"
101-
loading="lazy"
102-
webkitAllowFullScreen
103-
mozAllowFullScreen
104-
allowFullScreen
105-
allow="clipboard-write">
106-
</iframe>
107-
</div>
10843

10944
## Sharing a Project with an Organization
11045

111-
To share a project with all team members in your organization, enable the "Share
112-
with my organization" option.
46+
To share a project with all current and future team members in your organization, enable the **Grant team members access** option.
11347

114-
![share-project-with-organization.avif](../../../static/img/share-project-with-organization.avif)
48+
![share-with-team](imgs/share-with-team.avif)
11549

11650
## Real-Time Collaboration
11751

@@ -124,24 +58,10 @@ interfering with the work of others.
12458
This increases efficiency and productivity, as multiple builders can work on
12559
various aspects of the project or together on the same page at the same time.
12660

127-
To enable real-time collaboration, navigate to **Settings & Integrations (from the
128-
left Navigation Menu) > Project Setup > Collaboration > click Enable Updated
129-
Collaboration**.
130-
131-
![realtime-collaboration-setup.png](../../../static/img/realtime-collaboration-setup.png)
132-
133-
Now when multiple builders are on the same page, it looks like this:
61+
When multiple builders are on the same page, it looks like this:
13462

13563
![real-time-collaboration.gif](../../../static/img/real-time-collaboration.gif)
13664

137-
To disable this feature anytime, click the **Disable Updated Collaboration** button.
138-
139-
:::caution
140-
141-
This feature is still in Beta, and unexpected issues may occur. Ensure you
142-
regularly create **[project versions](../../testing-deployment-publishing/branching-collaboration/saving-versioning.md)** as a backup.
143-
:::
144-
14565
:::info
14666

14767
Real-Time collaboration is a feature of our Teams and Enterprise plans.
@@ -154,31 +74,9 @@ This step can not be undone. If you want to regain project ownership, the new
15474
project owner will need to transfer ownership back to you.
15575
:::
15676

157-
<div class ="arcade-container" style={{
158-
position: 'relative',
159-
paddingBottom: 'calc(56.67989417989418% + 41px)', // Maintain aspect ratio plus extra padding
160-
height: 0,
161-
width: '100%'
162-
}}>
163-
<iframe
164-
src="https://demo.arcade.software/hUnKMJ7eqD81SRHkxEmt?embed&show_copy_link=true"
165-
title="Transferring Project"
166-
style={{
167-
position: 'absolute',
168-
top: 0,
169-
left: 0,
170-
width: '100%',
171-
height: '100%',
172-
colorScheme: 'light'
173-
}}
174-
frameBorder="0"
175-
loading="lazy"
176-
webkitAllowFullScreen
177-
mozAllowFullScreen
178-
allowFullScreen
179-
allow="clipboard-write">
180-
</iframe>
181-
</div>
77+
To transfer ownership to another user, navigate to **Settings & Integrations > Project Setup > Collaboration > Project-Level Access**, click on the current role and select **Owner**.
78+
79+
![transfer-ownership.avif](imgs/transfer-ownership.avif)
18280

18381
## Project Activity
18482

@@ -187,7 +85,7 @@ track progress and stay up to date on project changes. This feature allows team
18785
members to see all the updates made to a project in real-time, enabling them to
18886
understand how the project is evolving and collaborate more efficiently.
18987

190-
![flutterflow-project-activity.avif](../../../static/img/flutterflow-project-activity.avif)
88+
![project-activity](imgs/project-activity.avif)
19189

19290
:::info
19391
Teams users can access the last 7 days of project edits, while FlutterFlow
72.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)