I have built an API to register an user or log an user in. If the user login is sucessfull it returns a JWT token which is an hour valid. I have added [Authorize]
[Authorize]