summary refs log tree commit diff
path: root/synapse/handlers/oidc_handler.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-23 18:25:38 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-23 18:25:38 +0100
commit69d83ca0f099bc2ce7a78d69fdaa1fb7ad30b099 (patch)
treee8a5109643abf6407a233dc78fa7988a619b807f /synapse/handlers/oidc_handler.py
parentMerge commit 'c6f8e8086' into anoa/dinsic_release_1_31_0 (diff)
parent 1.31.0rc1 (diff)
downloadsynapse-69d83ca0f099bc2ce7a78d69fdaa1fb7ad30b099.tar.xz
Merge commit '78e48f61b' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/handlers/oidc_handler.py')
-rw-r--r--synapse/handlers/oidc_handler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/oidc_handler.py b/synapse/handlers/oidc_handler.py

index bc3630e9e9..6624212d6f 100644 --- a/synapse/handlers/oidc_handler.py +++ b/synapse/handlers/oidc_handler.py
@@ -149,6 +149,9 @@ class OidcHandler: Args: request: the incoming request from the browser. """ + # This will always be set by the time Twisted calls us. + assert request.args is not None + # The provider might redirect with an error. # In that case, just display it as-is. if b"error" in request.args: