We use one Discourse installation as the Discourse Connect provider (formerly “Discourse SSO provider”) and another as a connected Discourse Connect client site. That client site allows logins exclusively via our Discourse Connect provider site.
We have set up this system to sync user profile pictures from the Discourse Connect provider to the client site. This generally works, but fails in specific circumstances, reproduced as shown below.
How to reproduce
The user now changes their profile picture on the Discourse Connect provider site to the option “System assigned profile picture”, that is, back to the original letter icon that had been generated when the account was created.
To sync this change, the user now logs out on the Discourse Connect client site, and logs back in there.
After these steps, the profile picture change has not been synced. Following the same steps for changing to a different user-uploaded custom profile picture works without issues. Just reverting to the system assigned profile picture fails.
Workaround: You could save your system-assigned profile picture locally as a picture, then upload it as a custom profile picture. This will sync to Discourse Connect client sites alright.
Relevant configuration: All our Discourse sites are on 2.7.11 (latest as of now). On the Discourse Connect client site, we use these settings:
- enable discourse connect: true
- discourse connect overrides avatar: true
- filled out “discourse connect url” and “discource connect secret” as needed
All other Discourse Connect settings are using default values on the client site.