Skip to content

Commit

Permalink
update lti 1.3 message params to spec
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispittman committed Dec 9, 2024
1 parent 6999a2b commit 56f39e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/LtiTool.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ protected function onError() : void
public function createDeploymentIdFromExistingPlatform() : void
{
$messageParms = collect($this->getMessageParameters());
$platform_id = $messageParms->get('platform_id'); //request('iss');
$client_id = $messageParms->get('oauth_consumer_key'); //request('client_id');
$deployment_id = $messageParms->get('deployment_id'); //request('lti_deployment_id');
$platform_id = $messageParms->get('iss');
$client_id = $messageParms->get('client_id');
$deployment_id = $messageParms->get('lti_deployment_id');

// if the JWT parms indicate a platform...
if ($platform_id!==null && $client_id!==null && $deployment_id!==null) {
Expand Down

0 comments on commit 56f39e0

Please sign in to comment.