From 03128485246b99554651841fcbe4e36deba19bbf Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Mon, 23 Nov 2015 18:02:15 +0100 Subject: [PATCH] Add the user first name and last name to the LTI request --- lti.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lti.php b/lti.php index f662aa1..8d80278 100644 --- a/lti.php +++ b/lti.php @@ -82,6 +82,8 @@ 'oauth_callback' => 'about:blank', 'lti_version' => 'LTI-1p0', 'lti_message_type' => 'basic-lti-launch-request', + 'lis_person_name_given' => $USER->firstname, + 'lis_person_name_family' => $USER->lastname, ); $hmacmethod = new lti\OAuthSignatureMethod_HMAC_SHA1();