Replies: 3 comments 1 reply
-
Hello, you need to edit the configuration in order to allow using the API from IPs different than localhost, therefore: authInternalUsers:
- user: my_api_user
pass: my_api_pass
ips: []
permissions:
- action: api Then you'll be able to use the API by using a set of credentials:
|
Beta Was this translation helpful? Give feedback.
-
I am also stuck at the same issue. What am I missing ? |
Beta Was this translation helpful? Give feedback.
-
Using the default config file as an example, you can add an entry for
In a live environment you'll definitely want to add some restrictions though. EG auth user and specify only the minimum paths you need. |
Beta Was this translation helpful? Give feedback.
-
Question
I have created a docker compose file:
The server is running that is for sure
Now when i try to access the APIs, namely the add path configuration,
i get 401, unauthorised error and no error messages in the docker logs so cannot debug from there.
But when i used the standalone binary and tried accessing the api it worked.
I plan to use the docker version in the future but cannot get past this error and was also not able find any relevant instructions in the api documentation.
I have enabled the api support and the authMethod is internal and user is any in the configuration file. It's basically the default yml file only change is i have enabled the api.
I am new to streaming projects. Can anyone help me in this?
Beta Was this translation helpful? Give feedback.
All reactions