I want to store my users after they sign up in a mongodb database. I am using aws cognito. I found that you can create a lamda function that can run after "post confirmation". can anyone tell me how can I do that? from what I understand:
- I can create a api endpoint(node js) that saves users in mongodb.
- this endpoint will send the user data using aws lamda after "post confirmation".
I am looking for solutions.
Your Lambda function will look like
See: See: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-confirmation.html