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

BasicLTI: Unable to set encrypted session

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      Log in as the site owner

      1. Click on Site Info -> Manage Tools and add an External Tool
      2. Configure the External Tool:
      3. Launch the tool and click Show Launch Data
      4. Look for a variable "ext_sakai_encrypted_session" - the variable should not be there
      5. Click Press to continue to external tool
      6. You should not see a link with the text "Test Encrypted Session Extension"

      Log in as admin

      1. Navigate through Worksite Setup -> Administration Workspace -> Sites to the site which has the tool
      2. Navigate into "Add/Edit Pages"
      3. Navigate into the particular page for the external tool
      4. Navigate into "Tools" and then navigate into the tool placement for the page
      5. At the bottom of the page, click the "Properties" button
      6. Add a property with a name of "imsti.ext_sakai_encrypted_session" and a value of "true"
      7. Save the tool and save the site

      Log back in as the site owner

      1. Launch the External Tool
      2. You should see a splash screen warning you that this tool will be sharing your session information with the external tool
      3. Press the Continue button
      4. Click the Press to continue to external tool button
      5. You will see another Press to continue to external tool button and a Show Launch Data button
      6. Click the Show Launch Data button
      7. Now you should see the the pre-launch debug data
      8. Look for a variable "ext_sakai_encrypted_session" - it should be a long hex string like "bd0a3635eb5f20..."
      9. Continue to the External Tool and you should now see a link for "Test Encrypted Session Extension

      Current behavior:

      There is no splash screen warning and no ext_sakai_encrypted_session 

      Show
      Log in as the site owner Click on Site Info -> Manage Tools and add an External Tool Configure the External Tool: url: https://www.tsugi.org/lti-test/tool.php Key: 12345 and Secret: secret Click Always launch in debug mode Save the tool Launch the tool and click Show Launch Data Look for a variable "ext_sakai_encrypted_session" - the variable should not be there Click Press to continue to external tool You should not see a link with the text "Test Encrypted Session Extension" Log in as admin Navigate through Worksite Setup -> Administration Workspace -> Sites to the site which has the tool Navigate into "Add/Edit Pages" Navigate into the particular page for the external tool Navigate into "Tools" and then navigate into the tool placement for the page At the bottom of the page, click the "Properties" button Add a property with a name of "imsti.ext_sakai_encrypted_session" and a value of "true" Save the tool and save the site Log back in as the site owner Launch the External Tool You should see a splash screen warning you that this tool will be sharing your session information with the external tool Press the Continue button 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..." Continue to the External Tool and you should now see a link for "Test Encrypted Session Extension Current behavior: There is no splash screen warning and no ext_sakai_encrypted_session 

      Description

      The encrypted session no longer works for the LTI tool:

      https://trunk-mysql.nightly.sakaiproject.org/portal/site/4d0a46b4-a5f6-496b-b808-de77b5cd9fb4

      This was working earlier this month, with SAK-42251 failing, but now I'm no longer able to get an encrypted session.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code