~/talk

Building a React app that controls a device with OAuth2

Talkat React Alicante 2022 · 2022-09-29..10-01· [security, web-platform]
slides:none on file

A React web UI actually controls a Daikin heat pump by implementing the authorization code grant flow: redirect to Daikin, save session cookie state, compare upon return, send the auth code to a backend which exchanges it for access tokens and then calls Daikin APIs to read state and set target temperature. End‑to‑end testing uses Requestly and ModHeader to proxy production endpoints and tweak headers. The feature ships and users can remotely change heat settings.

AI-written summary · about

  1. 0:00Introduction
  2. 2:22OAuth2 Explained
  3. 10:31Testing and Production
~/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.