diff options
author | clokep <clokep@users.noreply.github.com> | 2023-01-04 13:26:56 +0000 |
---|---|---|
committer | clokep <clokep@users.noreply.github.com> | 2023-01-04 13:26:56 +0000 |
commit | 93d93a5600d815a7f6589b358ff57b115c3a5d1d (patch) | |
tree | 704f26de7fac3060c94347b8b449f3f7da8b02e3 /develop/usage/configuration/config_documentation.html | |
parent | deploy: 8d20b1ba1eb072c983ae4d5e455b09195dcf6755 (diff) | |
download | synapse-93d93a5600d815a7f6589b358ff57b115c3a5d1d.tar.xz |
deploy: 906dfaa2cf5a79ed9c18529b1a370ffd49c0204e
Diffstat (limited to 'develop/usage/configuration/config_documentation.html')
-rw-r--r-- | develop/usage/configuration/config_documentation.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html index 8d29af71cd..5f394c08b7 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html @@ -2768,9 +2768,23 @@ module's <code>parse_config</code> method.</p> <p>For the default provider, the following settings are available:</p> <ul> <li> +<p><code>subject_template</code>: Jinja2 template for a unique identifier for the user. +Defaults to <code>{{ user.sub }}</code>, which OpenID Connect compliant providers should provide.</p> +<p>This replaces and overrides <code>subject_claim</code>.</p> +</li> +<li> <p><code>subject_claim</code>: name of the claim containing a unique identifier for the user. Defaults to 'sub', which OpenID Connect compliant providers should provide.</p> +<p><em>Deprecated in Synapse v1.75.0.</em></p> +</li> +<li> +<p><code>picture_template</code>: Jinja2 template for an url for the user's profile picture. +Defaults to <code>{{ user.picture }}</code>, which OpenID Connect compliant providers should +provide and has to refer to a direct image file such as PNG, JPEG, or GIF image file.</p> +<p>This replaces and overrides <code>picture_claim</code>.</p> +<p>Currently only supported in monolithic (single-process) server configurations +where the media repository runs within the Synapse process.</p> </li> <li> <p><code>picture_claim</code>: name of the claim containing an url for the user's profile picture. @@ -2778,6 +2792,7 @@ Defaults to 'picture', which OpenID Connect compliant providers should provide and has to refer to a direct image file such as PNG, JPEG, or GIF image file.</p> <p>Currently only supported in monolithic (single-process) server configurations where the media repository runs within the Synapse process.</p> +<p><em>Deprecated in Synapse v1.75.0.</em></p> </li> <li> <p><code>localpart_template</code>: Jinja2 template for the localpart of the MXID. |