Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-12911 Moodle 3.7 QA
  3. MDLQA-13438

CLONE - A user can authenticate with a Microsoft office account

XMLWordPrintable

      This test requires a Microsoft client ID and secret and Microsoft account for use in testing. It also requires a https test site which is configured to send outgoing mail.

      1. Log in as an admin, go to Site administration / Server / OAuth 2 services and set up and configure the OAuth 2 Microsoft service with a client ID and secret, as described in the documentation OAuth2 Services and OAuth 2 Microsoft service. Do not connect a system account. Make sure "authpreventaccountcreation" is not ticked.
      2. Go to Site administration / Plugins / Authentication / Manage authentication and enable the OAuth 2 authentication plugin.
      3. Log out of the admin account, then go to the login page and check that you see the option to log in using your account on Microsoft.
      4. Log in using your Microsoft account.
      5. Check that you get a message saying you will be sent a confirmation message to connect you to the site.
      6. Go to your Microsoft email, click the link in the confirmation message and verify you are now logged in to the site as a new account holder.
      7. Log back in as admin, go to Site administration / Plugins / Authentication / Manage authentication and verify it now displays 1 new user in the OAuth2 line.

        1. account creation.png
          account creation.png
          125 kB
        2. client id.png
          client id.png
          103 kB
        3. confirmation email.png
          confirmation email.png
          91 kB
        4. email sending error.png
          email sending error.png
          84 kB
        5. email sending error2.png
          email sending error2.png
          82 kB
        6. Login page.png
          Login page.png
          41 kB
        7. OAuth2 Services confirmation.png
          OAuth2 Services confirmation.png
          64 kB
        8. Require_email_verification.png
          Require_email_verification.png
          64 kB
        9. screenshot-qa.moodle.net-2019.05.06-15-32-23.png
          screenshot-qa.moodle.net-2019.05.06-15-32-23.png
          116 kB
        10. SSL required.png
          SSL required.png
          36 kB

            lameze Simey Lameze
            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.