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.5.0 to 1.5.1

14

lib-js/saml2.js

@@ -760,17 +760,21 @@ // Generated by CoffeeScript 1.7.1

return function(err, deflated) {
var uri;
var query, uri;
if (err != null) {
return cb(err);
}
uri = url.parse(identity_provider.sso_logout_url);
uri = url.parse(identity_provider.sso_logout_url, true);
query = null;
if (options.sign_get_request) {
uri.query = sign_request(deflated.toString('base64'), _this.private_key, options.relay_state);
query = sign_request(deflated.toString('base64'), _this.private_key, options.relay_state);
} else {
uri.query = {
query = {
SAMLRequest: deflated.toString('base64')
};
if (options.relay_state != null) {
uri.query.RelayState = options.relay_state;
query.RelayState = options.relay_state;
}
}
uri.query = _.extend(query, uri.query);
uri.search = null;
uri.query = query;
return cb(null, url.format(uri));

@@ -777,0 +781,0 @@ };

{
"name": "saml2-js",
"version": "1.5.0",
"version": "1.5.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