From looking at the Discourse SSO code, I don’t think it is going to be possible to reset a user’s avatar to a letter avatar by calling sync_sso
. What the code does is try to download the avatar from the URL that is passed with the avatar_url
parameter. If that parameter is omitted, or set to null
, or an empty string, no change will be made to the user’s avatar.
3 Likes