Skip to content
masterclass Buddy

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.

Subscribe
  • auth.getUser()
  • auth.getClaims()
  • auth.refreshSession()
  • auth.onAuthStateChange()

Source: JavaScript API Reference | Supabase Docs. Checked 2026-11-03.