'Dotnet core Token Based Authentification
I have been struggling for few days now trying to fix unauthorized access error when passing JWT token from MVC application to WEB Api.
Solution 1:[1]
After some investigations I found that that the problem was due to that my requests were being sent as Http instead of https. After changing my request to use https, problem was resolved.
ASP.Net Core API always returns 401 but Bearer token is included
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mpho Mphaphuli |
