Skip to main content

Log In

Logs in an existing user using an email and password or a phone number and password.

Log In node

This node authenticates the user against your connected Supabase project and, on success, creates an active user session. The session can then be used by other Supabase nodes in the app to access protected data, apply row-level security policies, and perform authenticated operations.

The Log In node is typically used as part of an authentication flow together with input fields for credentials and conditional logic to handle successful and failed login attempts.

This functionality is based on the Supabase Client SDK sign-in method. For implementation details and behavior, see
Supabase Client SDK – Sign in a user.

Inputs

DataTypeDescription
Log InsignalTriggers the sign-in request.
EmailstringEmail address of the user (used for email login).
PhonestringPhone number of the user (used for phone login).
PasswordstringPassword for the account.

Outputs

DataTypeDescription
SuccesssignalTriggered when the login completes successfully.
FailuresignalTriggered if the login fails.
FinallysignalTriggered after the login completes, regardless of outcome.
Is FetchingbooleanTrue while the login request is in progress.
Is FetchedbooleanTrue once the login request has completed.
StatusstringStatus returned from the operation.
Is SuccessbooleanTrue if the login completed successfully.
Is ErrorbooleanTrue if an error occurred.
Error TextstringError message returned by Supabase, if any.