Przeglądaj źródła

Update docs/configuring-playbook-user-verification-service.md: replace the placeholder TOKEN with YOUR_TOKEN_HERE

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3994/head
Suguru Hirahara 1 rok temu
rodzic
commit
b4510be53c
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: E4F9743DAB4B7B75
1 zmienionych plików z 4 dodań i 4 usunięć
  1. +4
    -4
      docs/configuring-playbook-user-verification-service.md

+ 4
- 4
docs/configuring-playbook-user-verification-service.md Wyświetl plik

@@ -60,14 +60,14 @@ In the default configuration, the UVS Server is only reachable via the docker ne

### Custom Auth Token (optional)

It is possible to set an API Auth Token to restrict access to the UVS. If this is enabled, anyone making a request to UVS must provide it via the header "Authorization: Bearer TOKEN"
It is possible to set an API Auth Token to restrict access to the UVS. If this is enabled, anyone making a request to UVS must provide it via the header `Authorization: Bearer YOUR_TOKEN_HERE`.

By default, the token will be derived from `matrix_homeserver_generic_secret_key` in `group_vars/matrix_servers`.
By default, the token (`YOUR_TOKEN_HERE`) will be derived from `matrix_homeserver_generic_secret_key` in `group_vars/matrix_servers`.

To set your own Token, add the following configuration to your `vars.yml` file:
To set your own token, add the following configuration to your `vars.yml` file. Make sure to replace `YOUR_TOKEN_HERE` with your own.

```yaml
matrix_user_verification_service_uvs_auth_token: "TOKEN"
matrix_user_verification_service_uvs_auth_token: "YOUR_TOKEN_HERE"
```

If a Jitsi instance is also managed by this playbook and [`matrix` authentication](configuring-playbook-jitsi.md#authenticate-using-matrix-openid-auth-type-matrix) is enabled there, this collection will automatically configure Jitsi to use the configured auth token.


Ładowanie…
Anuluj
Zapisz