A lot of tutorials are available on JWT token using WEB API.But how to do the exact same thing in ASP .NET core MVC 6.0 ?
My main question is I have one mvc (.NET 6) project and now I want to add JWT authentication and authorization into it. What I have to do? And also please tell me after generating the token how to store and use the token again.
Please tell me the comeplete steps or share a mvc project link where the JWT authentication and authorization have been used.

Parthib SarkarPosted Dec 29, 2022, 3:54 PM
All the articles are very helpful.Thank you very much.
I have one asp dotnet(6) core MVC project. I have added the normal login signup in the application.Now to add JWT will I be needed web api or can it be done without web api?
And after generating the token how will I reuse it?
Vishal YelvePosted Dec 29, 2022, 6:22 AM
Hi Prathib,
Please refer below Article for your reference
https://www.c-sharpcorner.com/article/jwt-token-authentication-using-the-net-core-6-web-api/
https://www.prowaretech.com/articles/current/asp-net-core/add-jwt-authentication-to-mvc#!
https://www.infoworld.com/article/3669188/how-to-implement-jwt-authentication-in-aspnet-core-6.html
https://www.codemag.com/Article/2105051/Implementing-JWT-Authentication-in-ASP.NET-Core-5