Skip to content

Commit

Permalink
fix: fix auth scope
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Dec 7, 2023
1 parent 04dca0c commit 430c461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/applications/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const getApplicationInfo = async (auth: AppAuth, accessToken: string): Promise<A
baseUrl: clApi.baseURL(auth.slug, auth.domain, provisioning),
id: tokenInfo.application.id,
alias: '',
scope: tokenInfo.scope // || auth.scope
scope: tokenInfo.scope || auth.scope
})

// if (Array.isArray(appInfo.scope) && (appInfo.scope.length === 0)) appInfo.scope = undefined
Expand Down

0 comments on commit 430c461

Please sign in to comment.