Skip to main content
Contributor ⭐️⭐️
Oct 22, 2024 6:58 AM UTC
Question

Profile picture is not preserved when signin using SSO (openidconnect)

Hi, 


I followed the instructions in this document to set up OpenID Connect SSO for the Gainsight Network Community. I can log in to the Community website and upload my profile image, but when I sign out and sign back in, the profile image doesn’t appear to be updated. 
 

 

4 replies

Kenneth R
Expert ⭐️⭐️
Oct 22, 2024 12:32 PM UTC

Hi @prashanth - I had a quick look in your sandbox and it appears that your SSO flow is automatically assigning an avatar.  So while you can change it manually to something else, the moment you log in again via SSO it will re-assign the avatar.  Is that an intentional part of your SSO flow?

Translate
prashanthAuthor
Contributor ⭐️⭐️
Oct 22, 2024 2:59 PM UTC

@Kenneth R No, I didn’t do anything specific to avatar. Can you tell me how I can change that?

Translate
Kenneth R
Expert ⭐️⭐️
Oct 23, 2024 7:40 AM UTC

Hi @prashanth - I checked with our engineers, and they confirmed that this avatar is being passed along as part of your SSO payload.  The image itself is one that is hosted on a Trimble domain.  So somewhere on your side, someone has included the passing along of the avatar image to your SSO flow and payload.  If you have access to the SSO code on your side, it should be quite straightforward to remove it.  

Translate
prashanthAuthor
Contributor ⭐️⭐️
Oct 23, 2024 12:19 PM UTC

@Kenneth R Thank you! I’ll look into it on my end and provide an update here.

Translate