Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64692

Update user profile fields according to info send by OAuth2 authorization server (Backport of MDL-61767)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 3.5.4, 3.6
    • Authentication
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • Hide
      1. Setup a Google OAuth2 service
        1. Untick the "Require email verification"
      2. Connect the system account
      3. Go to Site administration / Plugins / Authentication / Manage authentication.
      4. Enable the oAuth2 authentication mechanism
      5. Navigate to Site administration -> Users -> Browse
      6. Edit an existing user
      7. Set your Gmail account's e-mail address as the user's e-mail address
      8. Log out
      9. Log in again, with the account using oAuth2
        1. Confirm that the user's name and picture now reflect those on your account
      10. Log out
      11. Log in via oAuth2 again using a different Gmail account
        1. Confirm that the account was created
        2. Confirm that the details of that account were also pulled in
      Show
      Setup a Google OAuth2 service Untick the "Require email verification" Connect the system account Go to Site administration / Plugins / Authentication / Manage authentication. Enable the oAuth2 authentication mechanism Navigate to Site administration -> Users -> Browse Edit an existing user Set your Gmail account's e-mail address as the user's e-mail address Log out Log in again, with the account using oAuth2 Confirm that the user's name and picture now reflect those on your account Log out Log in via oAuth2 again using a different Gmail account Confirm that the account was created Confirm that the details of that account were also pulled in

      In order to fix MDL-61789 the patch from MDL-61767 is required.

      I also think MDL-61767 should have been classified as a bug as it handles saving data obtained from the Oauth2 server to the profile fields, which should have been included to begin with.

            mastnym Martin Mastny
            markn Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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