google api - OAuth 2.0 API for backend sever call without login / redirect -


For example, API: To be authorized before calling, OAuth 2.0 needs to be used.

But what if I want to set up a cron job in the server and receive an API from time to time? Do I believe the access token remains unchanged all the time? (Unless I manually cancel it)

A limited lifetime of access tokens when its If the timeout expires, you can programmatically obtain a new access token using the fresh token. What it means practically, that once the entry is authorized, it works without the user until access is revoked.

Comments