Open mrose17 opened 10 years ago
@mrose17 -- the 'bootable' table in login.js is now named 'clouds'.
the code you have works, but i botched the request. i'll circle back later tonight with an updated request. sorry!
the authorizeURL is a property for a device under /device/gateway, not a static value in login.js -- i gave you bad information earlier… sorry!
if a /device/gateway device has a non-empty 'authorizeURL', then on the settings page, there should be a table under the "Add Cloud Services" table
One row for each non-empty authorizeURL, three columns for each row:
column 1: the name of the cloud service (i.e., deviceName) column 2: the text associated with the cloud service, e.g., bootable.automatic.authorizeText column 3: a button labeled "Authorize" to opens up a new window to the authorizeURL
if it's better to organize this as something other than a table, that's fine.