aspnet-core-jwt-authentication-api icon indicating copy to clipboard operation
aspnet-core-jwt-authentication-api copied to clipboard

404 Unauthorized Error with Postman and Angular

Open apraveen25 opened this issue 6 years ago • 2 comments

I am getting unauthorized error while testing with Postman

image

image

apraveen25 avatar Jun 01 '19 14:06 apraveen25

I fixed this issue by updating Authorize atttibute like below...

[Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)]

apraveen25 avatar Jun 02 '19 05:06 apraveen25

Try http://localhost:62062/Users/ instead of http://localhost:62062/Users/GetAll

mdaveigahardata avatar Jul 15 '19 14:07 mdaveigahardata