summary refs log tree commit diff
path: root/tests/rest/client/v1/utils.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-01-08 14:24:41 +0000
committerGitHub <noreply@github.com>2021-01-08 14:24:41 +0000
commit12f79da587413b75bfc1a0b47bbd02587da0d2cf (patch)
treea98f144d4f86f9571962ef6b611cc8eb40c6b7b1 /tests/rest/client/v1/utils.py
parentFix validate_config on nested objects (#9054) (diff)
parentchangelog (diff)
downloadsynapse-12f79da587413b75bfc1a0b47bbd02587da0d2cf.tar.xz
Merge pull request #9036 from matrix-org/rav/multi_idp/tests
Add tests for the IdP picker
Diffstat (limited to 'tests/rest/client/v1/utils.py')
-rw-r--r--tests/rest/client/v1/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rest/client/v1/utils.py b/tests/rest/client/v1/utils.py
index dbc27893b5..81b7f84360 100644
--- a/tests/rest/client/v1/utils.py
+++ b/tests/rest/client/v1/utils.py
@@ -444,6 +444,7 @@ class RestHelper:
 
 
 # an 'oidc_config' suitable for login_via_oidc.
+TEST_OIDC_AUTH_ENDPOINT = "https://issuer.test/auth"
 TEST_OIDC_CONFIG = {
     "enabled": True,
     "discover": False,
@@ -451,7 +452,7 @@ TEST_OIDC_CONFIG = {
     "client_id": "test-client-id",
     "client_secret": "test-client-secret",
     "scopes": ["profile"],
-    "authorization_endpoint": "https://z",
+    "authorization_endpoint": TEST_OIDC_AUTH_ENDPOINT,
     "token_endpoint": "https://issuer.test/token",
     "userinfo_endpoint": "https://issuer.test/userinfo",
     "user_mapping_provider": {"config": {"localpart_template": "{{ user.sub }}"}},