From 5851f26e5a8e894d838121bf3b5607d5b4773814 Mon Sep 17 00:00:00 2001 From: Charles Severance Date: Fri, 24 May 2024 11:24:35 -0400 Subject: [PATCH] Recorde the transition resource_link_id --- src/Core/LTIX.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Core/LTIX.php b/src/Core/LTIX.php index 4117a984..fb451ca5 100644 --- a/src/Core/LTIX.php +++ b/src/Core/LTIX.php @@ -1123,6 +1123,9 @@ public static function extractJWT($needed=self::ALL, $input=false) { $retval['lti11_transition_user_id'] = $lti11_transition->user_id; $retval['lti11_transition_oauth_consumer_key'] = $lti11_transition->oauth_consumer_key; $retval['lti11_transition_oauth_consumer_key_sign'] = $lti11_transition->oauth_consumer_key_sign; + if (isset($lti11_transition->resource_link_id)) { + $retval['lti11_transition_resource_link_id'] = $lti11_transition->resource_link_id; + } } }