Skip to content
masterclass Buddy

Supabase · Method

auth.getUser

supabase.auth.getUser() gets the current user from Supabase Auth. It validates the session token with the Auth server, so the result can be used for authorization decisions.

Last updated

Syntax

supabase.auth.getUser(jwt?)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • getSession
  • getClaims
  • getUserIdentities
  • auth.getUser

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