Skip to content

wearearima/spring-boot-ldap-auth-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot OAuth server via LDAP login

This project is a sample authorization server that uses an LDAP as a source for authorization. It uses Spring's experimental authorization server along with Spring Security's LDAP integration.

Setup

The project includes the authorization server, a static webapp and the LDAP startup config file (ldif) to easily test the authorization server. You can use the included docker-compose.yml to test it locally (you will need mvn and docker installed on your host machine, check Makefile for available commands).

Running make up will setup the docker environment with the following ports exported:

  • :8081 is the web application, you can use this to test the PKCE authorization grant.
  • :9000 is the authorization server. It contains the login page and the OAuth2 endpoints (i.e. http://localhost:9000/.well-known/openid-configuration)
  • :1389 is the port to connect to the LDAP database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published