From 258aa6220c5458cf39e66934d663fafbc984ee89 Mon Sep 17 00:00:00 2001 From: Nikolas Nyby Date: Fri, 5 Apr 2024 16:17:15 -0400 Subject: [PATCH] Update testing configs There are so many steps to configure all this. These changes get us a bit closer - the OIDC auth endpoints need to be specified correctly on the canvas instance. --- configs/config.json | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/configs/config.json b/configs/config.json index 5d5f8144..2fbc9e09 100644 --- a/configs/config.json +++ b/configs/config.json @@ -1,5 +1,5 @@ { - "http://imsglobal.org": [{ + "https://imsglobal.org": [{ "default": true, "client_id": "pytest12345", "auth_login_url": "https://lti-ri.imsglobal.org/platforms/370/authorizations/new", @@ -21,12 +21,27 @@ "public_key_file": "public.key", "deployment_ids": ["py1234"] }], + "https://tc.test.instructure.com": [{ + "default": true, + "client_id": "43060000000000260", + "auth_login_url": "https://tc.test.instructure.com/api/lti/authorize_redirect", + "auth_token_url": "https://tc.test.instructure.com/login/oauth2/token", + "key_set_url": "https://tc.test.instructure.com/api/lti/security/jwks", + "key_set": null, + "private_key_file": "private.key", + "public_key_file": "public.key", + "deployment_ids": [ + "2:4dde05e8ca1973bcca9bffc13e1548820eee93a3", + "22708:d9b22ed2c560ba981f77e3f9b47853130e830f34", + "22725:7db438071375c02373713c12c73869ff2f470b68" + ] + }], "https://canvas.instructure.com": [{ "default": true, "client_id": "43060000000000260", - "auth_login_url": "http://canvas.test/api/lti/authorize_redirect", - "auth_token_url": "http://canvas.test/login/oauth2/token", - "key_set_url": "http://canvas.test/api/lti/security/jwks", + "auth_login_url": "https://canvas.instructure.com/api/lti/authorize_redirect/", + "auth_token_url": "https://canvas.instructure.com/login/oauth2/token", + "key_set_url": "https://canvas.instructure.com/api/lti/security/jwks", "key_set": null, "private_key_file": "private.key", "public_key_file": "public.key", @@ -38,9 +53,9 @@ "https://canvas.test.instructure.com": [{ "default": true, "client_id": "43060000000000260", - "auth_login_url": "http://canvas.test/api/lti/authorize_redirect", - "auth_token_url": "http://canvas.test/login/oauth2/token", - "key_set_url": "http://canvas.test/api/lti/security/jwks", + "auth_login_url": "https://canvas.test.instructure.com/api/lti/authorize_redirect/", + "auth_token_url": "https://canvas.test.instructure.com/login/oauth2/token", + "key_set_url": "https://canvas.test.instructure.com/api/lti/security/jwks", "key_set": null, "private_key_file": "private.key", "public_key_file": "public.key", @@ -83,13 +98,13 @@ "public_key_file": "public2.key", "deployment_ids": ["deployment-id"] }], - "http://moodle.test": [{ + "https://moodle.test": [{ "default": true, "client_id": "LyRl2z2Ai4Vxgok", - "auth_login_url": "http://moodle.test/mod/lti/auth.php", - "auth_token_url": "http://moodle.test/mod/lti/token.php", + "auth_login_url": "https://moodle.test/mod/lti/auth.php", + "auth_token_url": "https://moodle.test/mod/lti/token.php", "auth_audience": null, - "key_set_url": "http://moodle.test/mod/lti/certs.php", + "key_set_url": "https://moodle.test/mod/lti/certs.php", "key_set": null, "private_key_file": "private.key", "public_key_file": "public.key",