Two-factor authentication with username and password for Jupyter Notebook server

I installed the Jupyter Notebook server with the corresponding password and SSL, so it is accessible via HTTPS. However, now I am looking for a way to provide two-factor authentication with a username and password for logging in. The current Jupyter Notebook server asks for a password, and so I need to create a shared one (without username).

I know about JupyterHub, but at the moment I'm looking for a way to add a username (or multiple usernames) and specify a password (passwords) so that everyone can access the same workspace without having to have credentials on Linux on the side server.

Is this possible, or do I need to resort to deploying a JupyterHub server?

0
source share
2 answers

GitHub OAuth is used for JupyterHub authentication and seems pretty easy to configure, although I have to admit that I only used the built-in server-side authentication. I would think that this would be a pretty decent solution if you do not want to create a server account for each user.

+1
source

there is an entry hook in the configuration. You can write your own authentication there.

0
source

All Articles