~/talk

Django + Keycloak: trust authentication to the professionals

TalkinRussianat PiterPy 2023 · 2023-11-07..11-14· [python, security]
links:none on file
slides:none on file

A team faced repeated needs for single- and multi-factor authentication, password recovery, LDAP and AD FS integration across Django, FastAPI, and Flask apps and kept writing custom auth code. The talk explains adopting Keycloak (an open-source IAM) and demonstrates what Keycloak and similar Identity and Access Management solutions offer, arguing they are appropriate regardless of programming language or web framework.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Talk goals and speaker
  3. 2:15Classic auth problems
  4. 5:50Why design auth carefully
  5. 6:33Standards and mature solutions
  6. 8:41What is JWT and its structure
  7. 10:04Identification auth and authz
  8. 10:26Mature auth solutions overview
  9. 11:14What is Keycloak and its features
  10. 14:10Running Keycloak locally
  11. 14:51Keycloak main entities
  12. 16:17Creating a Keycloak client
  13. 17:25Client settings and OpenID Connect
  14. 19:12OpenID config and public key
  15. 20:14Django Keycloak integration
  16. 23:44Django integration pitfalls
  17. 24:50Session auth example
  18. 25:32Stateful token auth
  19. 26:14Integration with other frameworks
  20. 27:39System responsibilities split
  21. 28:00Conclusion and source code
  22. 28:20Q&A
  23. 29:26Q&A and Keycloak downsides
  24. 33:18Architecture and frontend questions
~/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.