jupyterhub-kdcauthenticator
jupyterhub-kdcauthenticator copied to clipboard
'kdcauthenticator.kdcauthenticator.KDCAuthenticator' could not be imported
I tried using this KDCAuthenticator (https://github.com/joychak/jupyterhub-kdcauthenticator) . It installed fine on myJupyterhub server but when I try to use it I get the following error:
[JupyterHub application:90] Bad config encountered during initialization: [JupyterHub application:91] The 'authenticator_class' trait of <jupyterhub.app.JupyterHub object at 0x7fe67485d860> instance must be a type, but 'kdcauthenticator.kdcauthenticator.KDCAuthenticator' could not be imported
For some reason it can't find the installed Authenticator. Do I need to do any extra steps to let jupyter aware of this newly installed Authenticator?
@meesam15 did you import it in the configuration? Can you share your config file here?
Had approximately same problem and this worked for me:
jupyterhub_config.py:
from kdcauthenticator.kdcauthenticator import KDCAuthenticator
c.JupyterHub.authenticator_class = KDCAuthenticator