Search code examples
amazon-web-servicesamazon-cognitoaws-amplify

Change AWS-cognito mail verification code from 24 to 48 hours


Am using aws Amplify with Cognito user-pool, It works great but i want to change the default 24 hours expire date of sign-up verification code to 48 hours. I cant find any resource online to help. Any ideas?


Solution

  • Since this question is not answered and after a long search we decided to do work a around.

    • Lambda trigger to re-send new verification code after its expired using admin get user and checking createdAt and email verified attributes. Better than nothing.