I’m using Moodle as an SSO identity provider on 2.2.0beta7, and it all seems to be working fine except user avatars aren’t updating.
sso overrides avatar set to true, and I’ve got
avatar_force_update returning true from the payload. The verbose debugging log gives the following output:
Verbose SSO log: User was logged on peter add_groups: admin: moderator: avatar_force_update: true avatar_url: https://moodle.***.***/pluginfile.php/42/user/icon/fordson/f1?rev=490 bio: card_background_url: email: peter@***.*** external_id: 4 groups: locale: locale_force_update: name: Peter ***** nonce: 66905e176b65dfde1eacc9edd5ada50f profile_background_url: remove_groups: require_activation: return_sso_url: suppress_welcome_message: title: username: peter@***.*** website:
I’ve gone through all the other threads on here, but none of the suggestions seem to work. Enqueuing the
download_avatar_from_url function from the rails console seems to give no error, and there’s absolutely nothing showing up in my logs aside from the verbose sso output. New users show up with the default capital letter avatar, and returning users just keep whatever they had before.
Any tips on how I might further debug would be greatly appreciated.