A lightweight auth service written in Go.
-
Execute all SQL files in the
migrations/
directory. -
Generate configuration JSON with config generator. This will create a new
config.json
at your preferred location, with unique random secret key attached.$ eintrag-config --config /path/to/your/config.json
-
Add your own database connection to
database_connection_string
to yourconfig.json
(Note: Only PostgreSQL supported) -
Execute the
eintrag
executable with following command$ eintrag --config /path/to/your/config.json
- To build this project, you are supposed to have Go 1.12 or later installed.
- PostgreSQL 10 or later with pgcrypto installed is required.
- Password Authentication
- JWT Generation
- User Management
- WebAuthn Support
- HMAC-TOTP Support
- JSON Web Tokens are signed with HS256 algorithm.
- Passwords are hashed with pgcrypto
crypt
function withbf
algorithm.
GPLv3