Skip to content

Commit

Permalink
fix scope assignment logic (Azure#24158)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarishmaGhiya authored Dec 7, 2022
1 parent 9ef07e7 commit 3ffcf69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class ManagedIdentityCredential implements TokenCredential {
const appTokenParameters: AppTokenProviderParameters = {
correlationId: this.identityClient.getCorrelationId(),
tenantId: options?.tenantId || "organizations",
scopes: [...scopes],
scopes: Array.isArray(scopes) ? scopes : [scopes],
claims: options?.claims,
};

Expand Down

0 comments on commit 3ffcf69

Please sign in to comment.