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

Auto-login only works in first iframe if several are displayed at the same time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.9.5
    • 3.9.4
    • H5P
    • Hide

      This issue only needs to be tested in 1 device. If you test in iOS, make sure to enable "Allow Cross-Website Tracking" in the app native settings.

      1. In web as teacher, create a page and put 3 iframes pointing to the same site (different URLs). It's important that the iframes point to somewhere that requires login, e.g. activities. There's one already created in Master > MM Dev Testing > Resource: Page > Page with several iframes to current site.
      2. In the app, open the page. Check that the app authenticates you in all the iframes, not just the first one.
      Show
      This issue only needs to be tested in 1 device. If you test in iOS, make sure to enable "Allow Cross-Website Tracking" in the app native settings. In web as teacher, create a page and put 3 iframes pointing to the same site (different URLs). It's important that the iframes point to somewhere that requires login, e.g. activities. There's one already created in Master > MM Dev Testing > Resource: Page > Page with several iframes to current site. In the app, open the page. Check that the app authenticates you in all the iframes, not just the first one.
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.5

    Description

      The app tries to auto-login if there is an iframe pointing to the current site. However, if there are several iframes like this in the same page, only the first one works because the user is only allowed to request one auto-login key every 6 minutes.

      In this case, the app should render the successful iframe first and, when done, load the rest so they use the same session.

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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