A tool for managing user identities, credentials, and access across on-premises and cloud environments
DotNet Core 3.1 MVC JWT authentication for Identity
I have an application that I am working on, we are using JWT for our WebAPI and then we have a very simple frontend. The problem I have is the moment I enable my JWTBearer in startup.cs and run my application it refuses to log in. It does not return a JWT object and I can do nothing further.
This is what my code looks like in startup.cs
I think I might be missing something in startup.cs but I am unable to find it at the moment.
Microsoft Security | Microsoft Identity Manager
Developer technologies | ASP.NET Core | Other
A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
2 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
2 deleted comments
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
1 deleted comment
Comments have been turned off. Learn more