openhab / openhab-vscode

VS Code extension for openHAB configuration files
https://marketplace.visualstudio.com/items?itemName=openhab.openhab
Eclipse Public License 2.0
159 stars 47 forks source link

Add auth header for token based api authentication #233

Closed Confectrician closed 3 years ago

Confectrician commented 3 years ago

Is your feature request related to a problem? Please describe. Currently the username hase to be configured with an api token to get rest api working without basic auth. This should be possible in a proper way in the future.

Describe the solution you'd like Implement auth header through a new configuration parameter as workaround.

Describe alternatives you've considered Proper OAuth implementation

Additional context https://community.openhab.org/t/visual-code-and-openhab-3-0/109687/41?u=confectrician