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
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
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
120
Organizações Data-Driven
leportella
0
63
Serenata de Amor
leportella
0
81
Other Decks in Technology
See All in Technology
beyond jj: config & tools ecosystem
indirect
0
320
LTのテーマ どうきめてる?〜5つの型と私のやり方〜
yama3133
1
100
What the customer really needed
kawaguti
PRO
1
120
生成AIエージェントを用いた、 手動テスト手順書から自動テストへの 変換手法の検討
magicpod
0
150
Geolonia の開発現場における AIの活用について
miya0001
0
100
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
4
1.2k
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
1
1.3k
事業課題から技術的負債に向き合う
sansantech
PRO
2
1.3k
DEFCON_CHV_CTF_Write-up.pdf
bata_24
0
150
AI時代の「技術的負債」の変質ー概念の終焉と再解釈、エージェントと共に向かう先
nwiizo
0
1.9k
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
730
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
580
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
350
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Mind Mapping
helmedeiros
1
360
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
430
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
500
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
400
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
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