Comparing version 1.4.4 to 1.5.0
@@ -566,3 +566,3 @@ // Generated by CoffeeScript 1.7.1 | ||
}, function(result, cb_wf) { | ||
var assertion, cert, sd, signed_data, signed_dom, _i, _j, _len, _len1, _ref; | ||
var assertion, cert, saml_response_str, sd, signed_data, signed_dom, _i, _j, _len, _len1, _ref; | ||
debug(result); | ||
@@ -572,6 +572,7 @@ if (ignore_signature) { | ||
} | ||
saml_response_str = saml_response.toString(); | ||
_ref = idp_certificates || []; | ||
for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
cert = _ref[_i]; | ||
signed_data = check_saml_signature(result, cert); | ||
signed_data = check_saml_signature(result, cert) || check_saml_signature(saml_response_str, cert); | ||
if (!signed_data) { | ||
@@ -578,0 +579,0 @@ continue; |
{ | ||
"name": "saml2-js", | ||
"version": "1.4.4", | ||
"version": "1.5.0", | ||
"description": "SAML 2.0 node helpers", | ||
@@ -5,0 +5,0 @@ "author": "Clever", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
134462
29
802