Last active
June 13, 2023 05:33
-
-
Save allenday/1530d065d5924c9d3631b245c96d63fb to your computer and use it in GitHub Desktop.
Chainlink + Google Analytics - code snippet for Google auth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tokenResponse = await Functions.makeHttpRequest({ | |
url: 'https://oauth2.googleapis.com/token', | |
method: 'post', | |
data: jwtRequestString | |
}) | |
const accessToken = tokenResponse.data.access_token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment