AnsweredAssumed Answered

Get Email from LTI 1.3 Launch

Question asked by Daniel Lopez on Aug 19, 2019
Latest reply on Aug 26, 2019 by Daniel Lopez

Well, I'm using GitHub - IMSGlobal/lti-1-3-php-library to run some test and familiarize myself with this new standard.

 

After some hipcups I was able to launch the demo. So far so good.

But then I noticed that I can't get the email from the launch data.

 

Here it is.

 

Array (     [https://purl.imsglobal.org/spec/lti/claim/message_type] => LtiDeepLinkingRequest     [https://purl.imsglobal.org/spec/lti/claim/version] => 1.3.0     [https://purl.imsglobal.org/spec/lti-dl/claim/deep_linking_settings] => Array         (             [deep_link_return_url] => https://vidgrid.instructure.com/courses/39/deep_linking_response?modal=true             [accept_types] => Array                 (                     [0] => link                     [1] => file                     [2] => html                     [3] => ltiResourceLink                     [4] => image                 )              [accept_presentation_document_targets] => Array                 (                     [0] => embed                     [1] => iframe                     [2] => window                 )              [accept_media_types] => image/*,text/html,application/vnd.ims.lti.v1.ltilink,*/*             [accept_multiple] =>              [auto_create] =>              [validation_context] =>              [errors] => Array                 (                     [errors] => Array                         (                         )                  )          )      [aud] => 149710000000000004     [azp] => 149710000000000004     [https://purl.imsglobal.org/spec/lti/claim/deployment_id] => 77:ef42577560dbb9f4932b829b1ebcaab31428040b     [exp] => 1566228464     [iat] => 1566224864     [iss] => https://canvas.instructure.com     [nonce] => nonce-5d5ab1e1340402.37906781     [sub] => bf1e68b3-5b2c-4f7b-9be6-5489bf890aaf     [https://purl.imsglobal.org/spec/lti/claim/target_link_uri] => http://localhost:9001/game_example/game.php     [https://purl.imsglobal.org/spec/lti/claim/context] => Array         (             [id] => ef42577560dbb9f4932b829b1ebcaab31428040b             [label] => CloudVidgrid             [title] => CloudVidgrid             [type] => Array                 (                     [0] => http://purl.imsglobal.org/vocab/lis/v2/course#CourseOffering                 )              [validation_context] =>              [errors] => Array                 (                     [errors] => Array                         (                         )                  )          )      [https://purl.imsglobal.org/spec/lti/claim/tool_platform] => Array         (             [guid] => NT9pgxz1jHdyoPOyqagEKwoPZkQAl87ZbN5nzCqU:canvas-lms             [name] => VidGrid             [version] => cloud             [product_family_code] => canvas             [validation_context] =>              [errors] => Array                 (                     [errors] => Array                         (                         )                  )          )      [https://purl.imsglobal.org/spec/lti/claim/launch_presentation] => Array         (             [document_target] => iframe             [height] => 400             [width] => 800             [return_url] => https://vidgrid.instructure.com/courses/39/external_content/success/external_tool_dialog             [locale] => en             [validation_context] =>              [errors] => Array                 (                     [errors] => Array                         (                         )                  )          )      [locale] => en     [https://purl.imsglobal.org/spec/lti/claim/roles] => Array         (             [0] => http://purl.imsglobal.org/vocab/lis/v2/institution/person#Administrator             [1] => http://purl.imsglobal.org/vocab/lis/v2/institution/person#Instructor             [2] => http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor             [3] => http://purl.imsglobal.org/vocab/lis/v2/system/person#User         )      [https://purl.imsglobal.org/spec/lti/claim/custom] => Array         (         )      [errors] => Array         (             [errors] => Array                 (                 )          )  )

Is there a setting in canvas that allows the email to be sent?

 

 

 

I activated that in the settings but it doesn't seem like is doing anything.

 

I also asked here

How to use this example using Canvas as a platform? · Issue #23 · IMSGlobal/lti-1-3-php-library · GitHub 

And he told me the email should come from the launch data.

 

Thanks!

Outcomes