Socket
Socket
Sign inDemoInstall

cognito-passport-oauth2

Package Overview
Dependencies
43
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

9

congnitoStrategy.js

@@ -40,10 +40,3 @@ const util = require('util');

const profile = {};
for (let index = userData.UserAttributes.length; index--;) {
let attribute = userData.UserAttributes[index];
profile[attribute.Name] = attribute.Value;
}
done(null, profile);
done(null, userData);
});

@@ -50,0 +43,0 @@ }

2

package.json
{
"name": "cognito-passport-oauth2",
"version": "1.0.2",
"version": "1.0.3",
"description": "A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile and access token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc