title: Not getting refresh token in YouTube OAuth
body: <p>I am doing server side OAuth following <a href="https://developers.google.com/youtube/v3/guides/auth/server-side-web-apps" rel="nofollow noreferrer">this</a> guide.</p>
  <p>I successfully completed the OAuth, but am not getting a <code>refresh_token</code> in the step <em>Exchange authorization code for refresh and access tokens</em>:</p>
  <p><strong>Request:</strong></p>
  <pre><code>POST /o/oauth2/token HTTP/1.1
  HOST: accounts.google.com
  content-type: application/x-www-form-urlencoded
  content-length: 260
  
  code=4/KEOuzih9jwfnHj7Rl1DeqHhcJF0goKPwtwR5IQ09ieg&amp;
  client_id=****.apps.googleusercontent.com&amp;
  client_secret=****&amp;
  redirect_uri=http%3A%2F%2Flocalhost%3A8000%2FsSignIn.html&amp;
  grant_type=authorization_code
  </code></pre>
  <p><strong>Response:</strong></p>
  <pre><code>{
    &quot;access_token&quot; : &quot;****&quot;,
    &quot;expires_in&quot; : 3580,
    &quot;token_type&quot; : &quot;Bearer&quot;
  }
  </code></pre>
  <p>Am I missing something?</p>