mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
deploy: 1035663833
This commit is contained in:
parent
99c7645a68
commit
ab128acfc5
6 changed files with 26 additions and 6 deletions
|
@ -200,8 +200,9 @@ follows:</p>
|
|||
will be removed in a future version of Synapse.</p>
|
||||
<p>The <code>token</code> field should include the JSON web token with the following claims:</p>
|
||||
<ul>
|
||||
<li>The <code>sub</code> (subject) claim is required and should encode the local part of the
|
||||
user ID.</li>
|
||||
<li>A claim that encodes the local part of the user ID is required. By default,
|
||||
the <code>sub</code> (subject) claim is used, or a custom claim can be set in the
|
||||
configuration file.</li>
|
||||
<li>The expiration time (<code>exp</code>), not before time (<code>nbf</code>), and issued at (<code>iat</code>)
|
||||
claims are optional, but validated if present.</li>
|
||||
<li>The issuer (<code>iss</code>) claim is optional, but required and validated if configured.</li>
|
||||
|
|
|
@ -5107,6 +5107,12 @@ sso:
|
|||
#
|
||||
#algorithm: "provided-by-your-issuer"
|
||||
|
||||
# Name of the claim containing a unique identifier for the user.
|
||||
#
|
||||
# Optional, defaults to `sub`.
|
||||
#
|
||||
#subject_claim: "sub"
|
||||
|
||||
# The issuer to validate the "iss" claim against.
|
||||
#
|
||||
# Optional, if provided the "iss" claim will be required and
|
||||
|
@ -7137,8 +7143,9 @@ follows:</p>
|
|||
will be removed in a future version of Synapse.</p>
|
||||
<p>The <code>token</code> field should include the JSON web token with the following claims:</p>
|
||||
<ul>
|
||||
<li>The <code>sub</code> (subject) claim is required and should encode the local part of the
|
||||
user ID.</li>
|
||||
<li>A claim that encodes the local part of the user ID is required. By default,
|
||||
the <code>sub</code> (subject) claim is used, or a custom claim can be set in the
|
||||
configuration file.</li>
|
||||
<li>The expiration time (<code>exp</code>), not before time (<code>nbf</code>), and issued at (<code>iat</code>)
|
||||
claims are optional, but validated if present.</li>
|
||||
<li>The issuer (<code>iss</code>) claim is optional, but required and validated if configured.</li>
|
||||
|
|
|
@ -2039,6 +2039,12 @@ sso:
|
|||
#
|
||||
#algorithm: "provided-by-your-issuer"
|
||||
|
||||
# Name of the claim containing a unique identifier for the user.
|
||||
#
|
||||
# Optional, defaults to `sub`.
|
||||
#
|
||||
#subject_claim: "sub"
|
||||
|
||||
# The issuer to validate the "iss" claim against.
|
||||
#
|
||||
# Optional, if provided the "iss" claim will be required and
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2231,6 +2231,12 @@ sso:
|
|||
#
|
||||
#algorithm: "provided-by-your-issuer"
|
||||
|
||||
# Name of the claim containing a unique identifier for the user.
|
||||
#
|
||||
# Optional, defaults to `sub`.
|
||||
#
|
||||
#subject_claim: "sub"
|
||||
|
||||
# The issuer to validate the "iss" claim against.
|
||||
#
|
||||
# Optional, if provided the "iss" claim will be required and
|
||||
|
|
Loading…
Reference in a new issue