Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-12282 Moodle 3.6 QA
  3. MDLQA-12811

CLONE - A user can authenticate with a Microsoft office account

    XMLWordPrintable

    Details

      Description

      Test prerequisites:

      This test requires the tester to have access to a Microsoft account, for the test user.

      1. As admin, access Server > Oauth 2 services and click to create a new Microsoft service
      2. Follow the instructions in https://docs.moodle.org/dev/OAuth2_Services and in particular https://docs.moodle.org/dev/OAuth2_Services_Setup_Project_In_Microsoft to set up the Microsoft authentication. Do not connect a system account. Make sure "authpreventaccountcreation" is not ticked.
      3. Make sure that in Plugins>Manage authentication, OAuth2 is now enabled, and log out of the admin account
      4. Go to the log in page and you should see the option to log in using your account on Microsoft. Log in using your MS account.
      5. You should 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 and access the Manage authentication screen and verify it now displays 1 new user in the OAuth2 line.

        Attachments

        1. confirmationmail.png
          confirmationmail.png
          54 kB
        2. confirmationmailinfo.png
          confirmationmailinfo.png
          30 kB
        3. confirmationmicrosoft.png
          confirmationmicrosoft.png
          2.27 MB
        4. confirmationpendinguser.png
          confirmationpendinguser.png
          64 kB
        5. confirmationwelcome.png
          confirmationwelcome.png
          70 kB
        6. oauthmicrosoftsetup.png
          oauthmicrosoftsetup.png
          86 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: