Brought to you by NumFOCUS Foundation and O’Reilly Media Inc.
The official Jupyter Conference
August 22-23, 2017: Training
August 23-25, 2017: Tutorials & Conference
New York, NY

Customizing JupyterHub authentication with OAuth2, Templates and security Track

Moderated by: Diogo Munaro Vieira & Felipe Ferreira

Who is this presentation for?

Developers, Managers

Prerequisite knowledge

OAuth2 basics, Jupyter basic configuration

What you'll learn

JupyterHub and Jupyter customizations, Basics on creation of modules for Jupyter and JupyterHub, customization of templates for Jupyter and JupyterHub


JupyterHub has plugins support and you can develop and build classes for overwrite some methods. On this presentation, we will show how was implemented OAuth2 authentication, track of users actions and custom templates for jupyter notebook and jupyterhub. OAuth2 authentication is default authentication method at and an open source module was modified for implement this authentication in JupyterHub (github:jupyterhub/oauthenticator) and JupyterHub Spawner too (globocom/jupyterhub_oauth_spawner). Tracking users actions is important to know what each user is doing on our data science platform, then we implemented it as a Content Manager (globocom/jupyterhub_hook_filemanager). Custom templates are needed for customization based on company that was using Jupyter and JupyterHub, for this we did an private module. All of these customizations allow our data scientists to research and data driven business decisions with safer, customized and better platform.