Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add info how to disable authentication #1428

Merged
merged 2 commits into from
Jan 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 ```userdata/etc/org.apache.karaf.features.xml``` before ```</featuresProcessing>```:
Confectrician marked this conversation as resolved.
Show resolved Hide resolved

```
<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.