FeatureFuel
1

[Feature Request] Show the user's profile picture from the OIDC `picture` claim

Source: paperless-ngx/paperless-ngx#14300 · opened by @vhumphrey
Description When a user signs in through OpenID Connect, show their profile picture in the user menu, in place of the fixed person-circle icon. The picture should come from the standard picture claim that the identity provider already returns. This was requested before in #11432 (5 upvotes). The bot closed that thread for inactivity and then locked it, so this is a fresh thread for the same request. If you upvoted #11432, please upvote here. Why it is a small change. The data is already stored. Paperless signs users in through django-allauth, and allauth's OpenID Connect provider keeps the full userinfo response, picture included, in SocialAccount.extra_data. ProfileSerializer already serializes the user's social accounts (SocialAccountSerializer in src/paperless/serialisers.py), so a sketch of the change is: 1. Backend: add a read-only avatar_url to the profile, or to SocialAccountSerializer, taken from extra_data (the userinfo picture, falling back to the ID token'…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests