ldap

command
v0.0.0-...-d3aec4a Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

README

Authentication Sample App

The authentication sample app performs authentication against a configured LDAP IdP.

Building

Prerequisites:

Docker installed locally.

Building the sample authn

The sample application can be built from within this directory using make build

Configuration

The sample application takes a configuration YAML file. The following is a sample configuration:

ldapconfig:
  url: ldap://ldap:389
  name: Local LDAP
  address: ":8899"

Running the sample application

The sample application can be run by using make up.

Interacting

To authenticate, POST to http://localhost:8899/authn with body

{
	"username": "cn=admin,dc=example,dc=org",
	"password": "admin"
}

Contributing

Information on the contributing process can be found here.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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