Authenticate anonymous user (Firebase Auth)
Authenticate user using the Firebase Auth anonymous login.
Authenticate user using the Firebase Auth anonymous 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 anonymous authentication enabled in your Firebase project.

Input arguments

Label
Key
Type
Required?
Default
Description

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
Authentication failed
authFailed
Thrown if the authenticating the user failed.
Export as PDF
Copy link