After upgrading from 2.2.0 -> 4.0.1, I am getting an error:
Error: Invalid document signature
at SAML.validatePostResponseAsync (/Users/ericwooley/projects/sbx/api/dist/api.bundle.js:83155:23)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
according to https://www.samltool.com/validate_response.php, the saml response is valid.
To Reproduce
- I setup an azure active directory saml app.
- I upgraded the lib to 4.0.1
- I get a saml response that throws the above error.
- Here are all the settings and certs.
EDIT: Removed recreation just in case.
Expected behavior
I switched branches to the version running 2.2.0 and replayed the exact same post request, and everything worked as expeced, with a successful verification.
Environment
- Node.js version: 16.13.1
passport-saml version: 4.0.1
After upgrading from 2.2.0 -> 4.0.1, I am getting an error:
according to https://www.samltool.com/validate_response.php, the saml response is valid.
To Reproduce
Expected behavior
I switched branches to the version running 2.2.0 and replayed the exact same post request, and everything worked as expeced, with a successful verification.
Environment
passport-samlversion: 4.0.1