- Using Amazon Cognito Identity Client Side Library in Lambda (Node)
- Yes, you can do this, https://github.com/aws/amazon-cognito-identity-js
- Use this for Login and Signup
- Trigger Details and Examples http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html
Note: You can use Pre SignUp Triggers to auto confirm users
-
Accessing the user from Lambda with JWT http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html#getUser-property
-
Useful with AWS SDK http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html#adminDeleteUser-property