I am trying to utilize the google_drive gem in a Rails app and am getting the following error:
"Authentication failed for [my_email_address]#gmail.com: Response code 403 for post https://www.google.com/accounts/ClientLogin: Error=BadAuthentication Info=InvalidSecondFactor"
Google is preventing access (I keep getting security warnings via email from Google: "Google Account: sign-in attempt blocked"), and am looking for a way to get around this error.
Someone suggested I enabled two-step verification in my gmail account to ultimately retrieve an "application-specific password." I entered the application-specific password in place of my normal gmail password but Google, I believe, is still denying my application access to my gmail account.
Any idea how to get around this?
Solution...
Disable two-step verification.
Go here: https://www.google.com/settings/security/lesssecureapps
Enable "Less secure apps"
Run app again with usual password.
Related
I want to account for linking google action to my web app. followed the OAuth Client Information. I have implemented
Set Up an OAuth2 Server Using Passport in Laravel( tutorial link).Where I did authentication. finally, I find my application at my home mobile app but when goes to click on MY created app it gives me account linked and after that an error "something went wrong and close" but when I open my
it gives me an error
Accounts failed to link. Please close your browser and try again
The documentation at Add authentication to your project indicates that you need to use the Authorization Code auth type instead of the Implicit flow.
Good afternoon,
when connecting to a computer using login.teamviewer.com (management console)
I get the message:
enter image description here
login.teamviewer.com (managment console)
message authentication: 'negotiate'
requires login and password connect
What is it? What do I do to connect?
You can have a teamviewer account and attach computers to that account. on login.teamviewer.com yo have to login with your account, then, you're going to be able to see the computers attached to your account and manage them
my mailer can't work because of this error. I can't understannd why. I use G-suite for my email.
Thanks very much for your help !
I had the same problem, recently Google really blocked the access to less secure apps.
But, you could resolve it turning on the 2 steps verification log in, and then the option app password should be allowed. this feature was created to applications that cant' make the 2 steps verification. Google will register a diferent password to be only accessed from this app.
https://www.google.com/settings/security
https://support.google.com/accounts/answer/185833?hl=pt-BR
Reason: Google was blocking access from unknown location (app in production)
Solution: go to following link and turn on https://www.google.com/settings/security/lesssecureapps
Ruby gem works great for us for Gmail and Yahoo. When accessing via Outlook and their new API we are getting the error below.
NOTE: This happens after we successfully receive the params[:code] and are trying to get the token. Any ideas?
{
"error":"invalid_request",
"error_description":"AADSTS90019: No tenant-identifying information found in either the request or implied by any provided credentials.\r\nTrace ID: 791c90ec-0f53-46c8-b15d-a3fe9f07bf18\r\nCorrelation ID: e7e0d207-2c99-4f88-bb6b-2ea62ec19e1d\r\nTimestamp: 2016-05-17 17:07:43Z",
"error_codes":[
90019
],
"timestamp":"2016-05-17 17:07:43Z",
"trace_id":"791c90ec-0f53-46c8-b15d-a3fe9f07bf18",
"correlation_id":"e7e0d207-2c99-4f88-bb6b-2ea62ec19e1d"
}
Solution: Need to use an account that is #outlook.com to generate your credentials.
You can't use a personal or work email address... turns out it must be an actual #outlook.com account.
I want to get PayPal reports and for this reason I installed paypal-report gem.
Can someone look are my credentials are correct or for Reporting API usage I need some special account ?
I have verified bussiness account.
Here is my code:
require 'paypal/report'
api = Paypal::Report.new("my secure account MerchantID", "mypassword", "my secure account MerchantID", "PayPalUK")
puts api.daily.inspect
I also tried to enter my email instead of MerchanID, but it didn't work.
and this gives me error:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/paypal-report-0.1.2/lib/paypal/report.rb:141
:in `block in request': Invalid merchant account (RuntimeError)
I tried to inspect api value, by using puts api and here is result:
puts api
//and result:
#<Paypal::Report:0x27a4310>
Can someone help me ?
Seeing 'PayPalUK' in there, I've got a suspicion the gem you're using is for PayPal Payflow services (and when it comes to reporting, that would be XML Reporting).
Seeing as you mention having a regular 'verified business account', I don't think you'd have access to Payflow API calls. Thus, no correct credentials to enter there.
What PayPal API call are you trying to use? Is it TransactionSearch you're looking for?
If so, try the ruby-paypal gem.
(Note, I haven't tested it, but it's the first one a quick Google search for "PayPal TransactionSearch gem" returned.)