
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.