JWT on .NET Core 2.0

Here is a full working minimal sample with a controller. I hope you can check it using Postman or JavaScript call. appsettings.json, appsettings.Development.json. Add a section. Note, Key should be rather long and Issuer is an address of the service: … ,”Tokens”: { “Key”: “Rather_very_long_key”, “Issuer”: “http://localhost:56268/” } … !!! In real project, don’t keep … Read more