# Discourse connect sync\_sso avatar update issue

**URL:** https://meta.discourse.org/t/discourse-connect-sync-sso-avatar-update-issue/205723
**Category:** SSO
**Tags:** rest-api
**Created:** [October 11, 2021, 11:31am UTC](https://meta.discourse.org/t/discourse-connect-sync-sso-avatar-update-issue/205723 "2021-10-11T11:31:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lubezniy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lubezniy/32/137694_2.png) [@lubezniy](https://meta.discourse.org/u/lubezniy)
#### Post date: [October 11, 2021, 11:31am UTC](https://meta.discourse.org/t/discourse-connect-sync-sso-avatar-update-issue/205723/1 "2021-10-11T11:31:50Z")

</div>

Hello,

We are using [Discourse connect](https://meta.discourse.org/t/13045?silent=true) to work with our user profile system. I have a task to update user profile in Discourse according to our data. To do it, i sent **/admin/users/sync\_sso** API request to Discourse server. The body of this request contains **avatar\_force\_update** parameter with **true** value and **avatar\_url** parameter with actual avatar URL. HTTP response to this request contains **external\_avatar\_url** parameter with correct user avatar URL. But the user profile page shows the old avatar picture. **discourse\_connect\_overrides\_avatar** configuration option is set. Am i doing something wrong to update the SSO user avatar? Or the problem is somewhere else?
