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

Support new OAuth methods natively in the app

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.0
    • 3.2.1
    • Authentication
    • 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
    • MOODLE_32_STABLE
    • MOODLE_33_STABLE
    • Moodle Mobile 3.3.0

      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

            dpalou Dani Palou
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Berta Maroto Berta Maroto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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