#103: Fixed build issue
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||
using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using Microsoft.OpenApi.Models;
|
||||
@@ -55,6 +56,8 @@ var connString = Configuration.GetConnectionString("DefaultConnection");
|
||||
// Microsoft.AspNetCore.Authentication
|
||||
// builder.Services.AddAuthentication()
|
||||
|
||||
// var sch = Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||
|
||||
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme).AddJwtBearer(options =>
|
||||
{
|
||||
options.RequireHttpsMetadata = false;
|
||||
|
||||
Reference in New Issue
Block a user