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

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

    XMLWordPrintable

    Details

      Description

      This test requires a Facebook client ID and secret and account for use in testing.

      1. Log in as an admin and set up and configure the OAuth 2 Facebook service with a client ID and secret, as described in the documentation OAuth2 Services and OAuth 2 Facebook service.
      2. Enable the OAuth 2 authentication plugin. Leave 'Prevent account creation when authenticating' disabled (the default setting), so when a new user authenticates, an account on the site is automatically created.
      3. Log out then try to log in as a user with a Facebook account using the "Log in using your account on Facebook" button on the login page.
      4. Check that you see a message saying that a confirmation email has been sent.
      5. Check you email and follow the link in the confirmation email.
      6. Check that a new account is created with name as on Facebook.
      7. Log out and log in again as admin and go to Manage authentication.
      8. Check that for OAuth 2 the number of users has increased by one.

        Attachments

        1. confirmationmail.png
          53 kB
          Adrian Perez
        2. confirmationmailerror1.png
          63 kB
          Adrian Perez
        3. confirmationmailerror2.png
          68 kB
          Adrian Perez
        4. confirmationmailinfo.png
          28 kB
          Adrian Perez
        5. confirmationpendingadmin.png
          54 kB
          Adrian Perez
        6. confirmationpendinguser.png
          65 kB
          Adrian Perez
        7. oauthfacebooksetup.png
          82 kB
          Adrian Perez

          Activity

            People

            Assignee:
            pead Adrian Perez
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: