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

passport-saml-encrypted

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-saml-encrypted - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

10

lib/saml.js

@@ -308,2 +308,7 @@ var zlib = require('zlib');

var expires = new Date(self.getElement(assertion, 'Conditions')[0]['$'].NotOnOrAfter);
if (expires < Date.now()) {
return callback(new Error('Expired SAML assertion'), null, false);
}
profile = {};

@@ -315,2 +320,7 @@ var issuer = self.getElement(assertion, 'Issuer');

var authnStatement = self.getElement(assertion, "AuthnStatement");
if (authnStatement.constructor === Array && authnStatement.length > 0 && authnStatement[0]['$']) {
profile._authnStatement = authnStatement[0]['$'];
}
var subject = self.getElement(assertion, 'Subject');

@@ -317,0 +327,0 @@ if (subject) {

2

package.json
{
"name": "passport-saml-encrypted",
"version": "0.1.1",
"version": "0.1.2",
"description": "A Passport strategy for handling encrypted SAML authentication responses",

@@ -5,0 +5,0 @@ "main": "index.js",

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