Request department and staff scopes for Workforce OAuth token
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
da657ab6c7
commit
f3dcfa37c6
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ async function getWorkforceToken() {
|
|||
grant_type: 'password',
|
||||
username: creds.email,
|
||||
password: creds.password,
|
||||
scope: 'me department staff',
|
||||
}).toString(),
|
||||
signal: AbortSignal.timeout(10000),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue