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

Gravatar prevents set user avatar via OAuth2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Testing Instructions:
      Hide

      Suggested steps to reproduce issue (with Facebook OAuth2):

      Preliminary assumptions:

      • no Gravatar picture set for tested e-mail (on Gravatar site)
      • Facebook OAuth2 on Moodle site should be configured

      Test 1:

      1. Enable Gravatar on Moodle,
      2. Set profile picture on Facebook,
      3. Log in to Moodle via OAuth2 - e.g. sign up via Facebook OAuth2,
      4. Avatar will not be set but should
      5. Remove account (not required)

      Test 2:

      1. Disable Gravatar on Moodle,
      2. Set profile picture on Facebook,
      3. Log in to Moodle via OAuth2 - e.g. sign up via Facebook OAuth2,
      4. Avatar will be set
      5. Remove account (not required)
      Show
      Suggested steps to reproduce issue (with Facebook OAuth2): Preliminary assumptions: no Gravatar picture set for tested e-mail (on Gravatar site) Facebook OAuth2 on Moodle site should be configured Test 1: Enable Gravatar on Moodle, Set profile picture on Facebook, Log in to Moodle via OAuth2 - e.g. sign up via Facebook OAuth2, Avatar will not be set but should Remove account (not required) Test 2: Disable Gravatar on Moodle, Set profile picture on Facebook, Log in to Moodle via OAuth2 - e.g. sign up via Facebook OAuth2, Avatar will be set Remove account (not required)
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      I noticed that if Gravatar is enabled, the user's avatar is not set via OAuth2. This happens even if the user with the given e-mail address does not have an image in Gravatar (not have Gravatar account too).

      Probably related with: MDL-58908

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            lukasz Łukasz Szeremeta
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: