Skip to content

Commit

Permalink
Add info how to disable authentication 🔑 (#1428)
Browse files Browse the repository at this point in the history
* Add info how to disable authentication


Signed-off-by: Sebastian Gerber <github@sgerber.com>

* replaced userdata with wildcard
  • Loading branch information
spacemanspiff2007 authored Jan 10, 2021
1 parent 7affefe commit 2a76002
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configuration/restdocs.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@ To authenticate with an API token, **apaddpend `-u '{API_TOKEN}:'` to the comman

You can manage all access tokens in your profile settings in the Main UI.

### Disable authentication

It is possible to disable authentication.
Stop openhab and add this part to ```$OPENHAB_USERDATA/etc/org.apache.karaf.features.xml``` before ```</featuresProcessing>```:

```
<blacklistedFeatures>
<feature>openhab-*-auth</feature>
</blacklistedFeatures>
```
Once openhab is restarted authentication will be disabled.

## Additional Considerations

The REST API also supports server-push supporting subscriptions on change notification for certain resources.

0 comments on commit 2a76002

Please sign in to comment.