I have a python cron job which performs operations on my calendars which I run on my laptop.
I currently am using a "Client ID for native application" for the python script.
Authorizing the client_secrets.json credential is not a problem on a desktop or laptop since I have a full GUI browser which runs javascript. However, the client_secrets.json file which works on my laptop doesn't seem to work if I move it to another server.
I'd like to move the python cron job to a cloud server. My questions are:
You may need to setup a service account.
It allows you to access google api's from another server without the need for the oAuth middle man.
Read up here: https://developers.google.com/accounts/docs/OAuth2ServiceAccount
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With