title: YouTube API | Javascript- Upload video to a constant channel bypassing login.
body: <p>I'm building a web application that allows a specific user to upload videos to a YouTube account through the use of the YouTube API. The uploading of videos will be done by only one person &amp; videos will be uploaded only to one account. If the YouTube account is already authorized by the app to manage the channel etc, how can I setup the application in such a way that the user bypasses the authentication/login screen every time he/she needs to upload a video? (That is when the user exits and re-enters application.)</p>
  
  <p>While reading, a solution I stumbled upon a solution which was to use a refresh token but I don't know how to integrate it with the code I have currently. The code I'm using is the one available on the Google Developers site, link below.</p>
  
  <p><a href="https://developers.google.com/youtube/v3/code_samples/javascript#upload-a-video" rel="nofollow noreferrer">https://developers.google.com/youtube/v3/code_samples/javascript#upload-a-video</a></p>
  
  <p>Please note that I've gone through &amp; read all similar questions on this forum but none provides Javascript help/solution.</p>