AuthFailureType

AuthFailureType

Enum for auth failure types. This value is passed to the listener for AuthStatus.FAILURE.

Enumeration members🔗

EXPIRY🔗

EXPIRY:= "EXPIRY"

The current authentication token or session has expired.

Emitted when the embed receives an auth-expiry signal and starts auth refresh handling.

Defined in : auth.ts

IDLE_SESSION_TIMEOUT🔗

IDLE_SESSION_TIMEOUT:= "IDLE_SESSION_TIMEOUT"

The user session timed out due to inactivity.

Emitted when the app reports an idle-session timeout.

Defined in : auth.ts

NO_COOKIE_ACCESS:= "NO_COOKIE_ACCESS"

Browser cookie access is blocked for the embedded app.

Emitted when the iframe reports that required cookies cannot be read or sent, commonly due to third-party cookie restrictions.

Defined in : auth.ts

OTHER🔗

OTHER:= "OTHER"

A generic authentication failure that does not match a more specific type.

Emitted as a fallback for app-reported auth failures in standard auth flows.

Defined in : auth.ts

SDK🔗

SDK:= "SDK"

Authentication failed in the SDK authentication flow.

Emitted when init() or auto-authentication cannot establish a logged-in session. For example, this can happen because of an invalid token, an auth request failure, or an auth promise rejection.

Defined in : auth.ts

UNAUTHENTICATED_FAILURE🔗

UNAUTHENTICATED_FAILURE:= "UNAUTHENTICATED_FAILURE"

The app reports that the user is unauthenticated.

Used primarily to classify unauthenticated failures in Embedded SSO flows.

Defined in : auth.ts

© 2026 ThoughtSpot Inc. All Rights Reserved.