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

BasicLTI: Unable to set encrypted session

    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..."

       

      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..."  

      Description

      I was able to set an encrypted session on trunk before, but now it's not even working on trunk. I tested  20, 19.3 and 19.2. Even though it shows the property set, I'm not seeing the expected variable (or even the message stating the tool is sharing session information).

      https://qa19-mysql.nightly.sakaiproject.org/portal/site/623d3eb3-f071-4a4d-b608-cac7cb8ad16e/

      Tool: Test LTI

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jonespm Matthew Jones
                Reporter:
                agschmidt Andrea Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code