diff options
author | Aurélien Grimpard <aurelien@grimpard.net> | 2023-09-06 20:32:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 14:32:24 -0400 |
commit | fe69e7f617199f51eb97f510a0a934fdcf02fbad (patch) | |
tree | 0768d0737a291cd5e71a0c02034ec6a54a0ca753 /docs/usage | |
parent | Merge remote-tracking branch 'origin/release-v1.92' into develop (diff) | |
download | synapse-fe69e7f617199f51eb97f510a0a934fdcf02fbad.tar.xz |
Handle "registration_enabled" parameter for CAS (#16262)
Similar to OIDC, CAS providers can now disable registration such that only existing users are able to login via SSO.
Diffstat (limited to 'docs/usage')
-rw-r--r-- | docs/usage/configuration/config_documentation.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md index 97fd1beb39..42df53d52b 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md @@ -3430,6 +3430,12 @@ Has the following sub-options: and the values must match the given value. Alternately if the given value is `None` then any value is allowed (the attribute just must exist). All of the listed attributes must match for the login to be permitted. +* `enable_registration`: set to 'false' to disable automatic registration of new + 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. + + *Added in Synapse 1.93.0.* Example configuration: ```yaml @@ -3441,6 +3447,7 @@ cas_config: required_attributes: userGroup: "staff" department: None + enable_registration: true ``` --- ### `sso` |