Request department and staff scopes for Workforce OAuth token

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-02 00:55:17 +00:00
parent da657ab6c7
commit f3dcfa37c6

View file

@ -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),
})