Skip to Content

CustomerSessionEndReason

type CustomerSessionEndReason = | CustomerAuthInvalidationReason | "session_expired";

Why a customer’s session ended: a reason the API sent, or session_expired, the client’s own reason when the refresh token no longer refreshes (the API refused it as expired, invalid or revoked), so the customer has to sign in again.

Last updated on