Interface OAuthErrorFields

These are the fields that can occur in an OAuth error response as described in RFC 6749, §4.1.2.1. https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1

This interface is identical to the ErrorOut interface of the oidc-provider library, but having our own version reduces the part of the codebase that is dependent on that library.

interface OAuthErrorFields {
    error: string;
    error_description?: string;
    scope?: string;
    state?: string;
}

Properties

error: string
error_description?: string
scope?: string
state?: string