Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-10999 Moodle 3.4 QA testing
  3. MDLQA-11555

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

XMLWordPrintable

      This test requires a Google client ID and secret and email address for use in testing.

      1. Log in as an admin and set up and configure the OAuth 2 Google service with a client ID and secret, as described in the documentation OAuth2 Services and OAuth 2 Google service.
      2. Enable the OAuth 2 authentication plugin.
      3. In the manage authentication common settings, enable 'Prevent account creation when authenticating' (authpreventaccountcreation).
      4. Log out and try to log in with a Google account using the "Log in using your account on Google" button on the login page.
      5. Check that you can't.
      6. Log in as admin and disable 'Prevent account creation when authenticating' (authpreventaccountcreation).
      7. Log out again and try to log in with a Google account again.
      8. Check that you see a message saying that a confirmation email has been sent.
      9. Check you email and follow the link in the confirmation email.
      10. Check that an account is created with a picture and profile info from Google.
      11. Log in as admin and delete the account that you just created.
      12. Log in with another account which has no profile picture set.
      13. Go to your preferences page and click the link "Linked logins".
      14. Link a Google login to your Moodle account.
      15. Log out and verify you can log in to your Moodle account using your Google login.
      16. Check that the profile picture is updated to the one from Google.
      17. Change your profile picture to something else.
      18. Log out and log in again with the Google account.
      19. Check that your profile picture hasn't changed.

            ryanwyllie Ryan Wyllie
            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.