Skip to content

spencerkittleson/DeviceCodeFlowEmbedded

Repository files navigation

Device Code Flow for MindTouch

Based on https://tools.ietf.org/html/rfc8628#section-3.4, the following example demonstrates the device code flow for the popular ESP8266 embedded device for a MindTouch site.

Example

Wifi setup uses this project: https://github.com/tzapu/WiFiManager

Example workflow: Example Device Code Flow

Esp8266

Esp8266

Try it yourself

Update the MindTouchDeviceCodeFlowAppliance.ino with MindTouch's device code arguments

const char *AUTH_ID = "-";
const char *AUTH_DOMAIN = "-";
const char *AUTH_DEVICE_KEY = "-";
const char *AUTH_DEVICE_SECERT = "-";

Todo

  • Configuration file
  • Debug mode
  • Refresh token logic
  • Memory optimizations
  • SSL Fingerprinting
  • Better UI/UX

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages