How to get Google refresh_token on multiple devices
<p>I am creating a node based authentication server for Google that my apps can use to get access tokens for google data apis.</p>

<p>I am basing this off the server side flow as described here: <a href="https://developers.google.com/youtube/v3/guides/auth/server-side-web-apps" rel="nofollow noreferrer">https://developers.google.com/youtube/v3/guides/auth/server-side-web-apps</a></p>

<p>I am at the point where I am trying to implement the refresh token logic for when a token expires. For this I obviously need the <code>refresh_token</code>. I get the refresh token no problem - the first time that I access the service but subsequent times I do not.</p>

<p>I plan to keep these tokens in local storage on the browser so it's generally not a problem - until I access the same service on my mobile or any additional device.</p>

<p>How do I get a refresh token on a second or third device?</p>

<p>Surely I don't have to revoke the tokens and sign in again each time I want to switch to a new device?</p>

<p>Thanks</p>