JavaScript: Retrieve a user

This method gets the user object from memory.

Examples

Get the signed-in user

const user = supabase.auth.user()