auth0/node-samlp

Uncaught Exception Error in samlp.logout

da201501245 opened this issue · 0 comments

Description

samlp throws an uncaught exception when we send request logout request without parameter (e.g.http://localhost:9000/logout)
TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined
at validateString (internal/validators.js:120:11)
at Url.parse (url.js:159:3)
at Object.urlParse [as parse] (url.js:154:13)
at Object.module.exports.appendQueryString (D:\Projects\myloft-auth-saml-idp\node_modules\samlp\lib\utils.js:177:22)
at send (D:\Projects\myloft-auth-saml-idp\node_modules\samlp\lib\logout.js:315:33)
at DeflateRaw.cb (D:\Projects\myloft-auth-saml-idp\node_modules\samlp\lib\logout.js:354:5)
at DeflateRaw.zlibBufferOnEnd (zlib.js:151:10)
at DeflateRaw.emit (events.js:326:22)
at DeflateRaw.EventEmitter.emit (domain.js:483:12)
at endReadableNT (_stream_readable.js:1241:12) {
code: 'ERR_INVALID_ARG_TYPE'
}

Environment

Please provide the following:

  • samlp: 6.0.1
  • express: 4.17.1
  • Windows:10