jira.js
    Preparing search index...

    Interface OAuthErrorOptions

    interface OAuthErrorOptions {
        body?: unknown;
        cause?: unknown;
        error?: string;
        errorDescription?: string;
        reauthorizationRequired?: boolean;
        status?: number;
    }
    Index
    body?: unknown

    The auth server's response body, parsed when it was JSON.

    cause?: unknown
    error?: string

    The OAuth 2.0 error code, e.g. invalid_grant.

    errorDescription?: string

    The auth server's human-readable explanation.

    reauthorizationRequired?: boolean

    Whether the grant is unrecoverable and the user has to authorize again.

    Set explicitly where the code alone cannot say. Atlassian answers access_denied both when the user declines the consent screen — re-authorizing is exactly right — and when the client secret is wrong, where re-authorizing would loop the user forever over what is really a deployment mistake.

    status?: number

    HTTP status, when the failure came from Atlassian's auth endpoints rather than from your configuration.