← Back to index

Google Sign-In for server-side apps

Created: 2015-09-01 13:28  |  Source: https://developers.google.com/identity/sign-in/web/server-side-flow

Google Sign-In for server-side apps
https://developers.google.com/identity/sign-in/web/server-side-flow
To use Google services on behalf of a user when the user is offline, you must use a hybrid server-side flow where a user authorizes your app on the client side using the JavaScript API client and you send a special one-time authorization code to your server. Your server exchanges this one-time-use code to acquire its own access and refresh tokens from Google for the server to be able to make its own API calls, which can be done while the user is offline. This one-time code flow has security adva...