My JWT authentication is not working in .NET app. Getting 404 instead of 401 with or without valid token in http header
I am trying to implement a JWT authorization in my app and when I am trying to access the secured endpoint, I always get a http 404 error, instead of http 401.
My JWT authentihication not working in .net app. 404 instead of 401 with or without valid token in http header
I am trying to implement a JWT authorization in my app and when iam trying to access the secured endpoint I always get 404 instead of 401.
Program.cs