summary refs log tree commit diff
path: root/docs/sso_mapping_providers.md
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2020-12-04 09:03:12 -0500
committerPatrick Cloke <patrickc@matrix.org>2020-12-04 09:03:12 -0500
commita41b1dc49fd983d83cc22864c36f27de33214105 (patch)
tree0cbd18d0d5ba773917f3df10bed89c49008bf094 /docs/sso_mapping_providers.md
parentMerge branch 'release-v1.24.0' of github.com:matrix-org/synapse into matrix-o... (diff)
parentMinor update to CHANGES. (diff)
downloadsynapse-a41b1dc49fd983d83cc22864c36f27de33214105.tar.xz
Merge branch 'release-v1.24.0' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'docs/sso_mapping_providers.md')
-rw-r--r--docs/sso_mapping_providers.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/sso_mapping_providers.md b/docs/sso_mapping_providers.md

index dee53b5d40..ab2a648910 100644 --- a/docs/sso_mapping_providers.md +++ b/docs/sso_mapping_providers.md
@@ -168,6 +168,13 @@ A custom mapping provider must specify the following methods: the value of `mxid_localpart`. * `emails` - A list of emails for the new user. If not provided, will default to an empty list. + + Alternatively it can raise a `synapse.api.errors.RedirectException` to + redirect the user to another page. This is useful to prompt the user for + additional information, e.g. if you want them to provide their own username. + It is the responsibility of the mapping provider to either redirect back + to `client_redirect_url` (including any additional information) or to + complete registration using methods from the `ModuleApi`. ### Default SAML Mapping Provider