You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ff-integrations/authentication/authentication-types.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ standards like OAuth 2.0 and OpenID Connect. This makes it highly adaptable for
19
19
backend, ensuring a secure and scalable solution.
20
20
21
21
:::info
22
-
Learn how to enable Firebase Authentication and integrate popular auth providers in your FlutterFlow
23
-
app.[**Learn more here**](#)
22
+
Learn how to enable [**Firebase Authentication**](../authentication/firebase-auth/auth-initial-setup.md) and integrate popular auth providers in your FlutterFlow
23
+
app.
24
24
:::
25
25
26
26
## Supabase Authentication
@@ -31,8 +31,8 @@ Supabase provides a powerful and flexible authentication solution, similar to Fi
31
31
unique advantages like support for PostgreSQL.
32
32
33
33
:::info
34
-
Discover how to set up Supabase Authentication and link it with available auth providers within your
35
-
FlutterFlow app.[**Learn more here**](#)
34
+
Discover how to set up [**Supabase Authentication**](../authentication/supabase-auth/initial-setup.md) and link it with available auth providers within your
35
+
FlutterFlow app.
36
36
:::
37
37
38
38
## Custom Authentication
@@ -44,6 +44,6 @@ application. Whether you need to work with legacy systems or have specific secur
44
44
custom authentication provides the necessary control.
45
45
46
46
:::info
47
-
Explore how to implement custom authentication strategies in your FlutterFlow app, ensuring your
48
-
authentication flow aligns with your business requirements.[**Learn more here**](#)
47
+
Explore how to implement [custom authentication](../authentication/custom-auth/custom-auth.md) strategies in your FlutterFlow app, ensuring your
48
+
authentication flow aligns with your business requirements.
Copy file name to clipboardExpand all lines: docs/ff-integrations/authentication/custom-auth/custom-auth.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,13 +98,13 @@ To enable custom authentication in FlutterFlow:
98
98
99
99
Let's add a page that allows users to create accounts and log in. To speed up, you can add a page from the template. Here is the page added from the templates, and after some modification, it looks the below:
100
100
101
-
Also, see how to [build a page layout](#) in case you want to build a page from scratch.
101
+
Also, see how to [build a page layout](../../../ff-concepts/layout/building-layout.md) in case you want to build a page from scratch.
On each page, on click of a button, you can add appropriate authentication related [API calls](#). For this example, we use [this](https://dummyjson.com/docs/auth).
107
+
On each page, on click of a button, you can add appropriate authentication related [API calls](../../../resources/control-flow/backend-logic/api/rest-api.md). For this example, we use [this](https://dummyjson.com/docs/auth).
108
108
109
109
<div style={{
110
110
position: 'relative',
@@ -139,7 +139,7 @@ After successful authentication, you can save the auth related data using the 'L
139
139
1. Inside the **TRUE** branch of the [previous API call](#3-authenticate-users), add the **Log in** (under *Backend/Database > Custom Authentication*) action.
140
140
141
141
2. Under the **User Auth Properties**, you can set values for **Authentication Token**, **Refresh Token**, **Token Expiry Time**, and **User UID**. **Note that for the 'Persist Auth Sessions' option to work, you must set the Authentication Token**.
142
-
3.**Set User Data** to store the result of the previous API call (i.e., auth details) in a Custom Data Type. See how to get the [JSON into Data Type](#).
142
+
3.**Set User Data** to store the result of the previous API call (i.e., auth details) in a Custom Data Type. See how to get the [JSON into Data Type](../../../resources/control-flow/backend-logic/api/rest-api.md#json-to-data-type).
Copy file name to clipboardExpand all lines: docs/ff-integrations/authentication/firebase-auth/apple-login.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ To enable Apple authentication in the Firebase:
191
191
192
192
### 4. Add an Apple sign-in button
193
193
194
-
To allow users to authenticate, you need a login page with a button. You can create your own or use the one from the [widget template](#) or page template.
194
+
To allow users to authenticate, you need a login page with a button. You can create your own or use the one from the widget template or page template.
195
195
196
196
Here's how you can add the Apple sign-in button from our page template:
197
197
@@ -265,7 +265,7 @@ To let users log out of your app, you can use the [Logout](../logout-action.md)
265
265
266
266
### 7. Preparing to test the app
267
267
268
-
For [testing your app](#) on a real device, you must configure the project in Xcode. This includes adding a team to your project and setting an appropriate signing certificate.
268
+
For testing your app on a real device, you must configure the project in Xcode. This includes adding a team to your project and setting an appropriate signing certificate.
Copy file name to clipboardExpand all lines: docs/ff-integrations/authentication/firebase-auth/auth-initial-setup.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ Google Sign-in and Phone Sign-in. To learn more about the SHA-1 key, see
125
125
this [link](https://developers.google.com/android/guides/client-auth).
126
126
127
127
:::warning[Release Guidelines]
128
-
While releasing the app, make sure to [**get the key from Play Console**](#).
128
+
While releasing the app, make sure to [**get the key from Play Console**](#getting-sha-keys-for-release-mode).
129
129
:::
130
130
131
131
1. Open a terminal window:
@@ -172,6 +172,14 @@ While releasing the app, make sure to [**get the key from Play Console**](#).
172
172
fingerprint.
173
173
4. Enter the copied SHA-1 into the input box and click on Save.
174
174
175
+
#### Getting SHA keys for release mode
176
+
177
+
If you're releasing your app to the Play Store, you must add the SHA certificate fingerprints from the Play Console.
178
+
179
+
To get the keys for the release app, navigate to **Play Store Console > Your project > Release Setup > App Signing** and copy the **SHA-1** and **SHA-256** keys.
Copy file name to clipboardExpand all lines: docs/ff-integrations/authentication/firebase-auth/jwt-token-login.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,12 +44,12 @@ Adding JWT token authentication comprises the following steps:
44
44
45
45
### 1. Add login API
46
46
47
-
You must [create an API](#) endpoint on your server that accepts email/username and password. If the credentials are valid, it generates the JWT token and passes it back in response.
47
+
You must [create an API](../../../resources/control-flow/backend-logic/api/create-test-api-calls.md) endpoint on your server that accepts email/username and password. If the credentials are valid, it generates the JWT token and passes it back in response.
48
48
49
49
At your server, you can generate the JWT token either using the [Firebase Admin SDK](https://firebase.google.com/docs/auth/admin/create-custom-tokens#create_custom_tokens_using_the_firebase_admin_sdk) or a [third-party JWT library](https://firebase.google.com/docs/auth/admin/create-custom-tokens#create_custom_tokens_using_a_third-party_jwt_library). You can find the detailed instructions [here](https://firebase.google.com/docs/auth/admin/create-custom-tokens).
50
50
51
51
:::info
52
-
Alternatively, you can integrate Supabase authentication into your app and use the JWT token generated after [**account creation**](#).
52
+
Alternatively, you can integrate Supabase authentication into your app and use the JWT token generated after [**account creation**](../supabase-auth/auth-actions.md#log-in-action).
53
53
:::
54
54
55
55
The API endpoint should be similar to the following (Tip: Expand and see the '200 OK' section):
@@ -87,12 +87,12 @@ In most cases, you would make the app content available right after creating a n
87
87
:::
88
88
89
89
:::info
90
-
If you want to try the JWT token authentication without creating an API endpoint right now, you can [**generate the JWT token locally**](#) for testing.
90
+
If you want to try the JWT token authentication without creating an API endpoint right now, you can [**generate the JWT token locally**](#create-a-jwt-token-locally) for testing.
91
91
:::
92
92
93
93
### 2. Adding login page
94
94
95
-
Let's [add a sign-in page from the templates](#) and choose the **Authenticate Solo Alt** from under the **Auth** tab. Tip: After adding, remove the other social sign-in buttons.
95
+
Let's add a sign-in page from the templates and choose the **Authenticate Solo Alt** from under the **Auth** tab. Tip: After adding, remove the other social sign-in buttons.
96
96
97
97

98
98
@@ -105,16 +105,16 @@ Here are the step by step instructions:
105
105
1. Select the **Widget** (e.g., Sign In) on which you want to define the action.
106
106
107
107
2. Select **Actions** from the Properties Panel (the right menu), and click **Open**. This will open an **Action Flow Editor** in a new popup window.
108
-
3.[Add the login api](#) and provide the **Action Output Variable Name**. ****If the call succeeds, this will be used to retrieve the token.
108
+
3. Add the login api and provide the **Action Output Variable Name**. If the call succeeds, this will be used to retrieve the token.
109
109
4. Inside the **TRUE** section, click on the **+** button and select **Add Action**.
110
110
5. On the right side, search and select the **Log in** (under Firebase Authentication) action.
111
111
6. Set the **Auth Provider** to **JWT token**.
112
112
7. Now, you must provide the actual JWT token. To set the token from an API response:
113
113
1. Click on the **UNSET** and select the **Action Outputs -> Action Output Variable Name** (that you specified in the API call section.)
114
114
2. Set the **API Response Options** to **JSON Body** and **Available Options** to **JSON Path**.
115
115
3. Enter the **JSON Path** to locate the token in API response, such as `$.token,` and click **Confirm**.
116
-
8. (Optional) add the [snackbar action](#) to display the success message.
117
-
9. (Optional) Inside the **False** section, add the [snackbar action](#) to display the failure message.
116
+
8. (Optional) add the [snackbar action](../../../resources/ui/pages/page-elements.md#show-snackbar-action) to display the success message.
117
+
9. (Optional) Inside the **False** section, add the snackbar action to display the failure message.
118
118
119
119
<div style={{
120
120
position: 'relative',
@@ -152,7 +152,7 @@ To confirm the successful integration and the creation of users, navigate to you
152
152
153
153
## Create a JWT token locally
154
154
155
-
Sometimes you might want to build and test the JWT authentication before the login or create account API is ready. You can achieve this by creating the JWT token locally and passing it inside the [login action](#).
155
+
Sometimes you might want to build and test the JWT authentication before the login or create account API is ready. You can achieve this by creating the JWT token locally and passing it inside the [login action](#3-add-login-action).
156
156
157
157
:::warning
158
158
Use this method only for testing purposes. Ideally, you should be doing this on the server side.
@@ -228,8 +228,8 @@ Here's an example of how you can use the *Authenticated User* object to filter t
228
228
229
229
Once you log in via the JWT token, the *Authenticated User* object is available. This object contains the fields (i.e., logged-in user's data), especially **User Reference (users ref),** that you may need to provide while adding or retrieving Firestore documents.
230
230
231
-
When such user reference is stored inside the Firestore documents, you can use them ****inside the **Single** or **Multiple Recipient** while defining the **Audience** inside the [Trigger Push Notification](#) action, as shown in the image below:
231
+
When such user reference is stored inside the Firestore documents, you can use them inside the **Single** or **Multiple Recipient** while defining the **Audience** inside the [Trigger Push Notification](../../notifications/push-notifications/getting-started.md#trigger-push-notification) action, as shown in the image below:
To learn more about how to use user references for sending push notifications, please check the [push notification](#) section.
235
+
To learn more about how to use user references for sending push notifications, please check the [push notification](../../notifications/push-notifications/getting-started.md) section.
Copy file name to clipboardExpand all lines: docs/ff-integrations/authentication/firebase-auth/password-reset-action.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Adding password reset comprises of following steps:
46
46
47
47
### 1. Building page
48
48
49
-
Let's add a page that allows users to provide their email address. To speed up, you can add a page from the [template](#). Here is what the template page (named 'Forgot Password 01') looks like:
49
+
Let's add a page that allows users to provide their email address. To speed up, you can add a page from the template. Here is what the template page (named 'Forgot Password 01') looks like:
Copy file name to clipboardExpand all lines: docs/ff-integrations/authentication/firebase-auth/phone-login.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ Adding Phone sign-in comprises the following steps:
62
62
63
63
### 1. Setting up phone sign-in
64
64
65
-
To use phone sign-in, you must [get the SHA-1 key](#) and [regenerate the configuration files](#). You can find the detailed instructions [here](#). **Note** that this step is often missed, so ensure you must complete this step before you proceed further.
65
+
To use phone sign-in, you must [get the SHA-1 key](auth-initial-setup.md#generate-the-sha-1-key) and [regenerate the configuration files](auth-initial-setup.md#regenerate-config-files). You can find the detailed instructions [here](auth-initial-setup.md). **Note** that this step is often missed, so ensure you must complete this step before you proceed further.
66
66
67
67
### 2. Enabling phone authentication in Firebase
68
68
@@ -104,7 +104,7 @@ To enable authentication in the Firebase:
104
104
105
105
### 3. Building phone number page
106
106
107
-
To allow users to authenticate using their phone number, you need to create a page to accept the user's phone number. We provide a collection of ready-to-use templates. You can use one of our templates or [create a page from scratch](#).
107
+
To allow users to authenticate using their phone number, you need to create a page to accept the user's phone number. We provide a collection of ready-to-use templates. You can use one of our templates or create a page from scratch.
108
108
109
109
Here is the page added from the templates, and after some modification, it looks the below:
110
110
<div style={{
@@ -296,17 +296,17 @@ To test on a real device, add the SHA-256 key in the Firebase console and enable
296
296
Skip if you find the below steps already completed by our automated Firebase integration.
297
297
:::
298
298
299
-
1. Get the SHA-256 key/fingerprint, add it to your Firebase project, and then regenerate the Firebase config files in FlutterFlow. **Note**: The instructions are similar to generating the SHA-1 key and are explained [here](#). You will find the SHA-256 key in the terminal just below the SHA-1 key. This is required for the Firebase to verify that the sign-in request is coming from a legitimate device.
299
+
1. Get the SHA-256 key/fingerprint, add it to your Firebase project, and then regenerate the Firebase config files in FlutterFlow. **Note**: The instructions are similar to generating the SHA-1 key and are explained [here](auth-initial-setup.md#generate-the-sha-1-key). You will find the SHA-256 key in the terminal just below the SHA-1 key. This is required for the Firebase to verify that the sign-in request is coming from a legitimate device.
300
300
301
301
:::warning
302
-
While releasing the app, make sure to [**get the key from the Play Console**](#).
302
+
While releasing the app, make sure to [**get the key from the Play Console**](auth-initial-setup.md#getting-sha-keys-for-release-mode).
303
303
:::
304
304
305
305

306
306
307
307
308
308
1. Open the [Google Developers Console](https://console.developers.google.com/) (Make sure your project is selected in the dropdown at the top), Click on the **Library** menu on the left, search for the **Google Play Integrity API,** and enable it.
309
-
2. Now, download and test the app using the instructions [here](#).
309
+
2. Now, download and test the app using the instructions [here](../../../testing-deployment-publishing/exporting-code/ff-cli.md).
310
310
311
311
<div style={{
312
312
position: 'relative',
@@ -388,7 +388,7 @@ To add the fictitious number:
388
388
<details>
389
389
<summary>Getting this error: "The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth Section."</summary>
390
390
<p>
391
-
1. First, ensure you have clicked the "Save" button while [Enabling phone authentication in Firebase](#).
391
+
1. First, ensure you have clicked the "Save" button while [Enabling phone authentication in Firebase](#2-enabling-phone-authentication-in-firebase).
392
392
393
393

Copy file name to clipboardExpand all lines: docs/ff-integrations/database/cloud-firestore/firestore-actions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,7 +241,7 @@ By enabling Firestore batch write, you can group multiple operations and send th
241
241
242
242
Suppose you have an e-commerce application, and after a successful order, you need to update the product inventory count and create a new document in the 'orders' collection. Using a batch write, you can combine these operations and execute them together to ensure data consistency.
243
243
244
-
To enable Firestore batch write, you must have multiple Firestore ([any combination of)](#)
244
+
To enable Firestore batch write, you must have multiple Firestore any combination of
245
245
actions; inside the action editor, at the top right side, enable **Batch Firestore Writes**.
0 commit comments