Solarion
Honorary Master
- Joined
- Nov 14, 2012
- Messages
- 28,051
- Reaction score
- 17,804
It's now 3 days and I still cannot find a single clear answer as to what exactly I am supposed to do with the jwt token I get back from the API. I've browsed possibly 100 different articles and the code is either incomplete or the writers themselves are just copy pasting from other obscure articles.
I don't have identity framework. This is a bare bones MVC front end. I get told hundreds of times to populate the middleware with this and put my key in the appsettings and the walla it magically authenticates yes none of them can prove how and their projects are incomplete. They all very excitedly explain how retrieve the token from the API and validate it....................and then stop dead short right there. Not 1 single article has explained from there on what to do.
All I want to do is use the key I get back to add authorization headers on my controllers. Thats it. My faith in sites like stackoverflow, codeproject, csharp tutorials and even Microsoft's own documentation has fallen at an all time low tbh. Its a simple thing I am trying to achieve and yet nobody has a simple explanation. What do I do guys?
I don't have identity framework. This is a bare bones MVC front end. I get told hundreds of times to populate the middleware with this and put my key in the appsettings and the walla it magically authenticates yes none of them can prove how and their projects are incomplete. They all very excitedly explain how retrieve the token from the API and validate it....................and then stop dead short right there. Not 1 single article has explained from there on what to do.
All I want to do is use the key I get back to add authorization headers on my controllers. Thats it. My faith in sites like stackoverflow, codeproject, csharp tutorials and even Microsoft's own documentation has fallen at an all time low tbh. Its a simple thing I am trying to achieve and yet nobody has a simple explanation. What do I do guys?
Last edited: