You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors that take place in the middleware does not get put into the express middleware chain. Currently the middleware will simply call res.send to send the notice to the end user.
Reproduction
Just example code without req.user property will cause plaintext "Unauthorized" to be sent to the browser.
Environment
Version of this library used: 3.4.1
The text was updated successfully, but these errors were encountered:
zxlin
added a commit
to zxlin/node-samlp
that referenced
this issue
Dec 19, 2019
Description
Errors that take place in the middleware does not get put into the express middleware chain. Currently the middleware will simply call
res.send
to send the notice to the end user.Reproduction
Just example code without
req.user
property will cause plaintext "Unauthorized" to be sent to the browser.Environment
The text was updated successfully, but these errors were encountered: