User windy reported that SSO avatars were not being overridden despite avatar_force_update and sso_overrides_avatar settings being enabled, seeking help after testing on both production and dev environments. Contributor Falco suggested checking specific logs and manually enqueuing the avatar download job. The root cause was identified by lukegb, who traced a code issue where the sso_overrides_avatar flag failed to trigger a Gravatar override because the override_gravatar parameter was not being passed through the necessary job queue. lukegb questioned if this was intentional, to which zogstrip confirmed it was a bug and invited a pull request. Finally, techAPJ announced the issue was fixed in a specific commit, resolving the misleading behavior for future users.
I know there are a few other posts about this, but none of them were able to solve my problem. Everything else in our SSO implementation works fine; this is the only thing that’s not working as expected. I’ve tried setting avatar_force_update to both true and 1 to no avail.
For what it’s worth, it works fine. The main problem is that sso_overrides_avatar is misleadingly named, because it won’t, in fact, override a Gravatar set on a user.