On Fri, Jun 26, 2020 at 6:27 PM Wayne Sherman <wsher...@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-a...@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" } _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel