The request
“Create an email verification flowchart: register a user with email, send a verification email, wait for the link or a resend request, validate the token, activate the account when it is valid, and return an error for an invalid or expired token.”
Then tryAdd a welcome email after activation.Add an expiration time to the verification link.
What is in this drawing
Read the decisions behind it.
01
Should the system resend the verification email if the user does not click?
02
Is the token still valid (not expired)?
When building user registration flows requiring email verification.
More like this