I think about creating a new solution based on NATS and so far only have two open questions left. In my scenario I need clients to authenticate with the server and of the possible mechanisms user+pass, token and JWT I would like to go for tokens or (least preferred) user+pass.
In the docs I saw that it is possible to crypt passwords and to store credentials of multiple users. But what I could not find is information about:
- can tokens be stored securely ?
- how can I add new users without reloading the server ?