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