-
Notifications
You must be signed in to change notification settings - Fork 0
Gateway with ldap authentication #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| // authenticateLDAP performs LDAP authentication | ||
| func (la *LDAPAuthenticator) authenticateLDAP(username, password string) (string, error) { | ||
| conn, err := la.connectLDAP() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we keep connection open globally (check concurrency support)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as jupyterlab version - concurrency not built in
gateway/proxy/proxy.go
Outdated
| SecondaryProxy *httputil.ReverseProxy | ||
| SecondaryTargetPattern string | ||
| URLSubPath string | ||
| authenticator *auth.LDAPAuthNZ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename (ex. authNZ)
gateway/proxy/proxy.go
Outdated
| secondaryProxy = httputil.NewSingleHostReverseProxy(secondaryTargetUrl) | ||
| } | ||
|
|
||
| authenticator := auth.NewLDAPAuthNZ(envVars) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename

No description provided.