nginx-ldap-auth | Nginx authentication backend for LDAP | Identity Management library
kandi X-RAY | nginx-ldap-auth Summary
kandi X-RAY | nginx-ldap-auth Summary
Use this in order to provide a ingress authentication over LDAP for Kubernetes, change the Secret inside config.sample.yaml to match your LDAP server and run:. Configure your ingress with annotation nginx.ingress.kubernetes.io/auth-url: as described on nginx documentation.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Search performs a search against the database
- NewPool creates a new pool
- parseConfig parses a YAML configuration file
- startServer starts an HTTP server on the given message
- Main entry point for testing
- containsWrongPassword returns true if the given password is in the wrong order .
- NewStorage returns a new storage .
- NewService creates a new service
nginx-ldap-auth Key Features
nginx-ldap-auth Examples and Code Snippets
Community Discussions
Trending Discussions on nginx-ldap-auth
QUESTION
I found a nginx module (https://github.com/nginxinc/nginx-ldap-auth) that permits to authenticate an user using ldap.
I want to adapt it with a custom authentication page, that doesn't exist on the backend server. I do not understand all the interactions: Should I create a cookie within the login page? How to pass the credentials to the ldap daemon? Maybe what I want to do is impossible? It's been few days I try to do it, now i'm nearly desperate...
All the time I have these messages on the ldap daemon:
using username/password from authorization header
"GET /auth-proxy HTTP/1.0" 401 -
Below, the sites-enabled/mywebsite:
...ANSWER
Answered 2019-Feb-22 at 14:04I found out how to pass my login/password to NginX: however, not using the authorization header, but a cookie.
Here is my new nginx virtual host:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nginx-ldap-auth
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page