The MetadataAddress or Authority must use HTTPS unless disabled for development by setting RequireHttpsMetadata=false
net core application. I have added azure ad authentication. Below is my startup.cs file services.AddAuthentication(x => { x.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme; x.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme; }) .AddJwtBearer(options => { options.SaveToken = true; options.RequireHttpsMetadata = true; op