Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

saml2-js

Package Overview
Dependencies
Maintainers
5
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saml2-js - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

11

lib-js/saml2.js

@@ -704,10 +704,8 @@ // Generated by CoffeeScript 1.7.1

}
uri = url.parse(identity_provider.sso_login_url);
uri = url.parse(identity_provider.sso_login_url, true);
delete uri.search;
if (options.sign_get_request) {
uri.query = sign_request(deflated.toString('base64'), _this.private_key, options.relay_state);
_(uri.query).extend(sign_request(deflated.toString('base64'), _this.private_key, options.relay_state));
} else {
uri.query = {
SAMLRequest: deflated.toString('base64')
};
uri.query.SAMLRequest = deflated.toString('base64');
if (options.relay_state != null) {

@@ -743,3 +741,3 @@ uri.query.RelayState = options.relay_state;

ServiceProvider.prototype._assert = function(identity_provider, options, cb) {
var decrypted_assertion, response, saml_response, _ref, _ref1;
var response, saml_response, _ref, _ref1;
if (!((((_ref = options.request_body) != null ? _ref.SAMLResponse : void 0) != null) || (((_ref1 = options.request_body) != null ? _ref1.SAMLRequest : void 0) != null))) {

@@ -749,3 +747,2 @@ return setImmediate(cb, new Error("Request body does not contain SAMLResponse or SAMLRequest."));

saml_response = null;
decrypted_assertion = null;
response = {};

@@ -752,0 +749,0 @@ return async.waterfall([

{
"name": "saml2-js",
"version": "1.8.0",
"version": "1.8.1",
"description": "SAML 2.0 node helpers",

@@ -5,0 +5,0 @@ "author": "Clever",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc