Questions tagged [google-auth-library-oauth2-http]

3 questions
0
votes
0 answers

google-auth-library JWT node.js length octect is too long at: (shallow)

I'm trying to authenticate on Google but I get an error: length octect is too long at: (shallow) This is my code: I use this version in my package.json: "google-auth-library": "^8.9.0", import { JWT } from 'google-auth-library'; const key =…
0
votes
0 answers

I'm trying to fetch campaigns from my Google Ads account using the Google Ads API. I'm using the google-auth-library and make the API request

const { OAuth2Client } = require('google-auth-library'); const request = require('request'); const API_VERSION = 'v13'; const customer_id = '1234567890'; const developer_token = 'my-developer-token'; const access_token = 'my-access-token'; const…
0
votes
1 answer

How do I access the Google Calendar APIs using a service account on behalf of another user? (Using Scala/Java)

I am currently creating an app to help people schedule onto my Google Calendar. To do this I would like to use a Google Service account to access my personal calendar. I have added the service account and given it the Google Calendar permissions. I…