Substituindo avatares com OIDC

Is there any way this plugin could overrides avatar, just like DiscourseConnect does?

1 curtida

can any one suggest and answer for this, we have image url comes from OIDC userinfo response, want to map to avatar_url of discourse.

In OpenID Connect claims text area i added oidc_claims_avatar: ProfileImageUrl but it din’t worked.
if any one has suggestions let me know

This should be addressed now via FEATURE: managed auth can override avatars (#34123) · discourse/discourse@b1ea35b · GitHub, please report if it doesn’t work for you.

1 curtida

hi
Using the code you change, how i can map the avatar_url to the custom field comes from userinfo response on oidc
I will get like this ImageUrl: ‘https://image.com/a.jpg‘