0% found this document useful (0 votes)
32 views5 pages

security - How to turn on less secure app access on google_ - Stack Overflow

Google has removed the option for less secure app access as of May 30, 2022. Users are advised to enable two-factor authentication (2FA) and create an app password for accessing Google services. Alternatively, switching to OAuth2 is recommended for compatibility with various programming libraries.

Uploaded by

xefohac482
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views5 pages

security - How to turn on less secure app access on google_ - Stack Overflow

Google has removed the option for less secure app access as of May 30, 2022. Users are advised to enable two-factor authentication (2FA) and create an app password for accessing Google services. Alternatively, switching to OAuth2 is recommended for compatibility with various programming libraries.

Uploaded by

xefohac482
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

4/29/24, 10:03 PM security - How to turn on less secure app access on google?

- Stack Overflow

How to turn on less secure app access on google?


Asked 1 year, 8 months ago Modified 3 months ago Viewed 62k times

There is no option for turn on less secure app access

19

https://stackoverflow .com/questions/73365098/how -to-turn-on-less-secure-app-access-on-google 1/5


4/29/24, 10:03 PM security - How to turn on less secure app access on google? - Stack Overflow

Is there any another way to turn on less secure app access???

security gmail-api google-account

Share Improve this question Follow asked Aug 15, 2022 at 18:36
Sandip Gadade
319 2 3 7

TLDR: login with your phone and enable 2FA, then generate an "app password". – Douglas Silva Dec 26, 2023 at 20:06

3 Answers Sorted by: Highest score (default)

https://stackoverflow .com/questions/73365098/how -to-turn-on-less-secure-app-access-on-google 2/5


4/29/24, 10:03 PM security - How to turn on less secure app access on google? - Stack Overflow

As of May 30 2022 google has removed the less secure apps option. There is no way to turn this on as it no longer exists.

If you are trying to use Google smtp server you have two options
33
1. Enable 2fa on your google account and create an apps password and use that in place of your true password in your code.

2. switch to using Xoauth2 most of the libraries support it. it will depend upon the language you are using though.

Quick fix for SMTP username and password not accepted error

Share Improve this answer Follow edited Sep 20, 2022 at 13:46 answered Aug 15, 2022 at 18:45
Linda Lawton - DaImTo
113k 34 200 478

1 This is an excellent guide to set up 2fa: towardsdatascience.com/… – Jens Wagemaker Dec 17, 2022 at 16:17

2 1st option worked for me! – Athif Saheer Jul 4, 2023 at 17:41

Very helpful - link was super useful too – e-driver1 Jan 1 at 13:47

Note: 2-factor authentication needs to be enabled if not enabled already.

Less secure apps ( https://myaccount.google.com/u/0/lesssecureapps) options is disabled.


22
Instead use apppasswords using following link.
https://myaccount.google.com/u/0/apppasswords

Use 16 digit code provided by google instead of password and that should be it.

https://stackoverflow .com/questions/73365098/how -to-turn-on-less-secure-app-access-on-google 3/5


4/29/24, 10:03 PM security - How to turn on less secure app access on google? - Stack Overflow

Share Improve this answer Follow edited Jan 12, 2023 at 13:10 answered Jan 12, 2023 at 12:49
Vaibhav Jain
2,149 27 38

The App Passwords section can also be found by navigating to Security, then 2FA in the block named "How you login", then scroll to the bottom of the page.
– Douglas Silva Dec 26, 2023 at 20:52

https://stackoverflow .com/questions/73365098/how -to-turn-on-less-secure-app-access-on-google 4/5


4/29/24, 10:03 PM security - How to turn on less secure app access on google? - Stack Overflow

Note that the spaces in the password should not be there. Sometimes a copy/paste leaves them in there. I'm perplexed at why google would do
this since password "readability" is a thing that hasn't been a thing in years. It should be copy-paste at a minimum....
1
TL;DR: NO SPACES

Share Improve this answer Follow answered Sep 28, 2023 at 19:16
jshep321
jshep3 613 7 8

1 Are you sure? I'm using it with the spaces, and it works. – Douglas Silva Dec 26, 2023 at 20:43

@DouglasSilva same here. I left the spaces and it worked – Dustin Spengler Apr 7 at 23:06

https://stackoverflow .com/questions/73365098/how -to-turn-on-less-secure-app-access-on-google 5/5

You might also like