# Avatars not pulling from SSO

**URL:** <https://meta.discourse.org/t/avatars-not-pulling-from-sso/105878>\
**Category:** SSO\
**Created:** [07.Январь.2019 05:59:00 UTC](https://meta.discourse.org/t/avatars-not-pulling-from-sso/105878 "2019-01-07T05:59:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![theopen-institute](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/theopen-institute/32/141988_2.png) [@theopen-institute](https://meta.discourse.org/u/theopen-institute)\
**Post date:** [07.Январь.2019 05:59:00 UTC](https://meta.discourse.org/t/avatars-not-pulling-from-sso/105878/1 "2019-01-07T05:59:00Z")

</div>

I’m using Moodle as an SSO identity provider on 2.2.0beta7, and it all seems to be working fine except user avatars aren’t updating.

I’ve got `sso overrides avatar` set to true, and I’ve got `avatar_force_update` returning true from the payload. The verbose debugging log gives the following output:

```
Verbose SSO log: User was logged on peter

add_groups: 
admin: 
moderator: 
avatar_force_update: true
avatar_url: https://moodle. ***.*** /pluginfile.php/42/user/icon/fordson/f1?rev=490
bio: 
card_background_url: 
email: peter@ ***.***
external_id: 4
groups: 
locale: 
locale_force_update: 
name: Peter *****
nonce: 66905e176b65dfde1eacc9edd5ada50f
profile_background_url: 
remove_groups: 
require_activation: 
return_sso_url: 
suppress_welcome_message: 
title: 
username: peter@ ***.***
website: 

```

I’ve gone through all the other threads on here, but none of the suggestions seem to work. Enqueuing the `download_avatar_from_url` function from the rails console seems to give no error, and there’s absolutely nothing showing up in my logs aside from the verbose sso output. New users show up with the default capital letter avatar, and returning users just keep whatever they had before.

Any tips on how I might further debug would be greatly appreciated.

---

_[View the full topic](https://meta.discourse.org/t/avatars-not-pulling-from-sso/105878)._
