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

App freezes when SSO via inappbrowser is launched in an active site where the token expired

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.2
    • 3.9.3
    • Others
    • Hide

      This issue only needs to be tested in 1 device.

      1. In the app, login in a site configured to authenticate in InAppBrowser (e.g. 32 site is already configured).
      2. In web, login in the same site with the same user.
      3. In web, go to Preferences > Security Keys and Reset the user token.
      4. In the app, perform a PTR in Site Home or Dashboard. Check that the InAppBrowser is opened to re-authenticate.
      5. Click "Cancel".
      6. Click the "Calendar" tab. Check that the Calendar is opened (please notice it could display an error or open the InAppBrowser again). The important part is that the app tries to open the Calendar tab, before the fix the click did nothing.
      7. Now make the InAppBrowser open again (if it didn't open already in Calendar) and authenticate instead of cancelling.
      8. Check that after reauthenticating you can use the app successfully.

       

      Show
      This issue only needs to be tested in 1 device. In the app, login in a site configured to authenticate in InAppBrowser (e.g. 32 site is already configured). In web, login in the same site with the same user. In web, go to Preferences > Security Keys and Reset the user token. In the app, perform a PTR in Site Home or Dashboard. Check that the InAppBrowser is opened to re-authenticate. Click "Cancel". Click the "Calendar" tab. Check that the Calendar is opened (please notice it could display an error or open the InAppBrowser again). The important part is that the app tries to open the Calendar tab, before the fix the click did nothing. Now make the InAppBrowser open again (if it didn't open already in Calendar) and authenticate instead of cancelling. Check that after reauthenticating you can use the app successfully.  
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.3

    Description

      See video, the app becomes unresponsive (although it seems that the bottom tab items works).

      How to reproduce:

      1. Login in a site using InAppBrowser SSO.
      2. In web, reset the user token.
      3. In the app, perform a PTR so the app opens the InAppBrowser to re-authenticate.
      4. Click "Cancel".
      5. In my case (Dani), I could select the Dashboard, Messaging and Notifications tab, but no the Calendar or More ones.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              30/Nov/20