authsvc

package module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2018 License: AGPL-3.0 Imports: 0 Imported by: 0

README

authsvc

Authentication Service

Developing

GoDoc

This project is written in Go, and follows standard Go development practices.

Vendoring of dependencies is done with the dep tool. Use make deps to ensure the dependencies.

There is a git pre-push hook for running some basic sanity tests before pushing. Please run make install-hooks to install the hook.

Typical deployment of this service will be done with docker. The Dockerfile and related files are in docker/api/. You can build the docker images with make images, and push them to the docker repo with make push-images

To run locally, use the make run command. You can override default parameters in a file called .local.config. For example you could use:

#!/usr/bin/env bash

export PORT=${PORT:-4884} export VERBOSE=${VERBOSE:-true} export DATA_HOME="${DATA_HOME:-.local/data}" export PUBLIC_HOME="${PUBLIC_HOME:-docker/api/public}"

The following are randomly generated seed values; you should change them.

export SEED_BLOCK="${SEED_BLOCK:-yTVbPPsuijznJ0G05+EgXpoBTuT64FwpHS/X2CThfow=}" export SEED_HASH="${SEED_HASH:-uB0qbJMdJZn2E0jdjC8gPnaxEa/tNLDKMtzb956BzaAg8XlqEsPLCNGi0jhTsa/TDwIYQxQIm8CyEcnU9E4bWw==}" export STORAGE_ENGINE="${STORAGE_ENGINE:-boltdb}"

Documentation

Overview

Package authsvc provides an OAuth2 server wrapping LDAP backend

Directories

Path Synopsis
cmd
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL