This commit is contained in:
squahtx 2022-11-25 15:17:34 +00:00
parent edf8d08a3e
commit 3514a31bb2
4 changed files with 18 additions and 4 deletions

View file

@ -5930,11 +5930,18 @@ module's <code>parse_config</code> method.</p>
<p>For the default provider, the following settings are available:</p> <p>For the default provider, the following settings are available:</p>
<ul> <ul>
<li> <li>
<p>subject_claim: name of the claim containing a unique identifier <p><code>subject_claim</code>: name of the claim containing a unique identifier
for the user. Defaults to 'sub', which OpenID Connect for the user. Defaults to 'sub', which OpenID Connect
compliant providers should provide.</p> compliant providers should provide.</p>
</li> </li>
<li> <li>
<p><code>picture_claim</code>: name of the claim containing an url for the user's profile picture.
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>
</li>
<li>
<p><code>localpart_template</code>: Jinja2 template for the localpart of the MXID. <p><code>localpart_template</code>: Jinja2 template for the localpart of the MXID.
If this is not set, the user will be prompted to choose their If this is not set, the user will be prompted to choose their
own username (see the documentation for the <code>sso_auth_account_details.html</code> own username (see the documentation for the <code>sso_auth_account_details.html</code>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2613,11 +2613,18 @@ module's <code>parse_config</code> method.</p>
<p>For the default provider, the following settings are available:</p> <p>For the default provider, the following settings are available:</p>
<ul> <ul>
<li> <li>
<p>subject_claim: name of the claim containing a unique identifier <p><code>subject_claim</code>: name of the claim containing a unique identifier
for the user. Defaults to 'sub', which OpenID Connect for the user. Defaults to 'sub', which OpenID Connect
compliant providers should provide.</p> compliant providers should provide.</p>
</li> </li>
<li> <li>
<p><code>picture_claim</code>: name of the claim containing an url for the user's profile picture.
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>
</li>
<li>
<p><code>localpart_template</code>: Jinja2 template for the localpart of the MXID. <p><code>localpart_template</code>: Jinja2 template for the localpart of the MXID.
If this is not set, the user will be prompted to choose their If this is not set, the user will be prompted to choose their
own username (see the documentation for the <code>sso_auth_account_details.html</code> own username (see the documentation for the <code>sso_auth_account_details.html</code>