Example of ASP.NET Core Web API Authentication and Authorization with JWT (Json Web Token) JWT = Json Web Token
Using Postman
POST : https://localhost:44321/api/login
Body raw json data : {"Username":"zrebhi_admin","Password":"123"}
GET https://localhost:44321/api/user/Admins authorisation : paste token