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

Auto-login support in the app

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide

      To test this you need a Moodle with master branch using https. Also, you should invalidate (delete) all the user tokens so they request a new one. Finally, take into account that you can only use auto-login every certain minutes.

      1. Login in the app. You should add a new site or reconnect to the current site to request a new private token. Test in qa.moodle.net
      2. Click a link to the site that should open in browser (like the "open in browser" button in activities). Check that you're authenticated automatically in the site in browser.
      3. Go to grades, click a row of an activity and then click the activity name. Check that you're redirected in the app if the activity is supported. Check that the browser is opened and you're authenticated automatically if the activity is not supported.
      4. Check that LTI and URL still work as expected. If the URL points to the current site (to a non supported element), check that you're authenticated automatically.
      Show
      To test this you need a Moodle with master branch using https. Also, you should invalidate (delete) all the user tokens so they request a new one. Finally, take into account that you can only use auto-login every certain minutes. Login in the app. You should add a new site or reconnect to the current site to request a new private token. Test in qa.moodle.net Click a link to the site that should open in browser (like the "open in browser" button in activities). Check that you're authenticated automatically in the site in browser. Go to grades, click a row of an activity and then click the activity name. Check that you're redirected in the app if the activity is supported. Check that the browser is opened and you're authenticated automatically if the activity is not supported. Check that LTI and URL still work as expected. If the URL points to the current site (to a non supported element), check that you're authenticated automatically.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2

      Description

      Once MDL-45639 lands, we have two change a few parts of the app where there are links pointing to Moodle:

      • Core activities not supported by the app: Open them using auto-login
      • Non core activities: The same
      • Other links in activities pointing to the site: Same

      In general, all the links must be processed and if they point to the site they should be captured and opened via SSO

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Dec/16

                  Time Tracking

                  Estimated:
                  Original Estimate - 6 hours
                  6h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours Time Not Required
                  4h