Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3724

Fix LTI 1.3 launch in the app

XMLWordPrintable

    • Hide

      This issue should be tested both in Android and iOS (1 device of each).

      Before testing this in iOS, please go to iOS native settings, select Safari and then disable "Prevent Cross-Site Tracking".

      Setup

      1. In a Moodle master site with MDL-71273 integrated, add a LTI 1.3 activity. There are 2 already in our master site:
        MM Dev Testing Course > External tool LTI > 1.3 Graded (IFrame)
        MM Dev Testing Course > External tool LTI > 1.3Not graded (new win)

      If you want to create it yourself, please follow the instructions in MDL-67473.

      1. In a 3.9 o 3.10 site, create an LTI activity if you don't have one already. It doesn't need to be 1.3, just any LTI activity.

      Test

      1. In the app, login in the master site and navigate to the LTI 1.3 activity.
      2. Click to launch it. Check that it's opened in the browser and it displays fine.
      3. As admin in web in the master site, go to Site administration > Mobile app > Mobile features > Disabled features and select the option External tool > Launch via site in system browser. Save changes.
      4. In the app, logout and login again in the master site.
      5. Navigate to the LTI activity.
      6. Click to launch it. Check that it's opened in InAppBrowser (it might not work fine now).
      7. Now logout and login in the 3.9 or 3.10 site.
      8. Navigate to the LTI activity.
      9. Click to launch it. Check that it's opened in InAppBrowser (embedded browser).
      10. As admin in web in the 3.9 or 3.10 site, go to Site administration > Mobile app > Mobile features > Disabled features and select the option External tool > Open using embedded browser. Save changes.
      11. In the app, logout and login again in the 3.9 or 3.10 site.
      12. Navigate to the LTI activity.
      13. Click to launch it. Check that it's opened in the browser (not InAppBrowser).
      Show
      This issue should be tested both in Android and iOS (1 device of each). Before testing this in iOS, please go to iOS native settings, select Safari and then disable "Prevent Cross-Site Tracking". Setup In a Moodle master site with MDL-71273 integrated, add a LTI 1.3 activity. There are 2 already in our master site: MM Dev Testing Course > External tool LTI > 1.3 Graded (IFrame) MM Dev Testing Course > External tool LTI > 1.3Not graded (new win) If you want to create it yourself, please follow the instructions in  MDL-67473 . In a 3.9 o 3.10 site, create an LTI activity if you don't have one already. It doesn't need to be 1.3, just any LTI activity. Test In the app, login in the master site and navigate to the LTI 1.3 activity. Click to launch it. Check that it's opened in the browser and it displays fine. As admin in web in the master site, go to Site administration > Mobile app > Mobile features > Disabled features and select the option External tool > Launch via site in system browser. Save changes. In the app, logout and login again in the master site. Navigate to the LTI activity. Click to launch it. Check that it's opened in InAppBrowser (it might not work fine now). Now logout and login in the 3.9 or 3.10 site. Navigate to the LTI activity. Click to launch it. Check that it's opened in InAppBrowser (embedded browser). As admin in web in the 3.9 or 3.10 site, go to Site administration > Mobile app > Mobile features > Disabled features and select the option External tool > Open using embedded browser. Save changes. In the app, logout and login again in the 3.9 or 3.10 site. Navigate to the LTI activity. Click to launch it. Check that it's opened in the browser (not InAppBrowser).
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.5

      LTI 1.3 launch usually involves an OpenId Connect process that currently the app is not able to launch.

      In order to fix this and to simplify future maintenance what we'd have to do is the following:

      • Open the LTI activity (external tool) in the device stock browser (forcing user auto-login)
      • Allow existing Moodle apps to disable this via a new "Mobile disable feature" called "Launch via the site (with auto-login)"

      With this approach, the complete LTI launch process will be handled by the Moodle site and it will be 100% functional

            dpalou Dani Palou
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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