Hi ,
I have an project with normal website and api together,
the API using Jwt token to authorize, it works well with API only .
but when I attach the website login part , add this into services , the API stop working , with 401 authorize error . if I removed this , it works again.
any way to make it works ?
services.AddIdentity<User, Role>() .AddEntityFrameworkStores<ApplicationDbContext>() .AddDefaultTokenProviders();