Avatars overschrijven met OIDC

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.

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

kan iemand hier een antwoord op geven, we krijgen een afbeeldings-URL uit de OIDC userinfo-reactie, willen deze mappen naar avatar_url van discourse.

In het tekstvak van OpenID Connect claims heb ik oidc_claims_avatar: ProfileImageUrl toegevoegd, maar het werkte niet.
Als iemand suggesties heeft, laat het me weten.

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‘