Email & password authentication (Firebase Auth)
Authenticate user using the Firebase Auth email & password login.
Authenticate user using the Firebase Auth email & password login.
If the authentication is successful, the first output is triggered and the Firebase UserCredential object returned.
If the authentication fails, the second output is triggered.
To use this flow, your app must have Firebase configured and email & password authentication enabled in your Firebase project.

Input arguments

Label
Key
Type
Required?
Default
Description
Credentials
credentials
Object
Yes

Output arguments

Number of outputs: 2
Label
Key
Type
Description
User credential
userCredential
Object
Firebase UserCredential object
    Additional user information
userCredential.additionalUserInfo
Object
Additional information of the authenticated user
    User
userCredential.user
Object
User information
    Credential
userCredential.credential
Object
Credentials returned by an auth provider
    Operation type
userCredential.operationType
String
Firebase authentication operation type

Events

No events.

Errors

Label
Code
Description
Firebase not initialized
firebaseNotInitialized
Thrown if Firebase has not been initialized by running the Initialize Firebase flow function.
Authentication failed
authFailed
Thrown if the authenticating the user failed.
Empty credentials
emptyCredentials
Thrown if the given login credentials are empty
Last modified 2mo ago
Export as PDF
Copy link