Skip to content
/ auth Public

Authentification middleware for Golang

License

Notifications You must be signed in to change notification settings

ViBiOh/auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]:[argon2id password],[id2]:[login2]:[argon2id password2]

You can generate argon2id password using go run ./cmd/argon/ "password".

Build

In order to build the whole stuff, run the following command.

make

Password encrypter accepts one argument, the password, and output the argon2id one.

About

Authentification middleware for Golang

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •