Skip to content

Commit e0de58a

Browse files
committed
changes made (renaming of files)
1 parent 0f8de61 commit e0de58a

4 files changed

+7
-161
lines changed

docs/troubleshooting/api/API Troubleshooting, Client-Server Errors during the API call.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

docs/troubleshooting/authentication/How to retrieve the authenticated type from Firebase auth in Flutterflow.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

docs/troubleshooting/authentication/how_to_retrieve_the_authenticated_type_from_firebase_auth_in_flutterflow.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
---
22
keywords: ['firebase', 'auth', 'authenticated']
3-
author: Unknown
4-
created_at: '1690181539'
53
slug: /how-to-retrieve-the-authenticated-type-from-firebase-auth-in-flutterflow
64
title: How to retrieve the authenticated type from Firebase auth in Flutterflow
7-
updated_at: '1690215728'
8-
url: https://intercom.help/flutterflow/en/articles/8165715-how-to-retrieve-the-authenticated-type-from-firebase-auth-in-flutterflow
95
---
106
# How to retrieve the authenticated type from Firebase auth in Flutterflow
117

@@ -43,4 +39,11 @@ If the user has signed in using Facebook, the function will return: **`'facebook
4339
If the user has signed in using Email and Password, the function will return: **`'password'`**
4440

4541
These are the identifiers used by Firebase to represent different sign-in methods.Please, thoroughly test this function to ensure it fits your specific requirements.
42+
43+
:::tip[Pro Tip]
44+
In FlutterFlow, if you want to display or use the user's sign-in method in your UI logic (e.g., showing different UIs for Google vs. email login), you can create a custom function using the `providerId` approach shown in the article and **connect it to a custom action**. This allows you to make dynamic decisions inside your app based on how the user authenticated.
45+
46+
Remember to return the result from the custom function and store it in an App State variable for easy access throughout your app.
47+
:::
48+
4649
For more details, you can refer to Firebase's official documentation, as well as our **documentation**, **community tutorials**, **Youtube channel**, **blog**, and **intercom articles**.

docs/troubleshooting/deployment/CodeMagic Deployment Tips.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)