-
Notifications
You must be signed in to change notification settings - Fork 223
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
AuthenticationError (BadAuthentication) in production environment with youtube new accounts #208
Comments
I'm getting Whenever I try to upload a video, I get common: &common
dev_key: "my-developer-key"
username: "[email protected]"
password: "my-gmail-password" Or is it something else? |
I found what was the problem. I have two-step authentication enabled on my google account, so the API client did not work with my regular password. I had to generate an app-specific password for it. |
@gnapse did the api client work in dev with localhost:3000 even thought you had the two-step authentication? I'm not sure about this, but I think that when the app tries to log in from production it's very likely that the server is in a different place than your computer and the sign-in is prevented by google. |
I don't know about production. I was using my own credentials just to test the app, on a development environment on localhost:3000. Probably on production it wouldn't work the same, but I never intended to use my own account with two-step auth in production. |
In my dev environment with
localhost:3000
my new google plus username and password does works fine. I'm getting these data from google page settings:If you are using this new google plus settings, you must set up a new password from this page and use this password and this username in your
youtube_it.yml
file.However when I try upload a video from my production domain I'm getting this error:
Thanks
The text was updated successfully, but these errors were encountered: