amazon-archives / amazon-cognito-auth-js

The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Apache License 2.0
424 stars 232 forks source link

CustomMessage_UpdateUserAttribute #129

Closed Jasminou closed 6 years ago

Jasminou commented 6 years ago

Hi,

I'm trying to update email of the user using Update user attribute, using the custom message lambda https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html to verify the email of the user, however, I don't want to revive a confirmation code by email, can I confirm this new email automatically by using another lambda, if yes, which one? I'm already using a lambda for pre-signup to confirm user without sending code verification by email.

thx