Introduce AUTH_REQUIRE_TOKENS

This commit is contained in:
Florent Daigniere
2023-10-27 13:39:36 +02:00
parent efcf7a1581
commit 435508be1e
4 changed files with 13 additions and 3 deletions

View File

@@ -214,7 +214,11 @@ Depending on your particular deployment you most probably will want to change th
Advanced settings
-----------------
The ``API_TOKEN`` (default: None) configures the authentication token.
The ``AUTH_REQUIRE_TOKENS`` (default: False) setting controls whether thick clients can
authenticate using passwords or whether they are forced to use tokens/application
specific passwords.
The ``API_TOKEN`` (default: None) setting configures the authentication token.
This token must be passed as request header to the API as authentication token.
This is a mandatory setting for using the RESTful API.