Django Allauth (4) – Email Verification via Gmail

This lesson will explain how to set up email verification via Gmail. The approach can change depending on Google's security policy. This approach is valid as of April 2023.
1. Set up a Gmail App password
You need to set up a Gmail App password to send email verification emails via Gmail. Go to your Gmail account in your browser and click on "Manage your Google Account".

Go to 2-Step Verification under the Security section.

If you haven't set it up yet, follow the guidance to set up 2-Step Verification and turn it on.
Subscribe now for
uninterrupted access.