~/talk

How to Create REST APIs for Every Taste with Django OAuth Toolkit

TalkinItalianat DjangoVillage 2015 · 2015-04-17..04-19· [django, api-design]
links:none on file
slides:none on file

Shows how to build a Time Tracker REST API using Django REST Framework and Django OAuth Toolkit (oauthlib-backed). Implements Activity and TimeEntry models with GET/POST endpoints, replaces DRF authentication with the toolkit’s OAuth2 class, and demonstrates developer app registration, the OAuth2 authorization code flow (client_id/secret, redirect, code exchange), issuance of access and refresh tokens, and using Authorization: Bearer to call protected endpoints; working code will be published on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Why REST APIs with OAuth2
  3. 3:36REST API backend needs
  4. 5:25OAuth2 authorization flow
  5. 9:42Setting up Django REST
  6. 12:12DRF serializers and views
  7. 14:03DRF viewsets and browsable API
  8. 15:06Django OAuth Toolkit setup
  9. 16:34Live demo
  10. 18:46Developer app registration
  11. 19:53Authorization code flow demo
  12. 21:45Access and refresh tokens
  13. 22:29Protected API calls
  14. 23:16Future plans
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.