Is there any way this plugin could overrides avatar, just like DiscourseConnect does?
סיכום מבוסס בינה מלאכותית
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.
האם מישהו יכול להציע תשובה לכך, יש לנו כתובת URL לתמונה שמגיעה מתגובת OIDC userinfo, רוצים למפות אותה ל-avatar_url של discourse.
בתיבת הטקסט של טענות OpenID Connect הוספתי oidc_claims_avatar: ProfileImageUrl אבל זה לא עבד.
אם למישהו יש הצעות, אנא הודיעו לי.
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‘