Skip to content

Commit 2da7a34

Browse files
waleedlatif1claude
andcommitted
fix(box): add sign_requests.readwrite scope for Box Sign operations
Box Sign API requires the sign_requests.readwrite scope in addition to root_readwrite. Without it, sign requests fail with "The request requires higher privileges than provided by the access token." Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1e16fa9 commit 2da7a34

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/sim/lib/oauth/oauth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
583583
providerId: 'box',
584584
icon: BoxCompanyIcon,
585585
baseProviderIcon: BoxCompanyIcon,
586-
scopes: ['root_readwrite'],
586+
scopes: ['root_readwrite', 'sign_requests.readwrite'],
587587
},
588588
},
589589
defaultService: 'box',

apps/sim/lib/oauth/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ export const SCOPE_DESCRIPTIONS: Record<string, string> = {
342342
// Box scopes
343343
root_readwrite: 'Read and write all files and folders in Box account',
344344
root_readonly: 'Read all files and folders in Box account',
345+
'sign_requests.readwrite': 'Create and manage Box Sign e-signature requests',
345346

346347
// Shopify scopes
347348
write_products: 'Read and manage Shopify products',

0 commit comments

Comments
 (0)