847ecdd8fa
Fixes https://github.com/matrix-org/synapse/issues/9572 When a SSO user logs in for the first time, we create a local Matrix user for them. This goes through the register_user flow, which ends up triggering the spam checker. Spam checker modules don't currently have any way to differentiate between a user trying to sign up initially, versus an SSO user (whom has presumably already been approved elsewhere) trying to log in for the first time. This PR passes `auth_provider_id` as an argument to the `check_registration_for_spam` function. This argument will contain an ID of an SSO provider (`"saml"`, `"cas"`, etc.) if one was used, else `None`. |
||
---|---|---|
.. | ||
admin_api | ||
dev | ||
privacy_policy_templates/en | ||
systemd-with-workers | ||
.sample_config_header.yaml | ||
ACME.md | ||
CAPTCHA_SETUP.md | ||
MSC1711_certificates_FAQ.md | ||
README.md | ||
ancient_architecture_notes.md | ||
application_services.md | ||
architecture.md | ||
auth_chain_diff.dot | ||
auth_chain_diff.dot.png | ||
auth_chain_difference_algorithm.md | ||
code_style.md | ||
consent_tracking.md | ||
delegate.md | ||
federate.md | ||
jwt.md | ||
log_contexts.md | ||
manhole.md | ||
media_repository.md | ||
message_retention_policies.md | ||
metrics-howto.md | ||
openid.md | ||
opentracing.md | ||
password_auth_providers.md | ||
postgres.md | ||
replication.md | ||
reverse_proxy.md | ||
room_and_user_statistics.md | ||
sample_config.yaml | ||
sample_log_config.yaml | ||
server_notices.md | ||
spam_checker.md | ||
sso_mapping_providers.md | ||
structured_logging.md | ||
synctl_workers.md | ||
tcp_replication.md | ||
turn-howto.md | ||
url_previews.md | ||
user_directory.md | ||
workers.md |
README.md
Synapse Documentation
This directory contains documentation specific to the synapse
homeserver.
All matrix-generic documentation now lives in its own project, located at matrix-org/matrix-doc
(Note: some items here may be moved to matrix-org/matrix-doc at some point in the future.)