Interface OAuthErrorFields

These are the fields that can occur in an OAuth error response as described in RFC 6749, ยง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.


  • OAuthErrorFields


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