authentification of Ipython notebook using c.NotebookApp.login_handler_class parameter in config file

Viewed 581

I've setup a Ipython 3.2.1 Notebook server. However, I'm looking for a way to add our own authentication rule, which means I want to add my own authentication security authentication mechanism similar to LDAP, OAuth to notebook.

I don't want to use JupyterHub, since it's too complex for me to use. However, I know from this site two factor authentication with username and password for a Jupyter Notebook server that we can deal with " The login handler class to use.

c.NotebookApp.login_handler_class = 'notebook.auth.login.LoginHandler'

in notebook configure file, but I don't know how to do it, do I need to write another loginHandler class to overwrite it? if so, which directory should I put this class file in?

1 Answers
Related