Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do Cognito authentication in lambda function?

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.

like image 944
senthilkumar s Avatar asked Dec 13 '25 14:12

senthilkumar s


1 Answers

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

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

like image 57
Ionut Trestian Avatar answered Dec 15 '25 12:12

Ionut Trestian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!