Opening Doors with JSON Web Tokens
summary
Shows a working prototype that grants remote, offline-capable access by writing JWTs to NFC and verifying them locally on a Raspberry Pi door lock. Uses OAuth with PKCE, OpenID Connect device flow and RS256 verification, an Android NFC writer, Python on a Pi driving a servo, and public keys baked into the device. Key details: NFC tags have only 888 bytes (JWTs ~780 bytes), tokens are short-lived (demo uses 60 seconds), live demo unlocks and re-locks successfully despite flaky peripherals.
AI-written summary · about
chapters (10)
- 0:00Start
- 1:38Amazon Lock
- 3:47The Amazon Lock
- 6:57Bluetooth Jammer
- 10:38How Does the Solution Work
- 11:04Oauth Code Flow
- 13:02Auth Code
- 20:58Well-Known Url
- 32:22Device Flow
- 34:56What Happens under the Hood
related talks
41mOpening Doors with JSON Web Tokens
37mKnock knock, who's there? Authenticating your single page apps using JSON Web Tokens
40mKnock knock, who’s there? Authenticating your single page apps using JSON Web Tokens
29mKnock knock, who's there? Authenticating your single page apps using JSON Web Token
32mPortable Sessions with JSON Web Tokens
40mKnock knock, who's there? Authenticating your single page apps using JSON Web Tokens
26mMerging Passwordless and Physical Access Control
45mOAuth and beyond: Modern auth not only for the web
