google oauth - YouTube API - avoid authentication screen in browser -


i have youtube class uploads video on youtube using oauth authentication. when tested on local workspace, worked fine opened browser asking if access youtube channel permitted.

now, class should work on server. there no browser can open , that's problem. works point.

does have idea how redirekt/avoid or else browser window?

thanks lot help! best wishes.

if want submit video on behalf of user, user has authenticate , authorize application somewhere. (if using v3 api)

there flows work server-side application, though:

https://developers.google.com/youtube/v3/guides/moving_to_oauth#using-oauth-20-for-server-side-standalone-scripts

https://developers.google.com/youtube/v3/guides/auth/server-side-web-apps#obtaining_access_tokens


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -