Users report that custom profile pictures uploaded via SSO are being overridden by Gravatars upon re-login, despite not enabling SSO to override avatars. Soohian confirms they only enabled auto-download of Gravatars (not override), yet users’ chosen custom avatars are still replaced. osioke suggests SSO might be overriding avatars during sync, but Soohian clarifies that setting is disabled. david acknowledges this as a potential bug, citing the code logic that should only update avatars if no custom one exists and SSO sends an avatar — implying a logic flaw. Later, itsbhanusharma reports the same issue persists even after disabling all Gravatar-related settings, suggesting the bug remains unresolved. The core issue is that user preference for custom avatars is not being preserved across logins, contradicting expected behavior.
I noticed that we can upload a custom profile pic and choose an option to use it, but after logging out and logging in again, our profile pic is auto-replaced by the Gravatars. Is this a bug?
I have the setting, “automatically download gravatars” enabled, but I supposed this is for users upon account creation or email change. If users have already chosen to use their custom pic instead of the gravatar, it shouldn’t be overridden?
If you SSO is set to override user avatars/profile pictures, it will update the Discourse avatar every time it syncs, which happens when user’s log in.
I didn’t enable it for Discourse Connect (SSO) to override user avatar.
I’ve only enabled the Gravatar to auto download (but not override):
So I think this is what’s causing the problem of overriding user’s custom avatar.
I think it goes back to the issue: whether users can choose to prioritize custom pics over gravatars.
Because although gravatars are automatically loaded, if the user chooses to use custom pic in their profile, this choice should be recorded/remembered when we click Save Changes.
Apologies for reviving this old topic, I believe we’re experiencing this same behavior on a site right now. Was this bug identified and resolved?
avatars for users seem to get reset to gravatar randomly despite us having all gravatar related settings explicitly nuked (by unchecking or removing every setting that has gravatar in it)