SSO avatar overrides default letter profile pic

AI-generated summary

The issue is with the SSO avatar override setting in Discourse. Even when disabled, the default Wordpress avatar (grey person) is being used as the Discourse profile picture instead of the letter proxy, if no custom image is uploaded. jesselperry considers this a bug, expecting the letter proxy to be used when SSO avatar override is disabled. riking suggests that the SSO provider should not send the default avatar image to resolve the issue.

A bit nuanced, but I noticed something that was happening with my Discourse and profile pictures. I am using discourse-wp as my SSO provider, and it sends over the user’s avatar image. However I also have SSO avatar override setting disabled. Since Wordpress user pictures default to a grey person, that image gets sent on every user login as part of SSO. This doesn’t appear to be an issue if the user has already uploaded their own image, or selected to use Gravatar.

It does become an issue if they haven’t selected anything and are using the letter proxy. In this case, the Wordpress generic picture becomes their Discourse profile picture, even though I have SSO avatar override disabled.

I would consider this a bug? The expected behavior should be for the letter proxy to continue to be used when SSO avatar override isn’t enabled, even if there is a profile picture from SSO.

1 me gusta

Something for @simon to consider?

1 me gusta

SSO avatar override covers the case where the user already has an uploaded avatar; it means that the uploaded avatar won’t be overridden with the one from SSO.

I think the best course here is to not send an avatar image if it’s the default.

4 Me gusta