Skip to main content

auth.session()

Returns the session data, if there is an active session.

const session = supabase.auth.session()

Examples#

Get the session data#

const session = supabase.auth.session()