How to turn on less secure app access on google?
Asked Answered
W

3

24

There is no option for turn on less secure app access

Less secure app access

learn more

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

Whinny answered 15/8, 2022 at 18:36 Comment(1)
TLDR: login with your phone and enable 2FA, then generate an "app password".Bouncer
G
38

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

  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

Grady answered 15/8, 2022 at 18:45 Comment(4)
This is an excellent guide to set up 2fa: towardsdatascience.com/…Gunnar
1st option worked for me!Latrena
Very helpful - link was super useful tooCarmel
Thank you, I was able to finally access my Gmail account through an email app that was just refusing to connect prior to following your first optionDisplume
N
27

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.

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.

enter image description here

Nl answered 12/1, 2023 at 12:49 Comment(1)
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.Bouncer
P
1

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....

TL;DR: NO SPACES

Pie answered 28/9, 2023 at 19:16 Comment(2)
Are you sure? I'm using it with the spaces, and it works.Bouncer
@DouglasSilva same here. I left the spaces and it workedWelty

© 2022 - 2025 — McMap. All rights reserved.