I have some actions for Chrome OS that I would like to create using a background service. I am able to do one time setup but there will be no possibility for user interaction to authenticate in a browser for the calls during execution.
I've been reading through this Google documentation and found:
If the API you want to call has a service definition published in the [Google APIs GitHub repository][2], you can make authorized API calls using a JWT instead of an access token.
However, I can't seem to figure out what they mean by 'service definition' in that repository. Can someone help me understand where I find a list of APIs/actions that are available through these methods?
I also found this stackoverflow post which talks about using a refresh token. This was written a couple years ago - does anyone have insight into why this may be a BAD idea? I'm considering going this route but am not sure I fully understand all the implications of doing so. Essentially an admin would make a refresh token and load it into the application, where it could then be used to complete the background tasks for an indefinite amount of time (by refreshing the token in my service).