Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-19836 Moodle 5.0 QA
  3. MDLQA-20111

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

XMLWordPrintable

      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. Check the 'Require email verification' checkbox. Do not connect a system account.
      2. Go to Site administration > Plugins > Authentication > Manage authentication and enable the OAuth 2 authentication plugin and ensure 'authpreventaccountcreation' is not checked.
      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. Attempt to 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 that your Moodle registration has been confirmed.
      7. Click on the 'Login' button and proceed to authenticate with Microsoft.
      8. 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. step01a.png
          step01a.png
          32 kB
        2. step01b.png
          step01b.png
          70 kB
        3. step01c.png
          step01c.png
          44 kB
        4. step01d.png
          step01d.png
          37 kB
        5. step02a.png
          step02a.png
          43 kB
        6. step02b.png
          step02b.png
          53 kB
        7. step02c.png
          step02c.png
          59 kB
        8. step03.png
          step03.png
          30 kB
        9. step05.png
          step05.png
          18 kB
        10. step06a.png
          step06a.png
          28 kB
        11. step06b.png
          step06b.png
          15 kB
        12. step07.png
          step07.png
          78 kB
        13. step08.png
          step08.png
          37 kB

            ruseler Adriano Ruseler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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