# Discourse connect avatar\_url isn't working

**URL:** https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036
**Category:** SSO
**Created:** [January 26, 2024, 9:00am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036 "2024-01-26T09:00:12Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Viktors\_Vradijs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/viktors_vradijs/32/357805_2.png) [@Viktors\_Vradijs](https://meta.discourse.org/u/Viktors_Vradijs)
#### Post date: [January 26, 2024, 9:00am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/1 "2024-01-26T09:00:12Z")

</div>

Hi. Have faced issue with avatar update through discourse-connect.  
In sso payload is avarat\_force\_update = true and avatar\_url = [https://files.ekool.eu/ekool/202311/3011/00/-m-ae103b0bac1fa5fc3cb65217a0183ba7b2633edae6d4a4d3049a6245d4b49e46533c45dc7d0603fa1a02a9ee62f5a4afd3d945615a8f44ba3609cade095b5e5b.jpg](https://files.ekool.eu/ekool/202311/3011/00/-m-ae103b0bac1fa5fc3cb65217a0183ba7b2633edae6d4a4d3049a6245d4b49e46533c45dc7d0603fa1a02a9ee62f5a4afd3d945615a8f44ba3609cade095b5e5b.jpg)

Discourse UI sso payload

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/a/0/7a0f232ea884b515776f82953f56b123d048fd2f.png)

Discourse-connect overwrites avatar setting is enabled

But avatar isn’t updated to provided url. Instead it is changed for something like placeholder

Also no any logs/errors regarding avatar in server and verbose discourse-connect logs

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 26, 2024, 2:39pm UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/2 "2024-01-26T14:39:56Z")

</div>

Hello and welcome @Viktors_Vradijs 🙂

I think I saw a similar thing [in this topic](https://meta.discourse.org/t/undefined-method-kilobytes-for-100-string-error-breaks-topic-and-avatar-sync/291922/10) recently. With the change to the `uploaded avatars allowed groups` setting, you may need to make sure that your trust level groups have their visibility set to `Everyone`, `Logged on users` or `Group owners, members and moderators`.

If you could try that along with a log out/login and see that helps?

---

<div class="post-metadata">

### Author: ![Viktors\_Vradijs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/viktors_vradijs/32/357805_2.png) [@Viktors\_Vradijs](https://meta.discourse.org/u/Viktors_Vradijs)
#### Post date: [February 6, 2024, 7:27am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/3 "2024-02-06T07:27:57Z")

</div>

Thanks for answer!  
Sadly but it isn’t the case. All trust level groups have logged on users visibility.

Currently we are on version 3.1.4

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [February 6, 2024, 7:38am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/4 "2024-02-06T07:38:35Z")

</div>

Hmmm. 🤔 What do you have in your `uploaded avatars allowed groups` setting? Sometimes people pop ‘everyone’ in and I think that can cause issues. Changing it to ‘trust level 0’ instead can help.

---

<div class="post-metadata">

### Author: ![Viktors\_Vradijs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/viktors_vradijs/32/357805_2.png) [@Viktors\_Vradijs](https://meta.discourse.org/u/Viktors_Vradijs)
#### Post date: [February 6, 2024, 8:03am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/5 "2024-02-06T08:03:33Z")

</div>

Allow uploaded avatars is set to 0: new user

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [February 6, 2024, 8:10am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/6 "2024-02-06T08:10:55Z")

</div>

Oh yes, 3.1.4 won’t have that new version of the setting in. You could try updating to 3.2 now that it’s been released - [3.2.0: Major Release](https://meta.discourse.org/t/3-2-0-major-release/293493)

Just to check, did it use to work and then stopped, or are you setting it up for the first time now?

---

<div class="post-metadata">

### Author: ![Viktors\_Vradijs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/viktors_vradijs/32/357805_2.png) [@Viktors\_Vradijs](https://meta.discourse.org/u/Viktors_Vradijs)
#### Post date: [February 6, 2024, 8:36am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/7 "2024-02-06T08:36:53Z")

</div>

It wasn’t working from start. But will update version and see if something changes

---

<div class="post-metadata">

### Author: ![Viktors\_Vradijs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/viktors_vradijs/32/357805_2.png) [@Viktors\_Vradijs](https://meta.discourse.org/u/Viktors_Vradijs)
#### Post date: [March 18, 2024, 9:33am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/8 "2024-03-18T09:33:48Z")

</div>

Finally managed to update Discourse version to latest (3.2.1).  
uploaded avatars allowed groups setting is set to trust level 0 but issues still there (tried also to add everyone, but nothing changed)

---

<div class="post-metadata">

### Author: ![laudaksg](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@laudaksg](https://meta.discourse.org/u/laudaksg)
#### Post date: [April 3, 2024, 10:26am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/9 "2024-04-03T10:26:40Z")

</div>

@JammyDodger is there any way to fix the avatar issue?

---

<div class="post-metadata">

### Author: ![wangya123](https://avatars.discourse-cdn.com/v4/letter/w/ccd318/32.png) [@wangya123](https://meta.discourse.org/u/wangya123)
#### Post date: [October 29, 2025, 6:58am UTC](https://meta.discourse.org/t/discourse-connect-avatar-url-isnt-working/293036/10 "2025-10-29T06:58:33Z")

</div>

I’m having the same problem and am looking for a solution.
