youtube_it_rails_app_example
youtube_it_rails_app_example copied to clipboard
AuthenticationError in VideosController#upload
I get this error, done everything as it is stated in the page, but in step 2 I get this error, please help me, I really don't know what to do. BadAuthentication
app/models/video.rb:36:in token_form' app/controllers/videos_controller.rb:6:inupload'
Request
Parameters:
{"utf8"=>"✓", "authenticity_token"=>"w+aQ2YG9t5Gg+XIlU/B10VCRJfSuvwCHFuvX2J0lzRY=", "video"=>{"title"=>"", "description"=>""}}
For all people wondering, I think I've solved the problem. By the way I am new to Ruby and Ruby on Rails, this is my first web app. These are the steps to solve the problem : First : Configure your google account with the 2-step verification. Second : Create an "App password", and use this password along with your normal username and dev_key in the youtube_it.yml file. Third : It should be working right now, but in case it doesn't you haven't configure your youtube account. Just create a channel in your youtube account. That's it, now it works !!! Hopefully this will help other people.
Same problem, help pls.
About "Step two" - what does it mean? Where I can create "App password"?
Look at these links :
https://support.google.com/accounts/answer/185833 https://support.google.com/mail/answer/1173270?hl=en
From there it should be easy for you to create an App password :)
Fine, thanks! That was really root of the problem.