Is there any way this plugin could overrides avatar, just like DiscourseConnect does?
AI-generated summary
The discussion focuses on configuring OIDC to override user avatars in Discourse. Wilson_Ho initially asks if the plugin can override avatars similar to DiscourseConnect. sreenu_paruchuri seeks a solution to map the ProfileImageUrl from the OIDC userinfo response to Discourse’s avatar_url, noting that their previous attempt using oidc_claims_avatar was unsuccessful. pmusaraj responds that this functionality has been addressed via a specific GitHub commit and invites users to report any issues. Following this, sreenu_paruchuri asks for clarification on how to map the avatar_url to a custom field from the userinfo response using the updated code, providing an example of the expected image URL format.
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.
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‘