Borrow the SESSION and XSTF-TOKEN cookie from Siemens Insights Hub for local development and command line tools.

Latest Version

Version
2.0.0
Update
January 2, 2024
Size
736KiB
Developer
opensource.mindsphere.io
Category
Users
131
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Cookies
See more

MindSphere Authentication Helper Extension Extension

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.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "MindSphere Authentication Helper Extension", "version": "2.0.0", "description": "Borrow the SESSION and XSTF-TOKEN cookie from Siemens Insights Hub for local development and command line tools.", "author": "@sn0wcat", "host_permissions": [ "https://*.mindsphere.io/*", "https://*.mindsphere-in.cn/*" ], "permissions": [ "cookies" ], "icons": { "16": "assets/images/logo-16.png", "32": "assets/images/logo-32.png", "48": "assets/images/logo-48.png", "128": "assets/images/logo-128.png" }, "background": {}, "action": { "default_icon": { "16": "assets/images/logo-16.png", "32": "assets/images/logo-32.png", "48": "assets/images/logo-48.png", "128": "assets/images/logo-128.png" }, "default_title": "Siemens Insights Hub and Industrial IoT Authentication Helper", "default_popup": "index.html" }, "manifest_version": 3}
Read more