Authentification for apps in microservices.
You can use a simple login/password file for authentication.
Write user's credentials with the following format :
[id]:[login]:[argon2id password],[id2]:[login2]:[argon2id password2]
You can generate argon2id password using go run ./cmd/argon/ "password"
.
In order to build the whole stuff, run the following command.
make
Password encrypter accepts one argument, the password, and output the argon2id one.