Using 2-step verification

Google · 4.4M views · 2011 · 3:28

Open on YouTube

Security & hackingWeb developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when a Gmail login fails in their own code because 2-step verification is on, and they need to see how to generate an application-specific password.

Recommended by 3 people across 3 different months, 2011 to 2014.

What it is

A short official Google video explaining how to turn on 2-step verification for a Google Account, including how application-specific passwords work for apps that cannot handle the second step. It is a simple walkthrough aimed at ordinary account holders.

What people said

Recommends Friek · 2011-12 · Stack Overflow · on “Sending email through java in gmail account having two way authentication”

By creating an application specific password at [LINK] . Also check out this youtube video [this video] on application specific passwords.

Recommends Álvaro González · 2013-02 · Stack Overflow · on “Swiftmailer Erroring Out”

This: Failed to authenticate on SMTP server with username "...." using 2 possible authenticators ... means exactly what it says. Gmail did not accept your username and password, either because they are wrong or because you failed to provide some required parameter. Host name, port and encryption are correct according to other questions at Stack Overflow [LINK] and my own tests. So probably issues include: You provided an incorrect user name. You provided an incorrect password. If you've enabled two-way authentication [LINK] , you need to generate an application specific password. This video [this video] explains how. Once you fix this, you'll probably get the following exception: Uncaught excepti

Recommends jatazoulja · 2013-08 · Stack Overflow · on “How do you use authentication with gmail for a PHP contact form?”

I think using gmail; google change there authentication methods, I was able to successfully authenticate following this step first: Video link [this video] this is for the 2 step process to allow external application you will need to generate an application password. then use that password for your PHP application.

Cites Johann · 2013-02 · Stack Overflow · on “Send e-mail in Android without user interacton”

After some more digging around, I think there is a solution. Google has now added support for Gmail authentication using OAuth 2.0 which avoids the need to access the user's username and password. Since my app will require the user to have a Gmail account, this might be the solution. Of course this won't work for any other e-mail provider that doesn't support OAuth but since Google is concerned about protecting username/passwords, this approach seems to be right. Need to look into how to use OAuth from within my app, but theoretically it should be possible. Once a user grants permission to a Google service, the app receives a token that is used for the lifetime that the permission remains. T

Cites noseratio · 2014-01 · Stack Overflow · on “Google Webmaster Tool API in c#”

Here you can find the official C# library source code for Webmaster Tools Data API [LINK] : [LINK] And here you can find examples of usage in the form of unit tests: [LINK] More specifically, examples of authentication, QuerySites, QuerySitemaps, QueryKeywords, etc.: [LINK] Note also there are some bug reports, your mileage may vary: [LINK] If you're still getting 403 Forbidden , the reason behind this might be the 2-Step Verification installed on your Google account. If that's the case, try generating a dedicated password in the Application-specific passwords [this video] section of your Google account, and use it with GDataCredentials(this.userName, this.passWord) . Alternatively, you may try a