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

No error is displayed if you scan another URL scheme in credentials

XMLWordPrintable

    • Hide

      This issue only needs to be tested in 1 device.

      Official app

      1. In a browser of a desktop device, generate 2 QR codes (you can use this tool):
        1. A URL with a custom URL scheme different than the one in the app (e.g. 'fakescheme://http://moodle.org').
        2. A URL to a certain moodle site: e.g. http://moodle.org
      2. In the app, click to add a new site and click to scan a QR code.
      3. Scan the QR of the point 1.1. Check that the app displays an error saying that the URL isn't meant to be opened in this app.
      4. Scan the QR of the point 1.2. Check that you're sent to credentials.

      Branded app with a fixed site URL

      1. Using a branded app that has a fixed URL set and displays the scan QR button in the credentials page, click to add a site and click the scan QR button.
      2. Scan the code of the point 1.1 of the previous section. Check that the app displays an error saying that the URL isn't meant to be opened in this app.
      3. Now scan the code of the point 1.2 of the previous section. Check that the app displays an error saying that it isn't a valid login URL.
      Show
      This issue only needs to be tested in 1 device. Official app In a browser of a desktop device, generate 2 QR codes (you can use this tool ): A URL with a custom URL scheme different than the one in the app (e.g. 'fakescheme:// http://moodle.org'). A URL to a certain moodle site: e.g.  http://moodle.org In the app, click to add a new site and click to scan a QR code. Scan the QR of the point 1.1. Check that the app displays an error saying that the URL isn't meant to be opened in this app. Scan the QR of the point 1.2. Check that you're sent to credentials. Branded app with a fixed site URL Using a branded app that has a fixed URL set and displays the scan QR button in the credentials page, click to add a site and click the scan QR button. Scan the code of the point 1.1 of the previous section. Check that the app displays an error saying that the URL isn't meant to be opened in this app. Now scan the code of the point 1.2 of the previous section. Check that the app displays an error saying that it isn't a valid login URL.
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.3

      In a BMA with one siteurl:

      1. Click to scan a QR code.
      2. Scan a code with a URL scheme that doesn't belong to the current app. Check that nothing happens. We should display an error.

      Also, the same scenario in the site screen puts the URL in the input and tries to connect, it doesn't make sense to do that if the URL isn't http(s).

            dpalou Dani Palou
            dpalou Dani Palou
            Noel De Martin Noel De Martin
            Juan Leyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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