[fpc-devel] Google APIs - Authenticate using a service account?
Wayne Sherman
wsherman at gmail.com
Sat Jun 27 04:01:35 CEST 2020
On Fri, Jun 26, 2020 at 6:27 PM Wayne Sherman <wsherman at gmail.com> wrote:
>
> Is there support in the fpc google api units for authenticating as a
> service account?
Also for reference, here is a sample G Suite Service OAuth2 json file
(with made up keys and IDs). After configuring a service account,
this file can be downloaded locally and used by applications to
authenticate as a service:
{
"type": "service_account",
"project_id": "g-suite-email-labels-work",
"private_key_id": "9387991bed423dccc56b5dedc6676c5e81ed9b74",
"private_key": "-----BEGIN PRIVATE KEY-----\<redacted base64
strings>\n-----END PRIVATE KEY-----\n",
"client_email":
"our-domain-service-acct at g-suite-email-labels-work.iam.gserviceaccount.com",
"client_id": "869930957598767961280",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url":
"https://www.googleapis.com/robot/v1/metadata/x509/our-domain-service-acct%40g-suite-email-labels-work.iam.gserviceaccount.com"
}
More information about the fpc-devel
mailing list