title: Make authenticated requests to YouTube from iOS always with same user
body: <p>Recently, YouTube decided to make video tags unavailable publicly. So to get the tags for a given video, I need to make an authenticated request to the API as the owner of the video. This is not a problem in my case as I'm fetching my own videos.</p>
  
  <p>However, I'm confused about the authentication flow since YouTube strongly recommends to use OAuth2. Since I'm always going to authenticate as the same user (the owner of the video, aka myself), I definitely don't need to have any browser page for the actual user of the app to do anything. I see how I could have done it using ClientLogin (hardcoding login and password into the app) but I'm not sure how to approach this using OAuth2.</p>
  
  <p>One last detail - that is not necessarily relevant since a high-level answer would be enough - is that I'm developing on iOS. Also I looked at this <a href="https://developers.google.com/accounts/docs/OAuth2" rel="nofollow">https://developers.google.com/accounts/docs/OAuth2</a> and particularly the web server case which seems closest to mine but was not able to get a clear idea from it.</p>
  
  <p>Thanks in advance for your help and don't hesitate if you need me to be more specific.</p>