Borrow the SESSION and XSTF-TOKEN cookie from Siemens Insights Hub for local development and command line tools.
This chrome extension can be used to simplify the development tasks for which you need to use the SESSION and XSRF-TOKEN to access Siemens Insights Hub APIs. It provides an easy way to copy the Insights Hub authentication cookies to the clipboard without having to go to chrome developer tools.
The extension works also really well with the Insights Hub and Industrial IoT CLI in the Session Cookie - XSRF-Token Configuration.
Use the extension to copy the cookies to the clipboard, paste them to the command line (there is bash, Windows CMD and Windows Powershell support) and start using the MindSphere CLI right away.
You can also use the extension to simplify the start of Insights Hub Development Proxy in a similar fashion. Just copy/paste the cookies to the command line and start the development proxy.
Important: Treat the authentication cookies like your credentials and use them only in secure environments.
Latest reviews
- (2020-09-01) Christoph Döhl: Very handy tool for MindSphere developers - Thanks!