- Jan 07, 2021
-
-
Richard van der Hoff authored
black seems to want to reformat this, despite `black --check` being happy with it :/
-
Richard van der Hoff authored
If we are lacking an optional dependency, skip the tests that rely on it.
-
- Jan 04, 2021
-
-
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
-
- Dec 22, 2020
-
-
Patrick Cloke authored
Tests were broken due to an API changing. The code used in Synapse proper should be compatible with both versions already.
-
- Dec 15, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This was never used, so let's get rid of it.
-
- Nov 16, 2020
-
-
Richard van der Hoff authored
-
- Sep 18, 2020
-
-
Will Hunt authored
Add ability for ASes to /login using the `uk.half-shot.msc2778.login.application_service` login `type`. Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
- Aug 19, 2020
-
-
Patrick Cloke authored
-
- Jul 15, 2020
-
-
Patrick Cloke authored
-
- Jul 14, 2020
-
-
Patrick Cloke authored
-
- Jul 10, 2020
-
-
Patrick Cloke authored
-
- Jun 24, 2020
-
-
Sorunome authored
-
- Jun 05, 2020
-
-
Andrew Morgan authored
While working on https://github.com/matrix-org/synapse/issues/5665 I found myself digging into the `Ratelimiter` class and seeing that it was both: * Rather undocumented, and * causing a *lot* of config checks This PR attempts to refactor and comment the `Ratelimiter` class, as well as encourage config file accesses to only be done at instantiation. Best to be reviewed commit-by-commit.
-
- Jun 01, 2020
-
-
Olof Johansson authored
-
- May 14, 2020
-
-
Andrew Morgan authored
-
- Apr 09, 2020
-
-
Patrick Cloke authored
-
- Apr 03, 2020
-
-
Richard van der Hoff authored
This reverts commit 0122ef10.
-
Richard van der Hoff authored
This was incorrectly merged to master. This reverts commit 319c41f5, reversing changes made to 229eb814.
-
- Mar 27, 2020
-
-
Richard van der Hoff authored
That fallback sets the redirect URL to itself (so it can process the login token then return gracefully to the client). This would make it pointless to ask the user for confirmation, since the URL the confirmation page would be showing wouldn't be the client's.
-
- Mar 26, 2020
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
- Mar 02, 2020
-
-
Richard van der Hoff authored
-
Brendan Abolivier authored
-
- Jul 12, 2019
-
-
Richard van der Hoff authored
Record how long an access token is valid for, and raise a soft-logout once it expires.
-
- May 10, 2019
-
-
Amber Brown authored
-
- May 02, 2019
-
-
Richard van der Hoff authored
-
- May 01, 2019
-
-
Richard van der Hoff authored
It doesn't really belong under rest/client/v1 any more.
-
- Mar 18, 2019
-
-
Brendan Abolivier authored
-
- Mar 15, 2019
-
-
Brendan Abolivier authored
Add two ratelimiters on login (per-IP address and per-userID).
-