Skip to content

Commit

Permalink
Edit the scope for the applicaiton
Browse files Browse the repository at this point in the history
  • Loading branch information
liguori committed Nov 4, 2024
1 parent d81c5aa commit e83c6fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Savings.SPA/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
options.ProviderOptions.Cache.CacheLocation = "localStorage";
options.ProviderOptions.LoginMode = "redirect";
builder.Configuration.Bind("AzureAd", options.ProviderOptions.Authentication);
options.ProviderOptions.DefaultAccessTokenScopes.Add("https://graph.microsoft.com/User.Read");
options.ProviderOptions.DefaultAccessTokenScopes.Add(builder.Configuration["AzureAd:DefaultScope"]!);
});
}
Expand Down

0 comments on commit e83c6fc

Please sign in to comment.