This commit is contained in:
erikjohnston 2024-05-14 12:57:03 +00:00
parent d06ba0f4f0
commit 531f5fb7a1
4 changed files with 32 additions and 2 deletions

View file

@ -6823,6 +6823,19 @@ All of the listed attributes must match for the login to be permitted.</p>
users. This allows the CAS SSO flow to be limited to sign in only, rather than
automatically registering users that have a valid SSO login but do not have
a pre-registered account. Defaults to true.</p>
</li>
<li>
<p><code>allow_numeric_ids</code>: set to 'true' allow numeric user IDs (default false).
This allows CAS SSO flow to provide user IDs composed of numbers only.
These identifiers will be prefixed by the letter &quot;u&quot; by default.
The prefix can be configured using the &quot;numeric_ids_prefix&quot; option.
Be careful to choose the prefix correctly to avoid any possible conflicts
(e.g. user 1234 becomes u1234 when a user u1234 already exists).</p>
</li>
<li>
<p><code>numeric_ids_prefix</code>: the prefix you wish to add in front of a numeric user ID
when the &quot;allow_numeric_ids&quot; option is set to &quot;true&quot;.
By default, the prefix is the letter &quot;u&quot; and only alphanumeric characters are allowed.</p>
<p><em>Added in Synapse 1.93.0.</em></p>
</li>
</ul>
@ -6836,6 +6849,8 @@ a pre-registered account. Defaults to true.</p>
userGroup: &quot;staff&quot;
department: None
enable_registration: true
allow_numeric_ids: true
numeric_ids_prefix: &quot;numericuser&quot;
</code></pre>
<hr />
<h3 id="sso"><a class="header" href="#sso"><code>sso</code></a></h3>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -3203,6 +3203,19 @@ All of the listed attributes must match for the login to be permitted.</p>
users. This allows the CAS SSO flow to be limited to sign in only, rather than
automatically registering users that have a valid SSO login but do not have
a pre-registered account. Defaults to true.</p>
</li>
<li>
<p><code>allow_numeric_ids</code>: set to 'true' allow numeric user IDs (default false).
This allows CAS SSO flow to provide user IDs composed of numbers only.
These identifiers will be prefixed by the letter &quot;u&quot; by default.
The prefix can be configured using the &quot;numeric_ids_prefix&quot; option.
Be careful to choose the prefix correctly to avoid any possible conflicts
(e.g. user 1234 becomes u1234 when a user u1234 already exists).</p>
</li>
<li>
<p><code>numeric_ids_prefix</code>: the prefix you wish to add in front of a numeric user ID
when the &quot;allow_numeric_ids&quot; option is set to &quot;true&quot;.
By default, the prefix is the letter &quot;u&quot; and only alphanumeric characters are allowed.</p>
<p><em>Added in Synapse 1.93.0.</em></p>
</li>
</ul>
@ -3216,6 +3229,8 @@ a pre-registered account. Defaults to true.</p>
userGroup: &quot;staff&quot;
department: None
enable_registration: true
allow_numeric_ids: true
numeric_ids_prefix: &quot;numericuser&quot;
</code></pre>
<hr />
<h3 id="sso"><a class="header" href="#sso"><code>sso</code></a></h3>