Skip to content

Supabase Authentication

Non-Visible component
Category Requires Version
Connectivity API 21, Android 5.0 Lollipop 1

Overview

A non-visible component that provides authentication services via Supabase. Supports email/password sign-up and sign-in, email OTP, session management, and password reset.

Permissions

Events

Error Occurred

Fired when any operation fails

Params
operation Text
status Code Number
message Text

Got Current User

Fired when current user information is retrieved

Params
user Id Text
email Text
metadata Dictionary

OTP Sent

Fired when an OTP email has been sent

Params
email Text

Password Reset Sent

Fired when a password reset email has been sent

Params
email Text

Session Refreshed

Fired when the session token has been refreshed

Params
access Token Text

Sign In Completed

Fired when sign-in succeeds (password or OTP)

Params
access Token Text
user Id Text
email Text

Sign Out Completed

Fired when sign-out completes (local state is always cleared)

Sign Up Completed

Fired when sign-up succeeds. accessToken is non-empty if email confirmation is disabled (auto-sign-in); empty if confirmation is required.

Params
access Token Text
user Id Text
email Text

Methods

Get Current User

Get the currently authenticated user's information

Refresh Session

Refresh the current session using the refresh token

Reset Password

Send a password reset email

Params
email Text

Send OTP

Send a 6-digit OTP code to the specified email

Params
email Text

Sign In

Sign in with email and password

Params
email Text
password Text

Sign Out

Sign out the current user. Always clears local session state.

Sign Up

Register a new user with email and password

Params
email Text
password Text

Verify OTP

Verify an email OTP code and sign in

Params
email Text
otp Text

Properties

Access Token

Text ➖ Read - Blocks

The current JWT access token, or empty if not signed in

Is Signed In

Boolean ➖ Read - Blocks

Whether a user session is currently active

Project URL

Text ➖ Read Write - Designer Blocks

The Supabase project URL (e.g. https://xxx.supabase.co)

Publishable API Key

Text ➖ Read Write - Designer Blocks

The Supabase publishable API key

Refresh Token

Text ➖ Read - Blocks

The refresh token for the current session

User Email

Text ➖ Read - Blocks

The email of the authenticated user

User ID

Text ➖ Read - Blocks

The UUID of the authenticated user