Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42251

BasicLTI: Encrypted session is not returning a userEid

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      As the instructor:

      1. Create a new site and add External Tool
      2. Click on External Tool -> Edit and enter the following:
      3. Check the following boxes:
        • Debug Launch
        • Send Names to the External Tool
        • Send Email Addresses to the External Tool
      4. Click Update Options

      Log in as the admin:

      1. Click on Worksite Setup -> Administration Workspace -> Sites
      2. Search for the instructor's site ID
      3. Click on the site link
      4. Scroll down and click on Add/Edit Pages
      5. Find the page for the External Tool and click on it
      6. Click on Tools -> link
      7. Scroll down the page and click on the Properties button
      8. Enter the following:
        • Name: imsti.ext_sakai_encrypted_session 
        • Value: true
      9. Click Save

      As the instructor:

      1. Launch the External Tool
      2. You should see a message stating the tool will be sharing your session information with the external tool
      3. Click the Press to continue to external tool button
      4. You will see another Press to continue to external tool button and a Show Launch Data button
      5. Click the Show Launch Data button
      6. Now you should see the the pre-launch debug data
      7. Look for a variable "ext_sakai_encrypted_session" - it should be a long hex string like "bd0a3635eb5f20..."
      8. You should also see ext_sakai_eid
      9. Click Press to continue to external tool
      10. Right-click the Test Encrypted Session Extension and open it in a new tab

      Expected behavior: the "userEid" should contain a value , but currently is null

      Show
      As the instructor: Create a new site and add External Tool Click on External Tool -> Edit and enter the following: Remote Tool Url: https://www.tsugi.org/lti-test/tool.php *Remote Tool Key: 12345 *Remote Tool Secret: secret Check the following boxes: Debug Launch Send Names to the External Tool Send Email Addresses to the External Tool Click Update Options Log in as the admin: Click on Worksite Setup -> Administration Workspace -> Sites Search for the instructor's site ID Click on the site link Scroll down and click on Add/Edit Pages Find the page for the External Tool and click on it Click on Tools -> link Scroll down the page and click on the Properties button Enter the following: Name: imsti.ext_sakai_encrypted_session  Value: true Click Save As the instructor: Launch the External Tool You should see a message stating the tool will be sharing your session information with the external tool Click the Press to continue to external tool button You will see another Press to continue to external tool button and a Show Launch Data button Click the Show Launch Data button Now you should see the the pre-launch debug data Look for a variable "ext_sakai_encrypted_session" - it should be a long hex string like "bd0a3635eb5f20..." You should also see ext_sakai_eid Click Press to continue to external tool Right-click the Test Encrypted Session Extension and open it in a new tab Expected behavior: the "userEid" should contain a value , but currently is null

      Description

      Following the steps in the test plan and also adding "extras" (Send Names to the External Tool and Send Email Addresses to the External Tool ), I'm not able to get the userEid from the encrypted session.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                csev Charles Severance
                Reporter:
                agschmidt Andrea Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code