MDL-70074 mod_lti: add authorization_endpoint

This commit is contained in:
Claude Vervoort 2020-10-30 15:57:15 -04:00
parent 99680d1be4
commit 6f34fe6dfe

View File

@ -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'],