Skip to main content

Supabase - Login

Overview

Authenticates a user with Supabase, returning a Data Structure containing the user's JWT and session data, or an error.

info

If the login fails, make sure the user exists (has been created/signed up) in the Supabase project and that they are verified. You can use the Create User block to create/sign up a user to a Supabase project.

Returns
Data Structure

Parameters

ParameterParameterValid BlocksRequired
Supabase Project URLYour Supabase project URL, eg: https://yourprojecturl.supabase.coText Process Block GroupYes
API KeyYour public/anon Supabase API KeySecret Block GroupYes
E-Mail to log in withThe Supabase user's log-in e-mail addressSemi-Secret Block GroupNo
Phone Number to log in withThe Supabase user's log-in phone numberSemi-Secret Block GroupNo
Log-In PasswordThe password associated with the e-mail address or phone numberSemi-Secret Block GroupYes
Project Connection ConfigA Supabase connection configuration that was setup in the Databases panelText Process Block GroupNo
Catch Errors to Data StructureCatch errors from the Login call to Supabase as a Data Structure and return them as the response value to enable manual error handling. If turned on errors will not get caught in a Try-Catch block.Boolean Block GroupNo