mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 21:32:18 -04:00
* 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
This commit is contained in:
parent
a8703819eb
commit
02070c69fa
9 changed files with 189 additions and 86 deletions
|
@ -45,7 +45,9 @@ class PickIdpResource(DirectServeHtmlResource):
|
|||
self._server_name = hs.hostname
|
||||
|
||||
async def _async_render_GET(self, request: SynapseRequest) -> None:
|
||||
client_redirect_url = parse_string(request, "redirectUrl", required=True)
|
||||
client_redirect_url = parse_string(
|
||||
request, "redirectUrl", required=True, encoding="utf-8"
|
||||
)
|
||||
idp = parse_string(request, "idp", required=False)
|
||||
|
||||
# if we need to pick an IdP, do so
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue