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
In a MultiStrategy, getSamlOptions may not find a suitable entrypoint to pass to the saml client
so we end up with entryPoint = undefined. This causes the NodeJS process to crash since these lines here: https://github.com/bergie/passport-saml/blob/master/lib/passport-saml/saml.js#L307
contain an uncheck call to url.parse which throws since entryPoint is not defined. As we are in a callback there's no way to catch the exception and the process exits. I guess the whole method should be wrapped in a try / catch block (not that this may be used as a DoS against the service provider)
The text was updated successfully, but these errors were encountered:
In a MultiStrategy,
getSamlOptions
may not find a suitable entrypoint to pass to the saml clientso we end up with entryPoint = undefined. This causes the NodeJS process to crash since these lines here: https://github.com/bergie/passport-saml/blob/master/lib/passport-saml/saml.js#L307
contain an uncheck call to
url.parse
which throws since entryPoint is not defined. As we are in a callback there's no way to catch the exception and the process exits. I guess the whole method should be wrapped in a try / catch block (not that this may be used as a DoS against the service provider)The text was updated successfully, but these errors were encountered: