Interface OAuthErrorFields

These are the fields that can occur in an OAuth error response as described in RFC 6749, §

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;


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