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

Users asked to login twice using a browser window on custom apps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.9
    • 2.9
    • Accounts
    • Hide
      1. Set the type of login to "Via a browser window" in the local plugin settings
      2. Build a custom app with a fixed URL in www/config.json (parameter "siteurl").
      3. Install and launch the app in a device.
      4. The dialog with text "You need to log in to the site in a browser window." is shown. Click "OK" and enter the username / password in the browser.
      5. Check that the modal to login in browser is not shown again.
      Show
      Set the type of login to "Via a browser window" in the local plugin settings Build a custom app with a fixed URL in www/config.json (parameter "siteurl"). Install and launch the app in a device. The dialog with text "You need to log in to the site in a browser window." is shown. Click "OK" and enter the username / password in the browser. Check that the modal to login in browser is not shown again.
    • MOODLE_29_STABLE
    • MOODLE_29_STABLE

      The dialog with the message "You need to log in to the site in a browser window." is shown twice when a fixed URL is set in config.json, and login is done via a browser window.

      Steps to reproduce:

      1. Set the type of login to "Via a browser window" in the local plugin settings
      2. Build a custom app with a fixed URL in www/config.json (parameter "siteurl").
      3. Install and launch the app in a device.
      4. The dialog with text "You need to log in to the site in a browser window." is shown. Click "OK" and enter the username / password in the browser.

      Result:
      The same dialog is showm again, although you can see the "My courses" page is loaded in the background (see the attached screenshot). If you click "Cancel" you can continue to use the app as normal, already logged in. If you click "OK" the browser window is launched again.

      This happens on Android, I have not tested other platforms.

            dpalou Dani Palou
            albert.gasset Albert Gasset
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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