Open sergeyt opened 3 years ago
Hi @sergeyt,
Thank you fro this PR. Would you please take a few minutes and fill out the PR template with all details about this PR so we can efficiently review it? We would also need a CLA signed by you. Details of this can be found at https://developer.okta.com/cla
Hi @bretterer. Just signed CLA and set few points in PR description.
Internal Ref: OKTA-388994
This basically allows creating curstom error page. Without this callback passport.js middleware sends by default only status code as text/plain response. After the fix it is possible to send custom text/html response.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Reviewers
This change is