Skip to main content
type AuthenticationProvider = ProviderSessionData;
Authentication provider information returned from auth completion endpoints The API returns session data wrapped by provider type. Instead of separate provider and session fields, the response is a discriminated union. Example: authentication: { "Privy": { user_id, session, token, ... } }