mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Update doc for setting macaroon_secret_key
(#13443)
* Update doc for setting `macaroon_secret_key` * newsfile
This commit is contained in:
parent
d6e94ad9d9
commit
fb7a2cc4cc
2 changed files with 8 additions and 3 deletions
1
changelog.d/13443.doc
Normal file
1
changelog.d/13443.doc
Normal file
|
@ -0,0 +1 @@
|
|||
Update documentation for config setting `macaroon_secret_key`.
|
|
@ -2495,9 +2495,13 @@ track_appservice_user_ips: true
|
|||
---
|
||||
### `macaroon_secret_key`
|
||||
|
||||
A secret which is used to sign access tokens. If none is specified,
|
||||
the `registration_shared_secret` is used, if one is given; otherwise,
|
||||
a secret key is derived from the signing key.
|
||||
A secret which is used to sign
|
||||
- access token for guest users,
|
||||
- short-term login token used during SSO logins (OIDC or SAML2) and
|
||||
- token used for unsubscribing from email notifications.
|
||||
|
||||
If none is specified, the `registration_shared_secret` is used, if one is given;
|
||||
otherwise, a secret key is derived from the signing key.
|
||||
|
||||
Example configuration:
|
||||
```yaml
|
||||
|
|
Loading…
Reference in a new issue