A modern authentication backend service. (https://keratin.tech)
This repository builds a backend Go service that provides secured endpoints related to accounts and passwords. You must integrate it with your application's frontend(s) and backend(s).
Client libraries are currently available for:
- Backends: Ruby • Go
- Frontends: JavaScript
If you are missing a client library, please submit a request.
All configuration is through ENV variables.
Welcome! Please familiarize yourself with the CONTRIBUTING doc and the CODE OF CONDUCT.
Here's how the dev environment works:
go get github.com/keratin/authn-server
- Install Docker and docker-compose.
- Run
make test
to ensure a clean build
To run a dev server:
- Create a own
.env
file with desired configuration. - Run
make migrate
- Run
make server
To build a compiled server for integration testing:
- Run
make build
- Execute
dist/authn
with appropriate ENV variables
To build a Docker image for integration testing:
- Run
make docker
- Start the
keratin/authn-server:latest
image with appropriate ENV variables
Copyright (c) 2016-2018 Lance Ivy
Keratin AuthN is distributed under the terms of the LGPLv3. See LICENSE-LGPLv3 for details.