auth
![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ViBiOh_auth&metric=alert_status)
Authentification for apps in microservices.
Getting Started
You can use a simple login/password file for authentication.
Basic Login/Password
Write user's credentials with the following format :
[id]:[login]:[bcrypt password],[id2]:[login2]:[bcrypt password2]
You can generate bcrypted password using go run cmd/bcrypt/bcrypt.go "password"
.
Build
In order to build the whole stuff, run the following command.
make
Password encrypter accepts one argument, the password, and output the bcrypted one.