Lightweight identity and authorization management software
Find a file
2020-08-27 16:17:08 +02:00
conf Serve server metadata files 2020-08-27 16:17:08 +02:00
docker Better user objectClasses 2020-08-19 16:56:04 +02:00
schemas Code challenge unit tests 2020-08-25 15:28:13 +02:00
tests Serve server metadata files 2020-08-27 16:17:08 +02:00
web Serve server metadata files 2020-08-27 16:17:08 +02:00
.coveralls.yml Fixed coveralls 2020-08-19 13:51:51 +02:00
.gitignore Serve server metadata files 2020-08-27 16:17:08 +02:00
.gitlab-ci.yml coveralls 2020-08-19 09:24:07 +02:00
babel.cfg i18n 2020-08-17 11:38:25 +02:00
docker-compose.yml tests workflow 2020-08-18 17:39:34 +02:00
LICENSE.md License 2020-08-19 13:50:12 +02:00
README.md Serve server metadata files 2020-08-27 16:17:08 +02:00
setup.cfg setup.cfg instead of requirements.txt 2020-08-19 11:45:02 +02:00
setup.py setup.cfg instead of requirements.txt 2020-08-19 11:45:02 +02:00
TODO.md Serve server metadata files 2020-08-27 16:17:08 +02:00

OpenID Connect LDAP Bridge

oidc-ldap-bridge is a simple OpenID Connect provider based upon OpenLDAP.

It aims to be very light, simple to install and simple to maintain. Its main features are :

  • OAuth/OpenID Connect support;
  • Authentication against a LDAP directory;
  • No additional database required. Everything is stored in your OpenLDAP server;
  • The code is easy to read and easy to edit in case you want to write a patch.

Install

First you need to install the schemas into your LDAP server. There are several ways to achieve this:

Option 1: Add the schema into your filesystem

test -d /etc/openldap/schema && sudo cp schema/* /etc/openldap/schema
test -d /etc/ldap/schema && sudo cp schema/* /etc/ldap/schema
sudo service slapd restart

Option 2: Use slapadd

sudo slapadd -n0 -l schema/*.ldif

TBD

Contribute

Contributions are welcome! To run the tests, you just need to run tox.

To try a development environment, you can run the docker image and then open https://127.0.0.1:5000

cp conf/config.sample.toml conf/config.toml
cp conf/oauth-authorization-server.sample.json conf/oauth-authorization-server
cp conf/openid-configuration.sample.json conf/openid-configuration
docker-compose up