~/talk

Identity providers, your app, and everything in-between

Talkat PyCon Israel 2022 · 2022-06-28..06-29· [security, web-platform]
links:none on file
slides:none on file

Shows how a Flask app registers with Microsoft Azure, redirects users to Microsoft’s login, exchanges the returned code for id, access, and refresh tokens via the OAuth2 Authorization Code (auth code) flow, decodes the JWT id_token for profile claims, and calls Microsoft Graph to read OneDrive files using the access token. Covers token refresh using offline_access, and the on-behalf-of (OBO) flow for separated front-end/back-end (two client apps), uses MSAL and worked in a Nokia production app.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:16Identity provider scenarios explained
  3. 4:45OAuth 2.0 and OpenID Connect overview
  4. 5:28OAuth 2.0 code flow deep dive
  5. 7:57Flask app configuration with Azure
  6. 10:26Callback endpoint and token exchange
  7. 11:53JWT token structure and decoding
  8. 13:39Accessing user resources with tokens
  9. 14:42Refreshing expired tokens
  10. 15:23On-behalf-of flow for separated services
  11. 18:09Python libraries and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.