Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 358 Bytes

skip_redirect.md

File metadata and controls

11 lines (8 loc) · 358 Bytes

Render invalid_request errors

  • built for version: ^7.1.0
const { errors } = require('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.