Comparing version 1.12.2 to 1.12.3
@@ -706,7 +706,12 @@ // Generated by CoffeeScript 1.12.7 | ||
return function(err, deflated) { | ||
var uri; | ||
var ex, uri; | ||
if (err != null) { | ||
return cb(err); | ||
} | ||
uri = url.parse(identity_provider.sso_login_url, true); | ||
try { | ||
uri = url.parse(identity_provider.sso_login_url, true); | ||
} catch (error) { | ||
ex = error; | ||
return cb(ex); | ||
} | ||
delete uri.search; | ||
@@ -823,7 +828,12 @@ if (options.sign_get_request) { | ||
return function(err, deflated) { | ||
var query, uri; | ||
var ex, query, uri; | ||
if (err != null) { | ||
return cb(err); | ||
} | ||
uri = url.parse(identity_provider.sso_logout_url, true); | ||
try { | ||
uri = url.parse(identity_provider.sso_logout_url, true); | ||
} catch (error) { | ||
ex = error; | ||
return cb(ex); | ||
} | ||
query = null; | ||
@@ -860,7 +870,12 @@ if (options.sign_get_request) { | ||
return function(err, deflated) { | ||
var uri; | ||
var ex, uri; | ||
if (err != null) { | ||
return cb(err); | ||
} | ||
uri = url.parse(identity_provider.sso_logout_url); | ||
try { | ||
uri = url.parse(identity_provider.sso_logout_url); | ||
} catch (error) { | ||
ex = error; | ||
return cb(ex); | ||
} | ||
if (options.sign_get_request) { | ||
@@ -867,0 +882,0 @@ uri.query = sign_request(deflated.toString('base64'), _this.private_key, options.relay_state, true); |
{ | ||
"name": "saml2-js", | ||
"version": "1.12.2", | ||
"version": "1.12.3", | ||
"description": "SAML 2.0 node helpers", | ||
@@ -5,0 +5,0 @@ "author": "Clever", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
160920
880