Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introducing a new authenticator for JupyterHub
Search
Leticia Portella
March 23, 2019
Technology
360
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
400
O que vem depois do Django Girls? Uma introdução às Class Based Views
leportella
2
420
Apresentando um novo autenticador para o JupyterHub
leportella
0
330
Building your own website with Jekyll + Github Pages
leportella
0
160
What's beyond the Django Girls tutorial: an introduction to class based views
leportella
1
140
Introduction to Jupyter Notebooks & Data Analytics with Kaggle
leportella
0
140
Que belo dia para a ciência
leportella
1
120
Organizações Data-Driven
leportella
0
62
Serenata de Amor
leportella
0
77
Other Decks in Technology
See All in Technology
TypeScript入門 2026
recruitengineers
PRO
3
500
オートロックマンションなのに、各部屋は施錠なし!? 攻撃者が組織内ネットワークで大暴れする理由 / The Front Door Is Locked, but the Rooms Are Wide Open: Why Attackers Move Freely Inside Enterprise Networks
nttcom
1
1.6k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
19k
toio・myCobotでフィジカルAIっぽいことを行うための検討(とりあえず調査) / フィジカルAI LT(IoTLTによる開催)
you
PRO
0
300
システム思考で問題に対処する
yussak
0
210
AIコーディングの次。コードレビューと理解負荷を解消して組織の開発生産性を高める
moongift
PRO
2
2.3k
生成 AI の基礎 〜 サンプル実装で学ぶ基本原理
enakai00
7
4.4k
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
170
ホームラボ紹介
y_sera15
0
130
Pavlokで始める電撃駆動開発
sgrsn
0
180
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.8k
個人OSSが、机の上から世界に広がるまでの話
shinyasaita
1
370
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.4k
How to Ace a Technical Interview
jacobian
281
24k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
160
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
420
The Invisible Side of Design
smashingmag
301
52k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
200
Writing Fast Ruby
sferik
630
63k
First, design no harm
axbom
PRO
2
1.2k
Discover your Explorer Soul
emna__ayadi
2
1.2k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
210
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