ViBiOh / auth

Authentification middleware for Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auth

Build

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.

About

Authentification middleware for Golang

License:MIT License


Languages

Language:Go 95.3%Language:Makefile 4.7%