tngan / samlify

Node.js library for SAML SSO
https://samlify.js.org
MIT License
601 stars 214 forks source link

Allow overriding `@xmldom/xmldom` parser options to control error handling when parsing xml #534

Closed bsShoham closed 5 months ago

bsShoham commented 5 months ago

Currently, when invalid xml is parsed in samlify XML parser (@xmldom/xmldom), the error handling is the default of the package (console output of the warning / error message, or error thrown in case of fatal error). I would like to control that behavior (to the extent @xmldom/xmldom allows atleast), to control thrown errors and extra logs from console