Skip to content

Commit 3cbfcb3

Browse files
authored
TRAC-1250: Add missing storefront_api scope to device login flow (#3116)
1 parent 064d1ee commit 3cbfcb3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/catalyst/src/cli/lib

packages/catalyst/src/cli/lib/auth.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ import { httpError } from './http-errors';
55
export const DEVICE_OAUTH_CLIENT_ID = 'b8063bu6hhml4e0lqh22yut63atsbyv';
66
export const DEVICE_OAUTH_SCOPES = [
77
'store_v2_information',
8+
'store_storefront_api',
89
'store_infrastructure_deployments_manage',
910
'store_infrastructure_logs_read_only',
1011
'store_infrastructure_projects_manage',
1112
'store_channel_settings',
1213
].join(' ');
14+
1315
export const DEFAULT_LOGIN_URL = 'https://login.bigcommerce.com';
1416

1517
export const DeviceCodeResponseSchema = z.object({

0 commit comments

Comments
 (0)