title: The redirect URI piece of oauth2 when using client-side authentication for YouTube API browser-based has extra fields in it
body: <p>I am trying to setup an automatic way to upload videos to YouTube using the YouTube API.  The application needs the videos to be uploaded for some processing by YouTube.  Currently, I am setting up the oauth2.0 piece and I am able to redirect the user to login with their information.  However, when the user is then redirected back to my site with my specified redirect uri, I need to be able to accept custom fields on the end of the URL.  Right now, the web server just redirects the user to the page I want, but strips off all of the information returned by YouTube about authentication.  I do not know much PHP at all, but think that it might be the way to solve this problem.  Essentially, I want to be able to redirect the user to a page on the website where the extra information is retained so that I can use it.  Thanks for your help.</p>
  
  <p><a href="http://ocf.berkeley.edu/~gregory/youtubeTestCode/indexRedirect#access_token=ya29.AHES6ZS8kOZN2T59fKpoUE0t7roUXqTPWDAwTMvrhZ5TjlZO57JZNQ&amp;token_type=Bearer&amp;expires_in=3600" rel="nofollow">http://ocf.berkeley.edu/~gregory/youtubeTestCode/indexRedirect#access_token=ya29.AHES6ZS8kOZN2T59fKpoUE0t7roUXqTPWDAwTMvrhZ5TjlZO57JZNQ&amp;token_type=Bearer&amp;expires_in=3600</a></p>
  
  <p>The format of the redirect is <a href="http://ocf.berkeley.edu/~gregory/youtubeTestCode/indexRedirect" rel="nofollow">http://ocf.berkeley.edu/~gregory/youtubeTestCode/indexRedirect</a> followed by #access_token=ya9232.jdfka7327293&amp;token_type=Bearer&amp;expires_in=3600</p>
  
  <p>However, I have no page with this specific URL..</p>