Supabase · Method
auth.getSession
Gets the current Supabase Auth session from client storage. It can refresh the session when needed, but server code should not trust its user data without verification.
Last updated
Syntax
supabase.auth.getSession()In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
auth.getUser()auth.getClaims()auth.refreshSession()auth.onAuthStateChange()