דריסת avatars עם OIDC

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

לייק 1

האם מישהו יכול להציע תשובה לכך, יש לנו כתובת 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.

2 לייקים

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‘