Building a React app that controls a device with OAuth2
summary
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
chapters (3)
related talks
28mA hand wave of React for all your Internet of Thangs
01h 02mMastering Secure Login Mechanisms for React Apps
12mReact and Auth0 working together to build more secure apps
45mOAuth and beyond: Modern auth not only for the web
08mAdd login to your React App in no time
33mAuth for React.js APP
28mLearn React Hooks By Building An Auth Based To Do App
20mWeb applications with Shiny and React and AI
