Great Topic. What if user types his email incorrectly. In this situation user will not be able to verify his email again. How we can handle this scenario.
Well if they cannot verify it, they’ll need to change the email again right?
Yes, That is true.
I was thinking of the worst case scenario if they leave the authenticated session at that moment and once the session expires they will never be able to come back to the app as their email would have been updated in the Cognito.
There isn’t much we can do here outside of asking users to enter their email in again to confirm it.