I already secured my application through the NodeJS libraries for JWT. What seems that I am missing is the endpoint on which my users are going to get the tokens.
My application was working before with my own database and creating the JWT token, but now it seems that I am not understanding on how my users are going to get the tokens without revealing private information.
Anyone around that already implemented a restfull api through tokens that can push me a little bit in the right direction ?