User Authentication using JWT and Token-based Authentication
-
When a User request to login, the server checks for login informations, if it's good, returns a JsonWebToken and sends it to the User's Client. In this case, I saved into User's Cookie with HttpsOnly enabled.
-
When a User needs an Authorization, the server checks for JWT token in User's Cookie and send response depends on the token itself.




