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

passport-cognito

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-cognito - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

8

lib/strategy.js

@@ -182,3 +182,9 @@ // Load modules.

var obj = attr.getName();
user[obj.Name] = obj.Value;
if(typeof(obj.Name) == "string"){
user[obj.Name] = obj.Value;
} else {
// when using passport-cognito with 'amazon-cognito-identity-js'
// an error occurs, this is a quick fix for this
user[attr.getName()] = attr.getValue();
}
})

@@ -185,0 +191,0 @@ callback(user);

2

package.json
{
"name": "passport-cognito",
"version": "0.1.7",
"version": "0.1.8",
"description": "Express passport module for Cognito User Pools",

@@ -5,0 +5,0 @@ "main": "./lib/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