A confirmation link closes the loop on registration by sending a verification URL to the email address supplied by a new user. This is especially useful when the email address serves as the account’s unique identifier. section 9.2
A practical confirmation flow combines several application responsibilities:
- Store a confirmed Boolean field on the user, initially set to False. section 9.2.1
- Build an external confirmation URL and include it in an HTML email. section 9.2.1
MyBlog registration
After a user registers with MyBlog, the application creates a confirmation token, generates a URL for the confirmation endpoint, and sends an email through SendInBlue. Opening the URL confirms the account only when the token is valid, unexpired, and associated with that user. section 9.2 section 9.2.1
