From fed26bbc36400b3a6199d7b47a13738856be7909 Mon Sep 17 00:00:00 2001 From: Warren Bailey Date: Wed, 22 Mar 2023 12:14:47 +0000 Subject: [PATCH] update documentation and rename to feature --- changelog.d/{14978.bugfix => 14978.feature} | 0 docs/usage/configuration/config_documentation.md | 6 ++++++ 2 files changed, 6 insertions(+) rename changelog.d/{14978.bugfix => 14978.feature} (100%) diff --git a/changelog.d/14978.bugfix b/changelog.d/14978.feature similarity index 100% rename from changelog.d/14978.bugfix rename to changelog.d/14978.feature diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md index 015855ee7ef4..0c0a5d8edf73 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md @@ -3100,6 +3100,11 @@ Options for each entry include: match a pre-existing account instead of failing. This could be used if switching from password logins to OIDC. Defaults to false. +* `enable_registration`: set to 'false' to disable automatic registration of new + users. This allows the OIDC 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. + * `user_mapping_provider`: Configuration for how attributes returned from a OIDC provider are mapped onto a matrix user. This setting has the following sub-properties: @@ -3216,6 +3221,7 @@ oidc_providers: userinfo_endpoint: "https://accounts.example.com/userinfo" jwks_uri: "https://accounts.example.com/.well-known/jwks.json" skip_verification: true + enable_registration: true user_mapping_provider: config: subject_claim: "id"