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

Do not display the username and password fields when using SSO

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: UX (User eXperience)
    • Labels:
    • Testing Instructions:
      Hide
      1. Install the app in a device and click to add a site.
      2. Enter the URL of a site that doesn't use SSO (e.g. prototype 3.2) and click "Connect". Check that you see the username and password inputs and the keyboard is automatically opened with the focus in username.
      3. Now modify the config.json file and add the URL of the same site you tried above. Once you're done, run gulp and install the app again in a device.
      4. Click to add a site. In the credentials screen, check that you see the username and password inputs and the keyboard is automatically opened with the focus in username.
      5. Modify config.json again but now use a site with SSO login enabled (e.g. prototype 2.6). Once you're done, run gulp and install the app again in a device.
      6. Click to add a site. In the credentials screen, check that you don't see the username and password inputs and the keyboard isn't opened.
      Show
      Install the app in a device and click to add a site. Enter the URL of a site that doesn't use SSO (e.g. prototype 3.2) and click "Connect". Check that you see the username and password inputs and the keyboard is automatically opened with the focus in username. Now modify the config.json file and add the URL of the same site you tried above. Once you're done, run gulp and install the app again in a device. Click to add a site. In the credentials screen, check that you see the username and password inputs and the keyboard is automatically opened with the focus in username. Modify config.json again but now use a site with SSO login enabled (e.g. prototype 2.6). Once you're done, run gulp and install the app again in a device. Click to add a site. In the credentials screen, check that you don't see the username and password inputs and the keyboard isn't opened.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      Right now we are displaying disabled those fields, we should avoid display them, we should keep only the login button and avoid to display the keyboard (it has a weird effect in Android, the keyboard is open in a screen without text fields and then the inapp browser is launched for doing the SSO)

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Pau Ferrer Pau Ferrer
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Juan Leyva Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Feb/17

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Time Spent - 45 minutes Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - 45 minutes Remaining Estimate - 15 minutes
                45m