# Sso overrides avatar

**URL:** <https://meta.discourse.org/t/sso-overrides-avatar/56715>\
**Category:** WordPress\
**Created:** [February 1, 2017, 2:14pm UTC](https://meta.discourse.org/t/sso-overrides-avatar/56715 "2017-02-01T14:14:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [February 1, 2017, 8:17pm UTC](https://meta.discourse.org/t/sso-overrides-avatar/56715/4 "2017-02-01T20:17:23Z")

</div>

What seem to be happening is that when WordPress avatar is set using Gravatar, changing the Gavatar doesn’t change the avatar URL, so the test for `avatar_changed` in `discourse_single_sign_on.rb` is failing.

I can change the wp\_discourse plugin to send the parameter `avatar_force_update = 'true'` with the SSO parameters. That works, but it overrides the Discourse setting `sso_overrides_avatar`, so it will change user avatars when that setting isn’t selected.

---

_[View the full topic](https://meta.discourse.org/t/sso-overrides-avatar/56715)._
