Log the User In

This action logs the user in using Email/Password authentication.


Inputs and Settings

Email

The email linked to the user's account to be authenticated.

Password

The user's account authentication password.

Trigger ID (optional)

This will link the action with a Action Listener of the same ID.

If left blank, all listener on the page with blank ID's will be triggered at the same time, so we suggest to always define a Trigger ID.

When the function finishes running, it will trigger the User Logged In event, storing the User ID and User Email on the listener's states.


Triggered events

Those events are triggered by an Action Listener with the same ID as the Trigger ID provided on the action.

  • User Logged In (if the action was successful)

  • Error in Action (if an error occurs)


Stored values on the listener

User ID

The ID of the user authenticated by the action.

User Email

The email of the user authenticated by the action.

Error Message

If an error occurs, you can check its details on this state on the action listener.

Last updated