Skip to main content
login() resolves to the raw token-exchange response - { token, refresh_token, user: { id, email, role }, expires_at }, the minimal claim set, not the full profile. Read the full user (with first_name, avatar, email_verified, …) from useAuth().user instead, which the SDK hydrates right after login - see Session.

Errors