3

Any one could you please assist me that how to create the Lambda function for "Sign In using Cognito".

Is that possible in server side OR only possible in client side?

I have searched in the below link, But we don't know which one Should I use it for SignIn.

http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html

Thanks in Advance.

2
  • It's not clear to me what you're trying to do here. Is this helpful: docs.aws.amazon.com/cognito/latest/developerguide/… Commented Dec 10, 2016 at 16:42
  • I can't tell if you're 1) trying to lo get Cognito to use your Lambda function to tell if somebody should be authenticated or 2) trying to authenticate a given username & password in a Lambda function using Cognito. #1 is not possible, #2 is easy. Commented Aug 29, 2017 at 14:34

1 Answer 1

2

It should be possible by using the node version of the Cognito Javascript SDK.

https://www.npmjs.com/package/amazon-cognito-identity-js-node

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.