Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71273

Add a new option in Moodle app "Disabled features" for preventing the new LTI launch in the app

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-71273-master
    • Hide
      1. As admin, enable "Mobile services": Plugins ► Web Services ► Mobile if it is not already enabled
      2. Go to Site administration ►Mobile app ►Mobile features - Disabled features option
      3. Select the following
        1. "External tool -> Launch via site in system browser" option
      4. Save changes
      5. Open a terminal/console and execute the following command:

        curl 'YOUR_SITE_WWWROOT/lib/ajax/service.php' --data-binary '[{"index":0,"methodname":"tool_mobile_get_public_config","args":{}}]' | python -m "json.tool"

      6. Check that in the WS response, in the tool_mobile_disabledfeatures value field, you see
        • The following value: CoreCourseModuleDelegate_AddonModLti:launchViaSite
      7. Now, go back to Site administration ►Mobile app ►Mobile features - Disabled features option, and unselect all the options
      8. Execute the CURL request again and check that:
        • The tool_mobile_disabledfeatures value is empty
      Show
      As admin, enable "Mobile services": Plugins ► Web Services ► Mobile if it is not already enabled Go to Site administration ►Mobile app ►Mobile features - Disabled features option Select the following "External tool -> Launch via site in system browser" option Save changes Open a terminal/console and execute the following command: curl 'YOUR_SITE_WWWROOT/lib/ajax/service.php' --data-binary ' [{"index":0,"methodname":"tool_mobile_get_public_config","args":{}}] ' | python -m "json.tool" Check that in the WS response, in the tool_mobile_disabledfeatures value field, you see The following value: CoreCourseModuleDelegate_AddonModLti:launchViaSite Now, go back to Site administration ►Mobile app ►Mobile features - Disabled features option, and unselect all the options Execute the CURL request again and check that: The tool_mobile_disabledfeatures value is empty

      In the latest Moodle app version, we are adding a new launch method for LTI, we will be always launching the LTI via the site (doing before an auto-login process to the site).

      This is change how it works now because so far we always launched LTI via the app in the in-app browser. So we need to add this new option to allow the old method to work in the app (it will work fine for LTI 1.1)

            dpalou Dani Palou
            jleyva Juan Leyva
            Juan Leyva Juan Leyva
            Jake Dallimore Jake Dallimore
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 50 minutes
                50m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.