Python: Retrieve a user | Supabase Docs (original) (raw)

Parameters

(Required)
The user's unique identifier This function should only be called on a server. Never expose your `service_role` key in the browser.

Examples

Fetch the user object using the access_token jwt

response = supabase.auth.admin.get_user_by_id(1)