I am trying to authenticate to google API in a backend service using a service account. It will not have a UI at all.
I have generated private keys in json format from google dev console, using a service account but there is no field named "client_secret" in it.
I found this example on github, and its structure should be correctly parsed by GoogleClientSecrets class.
What are the steps to generate the correct client_secret.json as in the github example ?