Thanks to visit codestin.com Credit goes to github.com
Testing JWT Authentication with an ASP.NET API on .NET 7.0.