This commit is contained in:
clokep
2021-11-22 18:01:32 +00:00
parent 99c7645a68
commit ab128acfc5
6 changed files with 26 additions and 6 deletions
+3 -2
View File
@@ -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>
+9 -2
View File
@@ -5107,6 +5107,12 @@ sso:
#
#algorithm: &quot;provided-by-your-issuer&quot;
# Name of the claim containing a unique identifier for the user.
#
# Optional, defaults to `sub`.
#
#subject_claim: &quot;sub&quot;
# The issuer to validate the &quot;iss&quot; claim against.
#
# Optional, if provided the &quot;iss&quot; 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>
+6
View File
@@ -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: &quot;provided-by-your-issuer&quot;
# Name of the claim containing a unique identifier for the user.
#
# Optional, defaults to `sub`.
#
#subject_claim: &quot;sub&quot;
# The issuer to validate the &quot;iss&quot; claim against.
#
# Optional, if provided the &quot;iss&quot; claim will be required and