Edit

Share via


InteractionRequiredAuthErrorCodes module

Variables

badToken

Server-originated error code indicating the token is invalid or corrupted.

consentRequired

Server-originated error code indicating user consent is required.

interactionRequired

Server-originated error code indicating interaction is required to complete the request.

interruptedUser

Server-originated error code indicating the user was interrupted and must reattempt the flow.

loginRequired

Server-originated error code indicating user login is required.

nativeAccountUnavailable

MSAL-defined error code indicating a native account is unavailable on the platform.

noTokensFound

MSAL-defined interaction required error code indicating no tokens are found in cache.

refreshTokenExpired

MSAL-defined error code indicating the refresh token has expired and user interaction is needed.

uxNotAllowed

MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.

Variable Details

badToken

Server-originated error code indicating the token is invalid or corrupted.

badToken: "bad_token"

Type

"bad_token"

consentRequired

Server-originated error code indicating user consent is required.

consentRequired: "consent_required"

Type

"consent_required"

interactionRequired

Server-originated error code indicating interaction is required to complete the request.

interactionRequired: "interaction_required"

Type

"interaction_required"

interruptedUser

Server-originated error code indicating the user was interrupted and must reattempt the flow.

interruptedUser: "interrupted_user"

Type

"interrupted_user"

loginRequired

Server-originated error code indicating user login is required.

loginRequired: "login_required"

Type

"login_required"

nativeAccountUnavailable

MSAL-defined error code indicating a native account is unavailable on the platform.

nativeAccountUnavailable: "native_account_unavailable"

Type

"native_account_unavailable"

noTokensFound

MSAL-defined interaction required error code indicating no tokens are found in cache.

noTokensFound: "no_tokens_found"

Type

"no_tokens_found"

refreshTokenExpired

MSAL-defined error code indicating the refresh token has expired and user interaction is needed.

refreshTokenExpired: "refresh_token_expired"

Type

"refresh_token_expired"

uxNotAllowed

MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.

uxNotAllowed: "ux_not_allowed"

Type

"ux_not_allowed"