How to get Google refresh_token on multiple devices -


i creating node based authentication server google apps can use access tokens google data apis.

i basing off server side flow described here: https://developers.google.com/youtube/v3/guides/auth/server-side-web-apps

i @ point trying implement refresh token logic when token expires. need refresh_token. refresh token no problem - first time access service subsequent times not.

i plan keep these tokens in local storage on browser it's not problem - until access same service on mobile or additional device.

how refresh token on second or third device?

surely don't have revoke tokens , sign in again each time want switch new device?

thanks


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -