- built for version: ^8.0.0
import { errors } from 'oidc-provider';
Object.defineProperty(errors.InvalidRequest.prototype, 'allow_redirect', { value: false });
This will make all invalid_request
errors that would normally redirect back to the
client's redirect_uri (when conditions allow) render instead.