Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Allign with PR change generated from the originating upstream project #3

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/passport-wsfed-saml2/samlp.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Samlp.prototype = {
try {
sig.computeSignature(SAMLRequest, { location: { reference: "//*[local-name(.)='Issuer']", action: 'after' } }); // Signature element must be located after Issuer
} catch (e) {
return callback(new Error(e));
return callback(new Error('fail to compute signature'));
}

SAMLRequest = trimXml(sig.getSignedXml());
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "passport-wsfed-saml2",
"version": "4.1.0",
"version": "4.2.0",
"description": "SAML2 Protocol and WS-Fed library",
"scripts": {
"test": "mocha --reporter spec --recursive"
Expand Down Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"chai": "2.x.x",
"chai-passport-strategy": "1.x.x",
"cheerio": "~0.19.0",
"cheerio": "^0.22.0",
"express": "~3.11.0",
"mocha": "~1.8.1",
"passport": "^0.3.2",
Expand All @@ -47,7 +47,7 @@
"wsfed": "~0.3.5"
},
"engines": {
"node": ">= 0.6.0"
"node": ">= 10"
},
"licenses": [
{
Expand Down