Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-15331

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




      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.


        1. Capture1 (step 6) - Facebook Login Settings.png
          144 kB
          Helen Foster
        2. Capture2 (step 7) - Facebook API Settings.png
          129 kB
          Helen Foster
        3. MDLQA-15331 - confimation and login.png
          94 kB
          Carlos Escobedo
        4. MDLQA-15331 - email confirmation.png
          109 kB
          Carlos Escobedo
        5. MDLQA-15331 - email sended.png
          62 kB
          Carlos Escobedo
        6. MDLQA-15331 - login facebook credentials.png
          57 kB
          Carlos Escobedo
        7. MDLQA-15331 - Login oauth2 facebook.png
          75 kB
          Carlos Escobedo
        8. MDLQA-15331 - oauth2 has increased by one.png
          92 kB
          Carlos Escobedo

          Issue Links



              cescobedo Carlos Escobedo
              0 Vote for this issue
              1 Start watching this issue