kndt84 / passport-cognito

Passport strategy for AWS Cognito User Pools
https://www.npmjs.com/package/passport-cognito
MIT License
78 stars 30 forks source link

Comment outdated #39

Open XenorPLxx opened 4 years ago

XenorPLxx commented 4 years ago

Comment in code states: https://github.com/kndt84/passport-cognito/blob/79b1fdf81ff29a8231a8e06663a4eb18059f86a9/lib/strategy.js#L33

The documentation states that correct parameters are accessToken, idToken, refreshToken, user, cb.