-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request: multi factor authentication support #40
Comments
Can you try to log in with application specific password instead of your normal password?: |
Hi, I am having the same issue. I replaced my password with my application-specific password and get the following error... I am using Nitrous.io, does this complicate things? GoogleDrive::AuthenticationError in ContactsController#create def update_spreadsheet SOLUTION: Disable two-step verification in Google. Go here: https://www.google.com/settings/security/lesssecureapps Enable "Less secure apps" Run app again. |
The best solution would be to switch to use OAuth: It should work with account with 2-step authentication enabled. Also, anyway login with user name + password will soon be unavailable in coming new version of google-drive-ruby. In your solution, I guess you don't need to disable 2-step authentication, but just enable "less secure apps" and use application-specific password. I haven't verified it, though. |
Thanks a bunch for the message. I will take a close look at OAuth. On Wed, Oct 1, 2014 at 7:43 AM, Hiroshi Ichikawa notifications@github.com
|
Hello.
Now I utilize your product with my biz account, but our company offer me to use multi factor authentication.
I set it, then happened.
Info=InvalidSecondFactor
from /Users/shunter1112/.rvm/gems/ruby-1.9.3-p194/gems/google_drive-0.3.2/lib/google_drive/session.rb:81:in `login'
thank you for your product, I love it. :)
The text was updated successfully, but these errors were encountered: