forward-proxy-auth

command module
v0.0.0-...-731e0e7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Build Status Go Report Card Microbadger Layers

forward-proxy-auth

This aims to be a forward auth service usable by traefik's forward authentication.
This is still work in progress and it is my first project in golang.

simple all in one service

  • user authentication against LDAP and plain text file
  • create JWTs, storing in cookies
  • explicitly no OAuth/OpenId connect workflow, no large configuration of authentication providers
    (Update: OpenId Connect Support in Branch oidc)
  • aims to be a simple and only basic SSO solution for small Docker Swarm clusters

Usage examples

See integrationtest/resources/compose for usage examples.

Build and run

Run in docker:

docker build -t forward-proxy-auth .
docker run --rm -it -p 8080:8080 forward-proxy-auth

Faster docker build, if go dependencies are already fetched (if "dep ensure" has already been run)

docker build -t forward-proxy-auth --build-arg=RUN_ENSURE=0 .

Dockerized development environment

If you don't have go installed locally, you can create a basic dockerized development environment.

# First build the image (builds only the "go-env" part of the Dockerfile)
docker build --target go-env -t go-env .
# Then run a terminal session in the container, with the mounted workspace ...
docker run --rm -it -v $(pwd):/fpa go-env
# ... or run "dep ensure" directly ...
docker run --rm -it -v $(pwd):/fpa go-env dep ensure
# ... or create the binary
docker run --rm -it -v $(pwd):/fpa go-env go build

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
integrationtest

Jump to

Keyboard shortcuts

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