A proof-of-concept that separates authentication out into a microservice.
go get github.com/lestopher/redauthservice
redauth -local=":8000" -conf="/path/to/secure_config.yml"
curl -XPOST -d "username=chris&password=password" http://localhost:8000/authenticate
http status: 200
{
Success: true
}
http status: 406
{
Success: false,
Messsage: "crypto/bcrypt: hashedPassword is not the hash of the given password"
}