diff --git a/Site/Startup.cs b/Site/Startup.cs index 020a310..6380523 100644 --- a/Site/Startup.cs +++ b/Site/Startup.cs @@ -69,7 +69,7 @@ public void ConfigureServices(IServiceCollection services) services.AddOptions(); //services.Configure(Configuration.GetSection("Auth0")); - services.AddAuthentication() + services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) .AddJwtBearer(options => { options.Authority = $"{Configuration["AzureAd:AadInstance"]}{Configuration["AzureAd:Tenant"]}";