Skip to content
Snippets Groups Projects
  1. Mar 16, 2021
    • Andrew Morgan's avatar
      Pass SSO IdP information to spam checker's registration function (#9626) · 847ecdd8
      Andrew Morgan authored
      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`.
      Unverified
      847ecdd8
  2. Mar 10, 2021
  3. Feb 24, 2021
  4. Feb 04, 2021
  5. Dec 11, 2020
  6. Oct 07, 2020
  7. May 08, 2020
  8. Feb 14, 2020
  9. Feb 13, 2020
Loading