A reverse proxy provides authentication using LDAP and extra auth source to validate accounts by email. Inspired by bitly/oauth2_proxy.
Many SME using LDAP to manage their employee accounts. Sometimes developer just want to expose internal services and limited access for only employees.
This proxy will going to check accounts credentials from LDAP and extra storage. Then set a JWT token on the domain.
Each request will validate this token and pass request with identity to internal service if valid.