Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Introducing a new authenticator for JupyterHub
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Leticia Portella
March 23, 2019
Technology
370
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introducing a new authenticator for JupyterHub
Presenting Native Authenticator at Pycon Limerick, Ireland - 23/03/2019
Leticia Portella
March 23, 2019
More Decks by Leticia Portella
See All by Leticia Portella
Impulsionando sua carreira na tecnologia
leportella
2
410
O que vem depois do Django Girls? Uma introdução às Class Based Views
leportella
2
430
Apresentando um novo autenticador para o JupyterHub
leportella
0
340
Building your own website with Jekyll + Github Pages
leportella
0
170
What's beyond the Django Girls tutorial: an introduction to class based views
leportella
1
150
Introduction to Jupyter Notebooks & Data Analytics with Kaggle
leportella
0
140
Que belo dia para a ciência
leportella
1
130
Organizações Data-Driven
leportella
0
64
Serenata de Amor
leportella
0
81
Other Decks in Technology
See All in Technology
ミイダス株式会社 テックチームのご紹介 / MIIDAS Tech Team
miidas
0
120
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
320
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
140
BedrockとLambdaで作る リアルタイム進行型推理ゲーム
kawametho
0
180
営業オントロジーの作り方と、エージェントからの辿り方 ── ナレッジワークの現場から
kworkdev
PRO
1
240
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
400
自主式軟體工廠
philipz
0
170
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
150
2026-09-26 Platform Engineering Kaigi 2026 インフラとアプリの境界線と委譲の設計 / Drawing the Infra and App Line
masasuzu
0
630
スキルを作る、その前に!複数人で使われるスキルを 作るためのプロセス
junkifurukawa
2
190
あなたの知らないAmazon VPC Route Server/Amazon VPC Route Server you don't know about
masakiokuda
2
210
Incremental HTTP
kazuho
5
2k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6.3k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Designing Experiences People Love
moore
143
24k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
860
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
250
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Deep Space Network (abreviated)
tonyrice
0
350
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
66k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Documentation Writing (for coders)
carmenintech
77
5.6k
Transcript
Introducing a new authenticator for JupyterHub
LETICIA PORTELLA /in/leportella @leportella @leleportella leportella.com pizzadedados.com
We love Jupyter notebooks <3
But… what if there are more people than just me?
None
JupyterHub HTTP Proxy Hub All icons where obtain on Flaticon
JupyterHub HTTP Proxy Hub Authenticator All icons where obtain on
Flaticon /hub/<url>
JupyterHub HTTP Proxy Hub Authenticator Spawners All icons where obtain
on Flaticon /hub/<url>
JupyterHub HTTP Proxy Hub Authenticator Spawners All icons where obtain
on Flaticon /hub/<url> /user/<name>
JupyterHub HTTP Proxy Hub Authenticator Spawners Database All icons where
obtain on Flaticon /hub/<url> /user/<name>
JupyterHub HTTP Proxy Hub Authenticator Spawners Database All icons where
obtain on Flaticon /user/<name> /hub/<url> Admin /hub/admin
JupyterHub HTTP Proxy Hub Authenticator Spawners Database Config.py All icons
where obtain on Flaticon /user/<name> /hub/<url> Admin /hub/admin
JupyterHub HTTP Proxy Hub Authenticator Spawners Database Config.py All icons
where obtain on Flaticon /user/<name> /hub/<url> Admin /hub/admin
JupyterHub Authenticator Options PAM LDAP OAuth FirstUse Dummy
JupyterHub Authenticator Options PAM LDAP OAuth FirstUse Dummy
JupyterHub Authenticator Options PAM LDAP OAuth FirstUse Dummy Native Authenticator
Native Authenticator /SIGNUP CREATES NEW USER USER IS UNAUTHORIZED USER
Native Authenticator /SIGNUP CREATES NEW USER USER IS UNAUTHORIZED /AUTHORIZE
USER IS AUTHORIZED ADMIN USER
Native Authenticator /SIGNUP CREATES NEW USER USER IS UNAUTHORIZED /
USER IS LOGGED IN /AUTHORIZE USER IS AUTHORIZED ADMIN USER USER
Native Authenticator
Native Authenticator Sign Up of users Username sanitization Blocking users
dynamically
Native Authenticator User can change password Password security check available
Block throttling attempts of login Add more information to signup 2fa (soon…)
Create an Authenticator / USERNAME + PASSWORD
Create an Authenticator / USERNAME + PASSWORD LOGIN HANDLER POST
METHOD POST
Create an Authenticator / USERNAME + PASSWORD LOGIN HANDLER AUTHORIZED
AUTHENTICATOR CLASS POST METHOD POST AUTHENTICATE METHOD UNAUTHORIZED
Create an Authenticator / USERNAME + PASSWORD LOGIN HANDLER AUTHORIZED
AUTHENTICATOR CLASS POST METHOD POST AUTHENTICATE METHOD UNAUTHORIZED
Create an Authenticator from jupyterhub.auth import Authenticator from tornado import
gen class NewAuth(Authenticator): # ... @gen.coroutine def authenticate(self, handler, data): if self.can_login: return data['username'] return
How did I end up here?
How did I end up here? Create a profile Be
accepted on the first step :) Resolve a micro-task for the project Submit a pull request
How did I end up here? Fill the final application
Wait for the results! Be part of an awesome team <3
How did I end up here?
LETICIA PORTELLA /in/leportella @leportella @leleportella leportella.com pizzadedados.com