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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
180
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
150
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
しろおびから始める!ログ活用の第一歩
shumei_ito
0
800
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
5
1.2k
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
110
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
5
4.3k
事業活動を AI Ready にする攻めと守りのデータエンジニアリング / data-engineering-for-ai-ready-business
pei0804
6
2.3k
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
360
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
3つのアプローチで目指す チームを強くするAI駆動開発
thkt
0
140
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
240
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
250
Deep Data Security 機能解説
oracle4engineer
PRO
2
740
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
0
1k
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
420
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
860
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
The untapped power of vector embeddings
frankvandijk
2
1.9k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Evolving SEO for Evolving Search Engines
ryanjones
0
310
Balancing Empowerment & Direction
lara
6
1.3k
4 Signs Your Business is Dying
shpigford
187
23k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
560
WCS-LA-2024
lcolladotor
0
860
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