Using a Google App Password to Send Emails in Development with Flask

Опубликовано: 07 Октябрь 2024
на канале: Nick Janetakis
13,758
165

This replaces enabling less secure apps with 2FA + an app password. We'll do everything together.


Hit the subscribe button to receive more videos like this!


REFERENCE LINKS
---------------------------------------------------
► https://buildasaasappwithflask.com
► https://support.google.com/accounts/a...
► https://myaccount.google.com/lesssecu...
► https://nickjanetakis.com/blog/managi...
► https://voice.google.com/


COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.


► https://nickjanetakis.com/courses/


THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-to...


FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter:   / nickjanetakis  
► GitHub: https://github.com/nickjj


TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:17 -- Less secure apps were convenient before 2FA and app passwords
1:00 -- We'll cover enabling 2FA, creating an app password and then using it
2:15 -- Enabling 2FA using a Google Voice number and text message
7:09 -- Creating an application password
12:22 -- Using the app password in the Flask app and seeing if I can send an email
14:09 -- Troubleshooting why the email wasn't sent
15:46 -- Checking if it works again and it does
16:28 -- Checking when an app password was last used and revoking it