Skip to content

Commit

Permalink
Merge pull request #249 from consideRatio/pr/register
Browse files Browse the repository at this point in the history
Register authenticator class with jupyterhub as ldap
  • Loading branch information
minrk authored Sep 14, 2024
2 parents c1ba8a5 + 76d3436 commit ec73b93
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ is located in /opt/tljh/config/jupyterhub_config.d. Create it there if you
don't already have one.**

```python
c.JupyterHub.authenticator_class = 'ldapauthenticator.LDAPAuthenticator'
c.JupyterHub.authenticator_class = 'ldap'
```

### Required configuration
Expand Down
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@
"pytest-cov",
],
},
entry_points={
"jupyterhub.authenticators": [
"ldap = ldapauthenticator:LDAPAuthenticator",
"ldapauthenticator = ldapauthenticator:LDAPAuthenticator",
],
},
)

0 comments on commit ec73b93

Please sign in to comment.