platypush-webext/jsconfig.json
Fabio Manganiello 04e1287306 Better auth flow and state management on URL.
Improved authentication flow and addition of new devices
========================================================

- The `NewHost` and `EditHost` components have been merged and all the
  fields have been extensively documented.

- The legacy authentication flow (with hostname, device name, HTTP port,
  Websocket port, token and SSL flag) has been replaced by a much
  simpler flow that only requires the URL of the instance.

- Error handling has also been properly implemented.

- The device name is now optional - if not provided then the connection
  test will perform a call to `config.get` and retrieve the reported
  `device_id`.

- The token is now optional as well. If not provided, the extension will
  leverage an existing authenticated session on the browser. If the user
  isn't logged in, the extension will automatically redirect to the
  authentication page.

State management on the URL
===========================

URLs within the extension options are now dynamically filled with the
navigation state. This makes it possible to directly point to a form to
add a device in the extension.
2025-06-01 22:07:10 +02:00

3 lines
32 B
JSON