Skip to main content

auth.user()

Returns the user data, if there is a logged in user.

final user = supabase.auth.user();

Examples#

Get the logged in user#

final user = supabase.auth.user();