Skip to content

OAuth2Error

Defined in: src/oauth/error.ts:21

Errors expected to be encountered during OAuth2 discovery, client registration, and authentication. Not intended to be displayed directly to the user.

CodeExchangeFailed: "Failed to exchange code for token"

Defined in: src/oauth/error.ts:27


DeviceAuthorizationGrantFailed: "Failed to perform device authorization grant"

Defined in: src/oauth/error.ts:33


DynamicRegistrationFailed: "Dynamic registration failed"

Defined in: src/oauth/error.ts:25


DynamicRegistrationInvalid: "Dynamic registration invalid response"

Defined in: src/oauth/error.ts:26


DynamicRegistrationNotSupported: "Dynamic registration not supported"

Defined in: src/oauth/error.ts:24


General: "Something went wrong with OAuth2 discovery"

Defined in: src/oauth/error.ts:22


InvalidBearerTokenResponse: "Invalid bearer token response"

Defined in: src/oauth/error.ts:28


InvalidDeviceAuthorizationResponse: "Invalid device authorization response"

Defined in: src/oauth/error.ts:29


MissingOrInvalidStoredState: "State required to finish logging in is not found in storage."

Defined in: src/oauth/error.ts:30


OpSupport: "Configured OAuth2 OP does not support required functions"

Defined in: src/oauth/error.ts:23


RefreshTokenFailed: "Failed to refresh token"

Defined in: src/oauth/error.ts:31


RevokeTokenFailed: "Failed to revoke token"

Defined in: src/oauth/error.ts:32