cognito-passport-oauth2
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -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 @@ } |
{ | ||
"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", |
6355
40