TOKEN SERVER
Authentication is an everyday necessity in our applications, and tokens are widely used nowadays. In this article, I developed one app for login to users in two ways; the first was by email and password, and the second by token; I hope this project could be helpful for someone that will start with the topic of JWT tokens. Prerequisites Spring Boot : this is the java framework used to develop the app. Jose 4j : This is the library to create and validate the JWT token; the project doesn't use Spring Security to manage tokens. Openssl : is a utility in Linux OS to generate "key pairs"; it's useful when using JWT tokens. ByCrypt : is a one-way algorithm to protect data; it was used to protect the user's password , the app doesn't use Spring Security for that, and it can use another algorithm like a Pbkdf2Sha1. Clean Architecture : the project follows the pieces of advice that Martin Fowler gives in the book "Cl...