I have SSO currently functioning retrieving login data from our main site, however I am having issues when trying to synchronize user avatars, as discourse caches them.
It is unclear how sync actually works as the documentation has no information on implementation, but the problem may also be that when a user changes their avatar on our side, the url does not change.
When using the sync endpoint discourse would presumably re cache, but the documentation does not explain that either.
What is the correct usage of the sync endpoint (GET or POST), and how does discourse handle avatars when syncing?
Alright, nothing I have tried so far has worked. Based off of feedback in other posts about the same issue, I cannot get any results as they have. My code is as follows:
EDIT: I decided to kaibosh the POST sync endpoint twattery and try to update it on login. A bit roundabout when we could just ping discourse when they change their avatar, but it’ll have to do.