Skip to main content
zerotal

Documentation


Documentation / zerotal / auth / OAuthStateMismatchError

Class: OAuthStateMismatchError

Defined in: packages/auth/src/social/errors.ts:20

Thrown when the OAuth callback state is missing or does not match the stored value.

Extends

Constructors

Constructor

new OAuthStateMismatchError(): OAuthStateMismatchError

Defined in: packages/auth/src/social/errors.ts:21

Returns

OAuthStateMismatchError

Overrides

SocialError.constructor

Properties

code

readonly code: string

Defined in: packages/core/src/errors/ZerotalError.ts:18

Inherited from

SocialError.code


status

readonly status: number = 500

Defined in: packages/core/src/errors/ZerotalError.ts:19

Inherited from

SocialError.status


context?

readonly optional context?: Record<string, unknown>

Defined in: packages/core/src/errors/ZerotalError.ts:20

Inherited from

SocialError.context