Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16559

CLONE - An admin can enable users to authenticate with their Microsoft office account




      This test requires a Microsoft client ID and secret and Microsoft account for use in testing. The test site should be https and 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. MDLQA-16559 1.png
          MDLQA-16559 1.png
          40 kB
        2. MDLQA-16559 2.png
          MDLQA-16559 2.png
          33 kB
        3. MDLQA-16559 3.png
          MDLQA-16559 3.png
          11 kB
        4. MDLQA-16559 4.png
          MDLQA-16559 4.png
          38 kB
        5. MDLQA-16559 5.png
          MDLQA-16559 5.png
          80 kB

        Issue Links



              lameze Simey Lameze
              0 Vote for this issue
              3 Start watching this issue




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