Skip to main content

OAuthErrorCode

Error codes for OAuth integration failures.

enum OAuthErrorCode {
AUTH_FAILED
INVALID_CONFIG
INVALID_CALLBACK
NETWORK_ERROR
STATE_MISMATCH
CODE_EXPIRED
UNSUPPORTED_INTEGRATION
INTERNAL_ERROR
USER_NOT_FOUND
TOKEN_EXCHANGE_FAILED
INSUFFICIENT_SCOPES
}

Values

OAuthErrorCode.AUTH_FAILED

Authentication failed.

OAuthErrorCode.INVALID_CONFIG

Invalid configuration.

OAuthErrorCode.INVALID_CALLBACK

Invalid callback.

OAuthErrorCode.NETWORK_ERROR

Network error occurred.

OAuthErrorCode.STATE_MISMATCH

OAuth state mismatch.

OAuthErrorCode.CODE_EXPIRED

OAuth code expired.

OAuthErrorCode.UNSUPPORTED_INTEGRATION

Integration not supported.

OAuthErrorCode.INTERNAL_ERROR

Internal error.

OAuthErrorCode.USER_NOT_FOUND

User not found.

OAuthErrorCode.TOKEN_EXCHANGE_FAILED

Token exchange failed.

OAuthErrorCode.INSUFFICIENT_SCOPES

Insufficient OAuth scopes granted.