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

Support new OAuth methods natively in the app

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: Authentication
    • Labels:
    • Testing Instructions:
      Hide
      1. Install the app in a device and click to add a new site. Enter the URL for prototype 3.3 and click Connect.
      2. Check that you see 3 buttons after the Log In button: Google, Microsoft, Facebook.
      3. Check that you can login using any of the 3 buttons. Please test all the buttons.
      4. When logging in via Google, a new browser should be opened. For Microsoft and Facebook the inapp browser (inside the app browser) should be opened.
      5. Click to "Logout" from any of the accounts used in the previous step (make sure that the string is "Logout" and not "Change Site").
      6. Try to enter the account again so you're sent to the "Reconnect" screen. Check that you see the 3 buttons in there too and you can use them to reconnect to the site (testing 1 button is enough in here).
      7. Check that you can still do a normal user login in prototype 3.2
      Show
      Install the app in a device and click to add a new site. Enter the URL for prototype 3.3 and click Connect. Check that you see 3 buttons after the Log In button: Google, Microsoft, Facebook. Check that you can login using any of the 3 buttons. Please test all the buttons. When logging in via Google, a new browser should be opened. For Microsoft and Facebook the inapp browser (inside the app browser) should be opened. Click to "Logout" from any of the accounts used in the previous step (make sure that the string is "Logout" and not "Change Site"). Try to enter the account again so you're sent to the "Reconnect" screen. Check that you see the 3 buttons in there too and you can use them to reconnect to the site (testing 1 button is enough in here). Check that you can still do a normal user login in prototype 3.2
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Sprint:
      Moodle Mobile 3.3.0

      Description

      In MDL-58400 we included some improvements to be able to display the OAuth buttons (Google, Facebook, Microsoft) directly in the Mobile app.

      This is interesting because we'll be allowing SSO via OAuth without having to force administrators to configure Moodle to force authentication in a new browser window.

      The overall idea is to display the Google, Facebook, Microsoft icons in the log-in page in the app (just bellow the username/password).

      If the user click one of those icons, the app will launch in a new browser for Google, and in embedded browsers (Facebook, Microsoft) the admin/tool/mobile/launch.php script passing the new parameter oauthsso

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                26/May/17