Skip to content

Commit

Permalink
remove unnecessary graph scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
colbylwilliams committed Mar 25, 2024
1 parent 69ccd05 commit 2bcbb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class Auth implements TokenCredential, AuthenticationProvider {
};

getAccessToken = async (authenticationProviderOptions?: AuthenticationProviderOptions): Promise<string> => {
const graphScopes = ['User.Read', 'User.ReadBasic.All', 'Directory.Read.All', 'People.Read']; // An array of graph scopes
const graphScopes = ['User.Read']; // An array of graph scopes

if (authenticationProviderOptions?.scopes) graphScopes.concat(authenticationProviderOptions.scopes);

Expand Down

0 comments on commit 2bcbb39

Please sign in to comment.