Skip to content
Snippets Groups Projects
  1. Jan 18, 2021
    • Richard van der Hoff's avatar
      Fix bugs in handling clientRedirectUrl, and improve OIDC tests (#9127, #9128) · 02070c69
      Richard van der Hoff authored
      * Factor out a common TestHtmlParser
      
      Looks like I'm doing this in a few different places.
      
      * Improve OIDC login test
      
      Complete the OIDC login flow, rather than giving up halfway through.
      
      * Ensure that OIDC login works with multiple OIDC providers
      
      * Fix bugs in handling clientRedirectUrl
      
       - don't drop duplicate query-params, or params with no value
       - allow utf-8 in query-params
      02070c69
  2. Jan 15, 2021
  3. Jan 13, 2021
  4. Jan 12, 2021
  5. Jan 07, 2021
  6. Jan 04, 2021
    • Richard van der Hoff's avatar
      Combine the SSO Redirect Servlets (#9015) · d2c616a4
      Richard van der Hoff authored
      * Implement CasHandler.handle_redirect_request
      
      ... to make it match OidcHandler and SamlHandler
      
      * Clean up interface for OidcHandler.handle_redirect_request
      
      Make it accept `client_redirect_url=None`.
      
      * Clean up interface for `SamlHandler.handle_redirect_request`
      
      ... bring it into line with CAS and OIDC by making it take a Request parameter,
      move the magic for `client_redirect_url` for UIA into the handler, and fix the
      return type to be a `str` rather than a `bytes`.
      
      * Define a common protocol for SSO auth provider impls
      
      * Give SsoIdentityProvider an ID and register them
      
      * Combine the SSO Redirect servlets
      
      Now that the SsoHandler knows about the identity providers, we can combine the
      various *RedirectServlets into a single implementation which delegates to the
      right IdP.
      
      * changelog
      d2c616a4
  7. Dec 22, 2020
  8. Dec 18, 2020
  9. Dec 15, 2020
  10. Dec 11, 2020
  11. Dec 03, 2020
  12. Dec 02, 2020
  13. Dec 01, 2020
    • Richard van der Hoff's avatar
      Support "identifier" dicts in UIA (#8848) · 4d949655
      Richard van der Hoff authored
      The spec requires synapse to support `identifier` dicts for `m.login.password`
      user-interactive auth, which it did not (instead, it required an undocumented
      `user` parameter.)
      
      To fix this properly, we need to pull the code that interprets `identifier`
      into `AuthHandler.validate_login` so that it can be called from the UIA code.
      
      Fixes #5665.
      4d949655
  14. Nov 30, 2020
  15. Nov 25, 2020
  16. Nov 16, 2020
  17. Nov 15, 2020
  18. Oct 29, 2020
    • Erik Johnston's avatar
      Add ability for access tokens to belong to one user but grant access to another user. (#8616) · f21e24ff
      Erik Johnston authored
      We do it this way round so that only the "owner" can delete the access token (i.e. `/logout/all` by the "owner" also deletes that token, but `/logout/all` by the "target user" doesn't).
      
      A future PR will add an API for creating such a token.
      
      When the target user and authenticated entity are different the `Processed request` log line will be logged with a: `{@admin:server as @bob:server} ...`. I'm not convinced by that format (especially since it adds spaces in there, making it harder to use `cut -d ' '` to chop off the start of log lines). Suggestions welcome.
      f21e24ff
  19. Oct 20, 2020
  20. Oct 13, 2020
  21. Oct 09, 2020
    • Andrew Morgan's avatar
      Allow modules to create and send events into rooms (#8479) · 66ac4b1e
      Andrew Morgan authored
      This PR allows Synapse modules making use of the `ModuleApi` to create and send non-membership events into a room. This can useful to have modules send messages, or change power levels in a room etc. Note that they must send event through a user that's already in the room.
      
      The non-membership event limitation is currently arbitrary, as it's another chunk of work and not necessary at the moment.
      66ac4b1e
Loading