Yep
This commit is contained in:
@@ -39,7 +39,12 @@ static void ConfigureDependencies(IServiceCollection services, IConfiguration co
|
||||
services.AddMsalAuthentication(options =>
|
||||
{
|
||||
configuration.Bind("AzureAd", options.ProviderOptions.Authentication);
|
||||
options.ProviderOptions.LoginMode = "redirect";
|
||||
//options.ProviderOptions.DefaultAccessTokenScopes.Add("https://graph.microsoft.com/User.Read");
|
||||
//options.ProviderOptions.DefaultAccessTokenScopes.Add("openid");
|
||||
//options.ProviderOptions.DefaultAccessTokenScopes.Add("offline_access");
|
||||
//options.ProviderOptions.DefaultAccessTokenScopes.Add("profile");
|
||||
//options.ProviderOptions.LoginMode = "redirect";
|
||||
|
||||
});
|
||||
services.AddOidcAuthentication(options =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user