Skip to content

Commit 9f85ed4

Browse files
authored
Update google-login.md
I was not able to locate easily the place where I have to create the users collection. Feel free to change, if needed.
1 parent 5a31188 commit 9f85ed4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/ff-integrations/authentication/firebase-auth/google-login.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ You can create your own or use the one from page templates.
4545

4646
<iframe src="https://demo.arcade.software/CBVoec46awMc3yNGLuVJ?embed&show_copy_link=true" title="EcommerceFlow - FlutterFlow" frameborder="0" loading="lazy" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="clipboard-write" width="100%" height="600"></iframe>
4747

48-
- Enable the **Create User Document** and set the **Collection** to **users**.
49-
After successful login, this will insert the user's account details, such as
50-
email,
51-
name, and photo, into the 'users' collection. If a user already exists, it
52-
won't add details again.
48+
In **Connect Menu > Firestore Settings >** :
49+
- **Storage Icon >** : Create the **users** collection. You can accept the suggestion to prepopulate it with the default user fields.
50+
- **Cog Icon >** : Enable the **Users Collection** radio button and select the **Collection** to **users**.
51+
52+
After successful login, this will insert the user's account details, such as
53+
email, name, and photo, into the 'users' collection. If a user already exists, it
54+
won't add details again.
5355

5456
:::info
5557
To let users log out of your app, you can use the [**Logout**](auth-actions.md#logout-action) action.
@@ -114,4 +116,4 @@ allowFullScreen style={{ width: '100%', height: '600px' }}></iframe>
114116
To confirm the successful integration of Google authentication and the creation of users, navigate
115117
to your Firebase project > Authentication > Users and check the user entries.
116118

117-
![verify-google-auth-users.png](../imgs/verify-google-auth-users.png)
119+
![verify-google-auth-users.png](../imgs/verify-google-auth-users.png)

0 commit comments

Comments
 (0)