From 6f34fe6dfe52485424f7cdfb303e3c8cebba3e88 Mon Sep 17 00:00:00 2001 From: Claude Vervoort Date: Fri, 30 Oct 2020 15:57:15 -0400 Subject: [PATCH] MDL-70074 mod_lti: add authorization_endpoint --- mod/lti/openid-configuration.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/lti/openid-configuration.php b/mod/lti/openid-configuration.php index e30b121e32a..6de875d1d23 100644 --- a/mod/lti/openid-configuration.php +++ b/mod/lti/openid-configuration.php @@ -41,13 +41,14 @@ $conf = [ 'token_endpoint_auth_methods_supported' => ['private_key_jwt'], 'token_endpoint_auth_signing_alg_values_supported' => ['RS256'], 'jwks_uri' => (new moodle_url('/mod/lti/certs.php'))->out(false), + 'authorization_endpoint' => (new moodle_url('/mod/lti/auth.php'))->out(false), 'registration_endpoint' => (new moodle_url('/mod/lti/openid-registration.php'))->out(false), 'scopes_supported' => $scopes, 'response_types_supported' => ['id_token'], 'subject_types_supported' => ['public', 'pairwise'], 'id_token_signing_alg_values_supported' => ['RS256'], 'claims_supported' => ['sub', 'iss', 'name', 'given_name', 'family_name', 'email'], - 'https://purl.imsglobal.org/spec/lti-platform-configuration ' => [ + 'https://purl.imsglobal.org/spec/lti-platform-configuration' => [ 'product_family_code' => 'moodle', 'version' => $CFG->release, 'messages_supported' => ['LtiResourceLink', 'LtiDeepLinkingRequest'],