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.
SubscribeRelated
getSessiongetClaimsgetUserIdentitiesauth.getUser