We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am unsure what happened that this got created.... There's more context in the linked comment thread.
Essentially I'm trying to access an identity token for a service account, but getIdToken() is returning undefined. Here's how I'm creating my service:
function getOAuthService(user) { const properties = PropertiesService.getScriptProperties(); const private_key = properties.getProperty("private_key").replace(/\\n/g, "\n"); const client_email = properties.getProperty("client_email"); return OAuth2.createService('Service Account') .setTokenUrl('https://accounts.google.com/o/oauth2/token') .setPrivateKey(private_key) .setIssuer(client_email) .setScope('openid'); }
Originally posted by @biowalker in #411 (comment)
The text was updated successfully, but these errors were encountered:
vinay-google
No branches or pull requests
I am unsure what happened that this got created.... There's more context in the linked comment thread.
Essentially I'm trying to access an identity token for a service account, but getIdToken() is returning undefined. Here's how I'm creating my service:
Originally posted by @biowalker in #411 (comment)
The text was updated successfully, but these errors were encountered: