Repository navigation
Replies: 5 comments 6 replies
|
@kanpov We do support the OIDC picture claim in both account and admin console. The simplest way to see this working is to add a user profile attribute called We have decided not to implement a way to edit or upload a profile picture at this time. That would add some complexity to Keycloak that we don't want to take on right now. |
|
Any new updates? Personally, I think a way to upload a photo would be quite efficient as not all users have an uploaded profile picture somewhere or if so, it is too complex for the simple user to find the profile picture URL. And even considering that it is a huge security risk if I hand the URL to other clients as this would provide attack surface since any link could be added. Did I miss anything? |
|
Specifying a profile picture from a URL should only allow trusted sources of images. That can be done by adding a validator on the attribute, as well as CSP headers etc. for any applications that is displaying an image. This for sure it's not a great way to do it, and ideally Keycloak should provide some capabilities of uploading profile pictures. |
|
I found https://github.com/Yreus6/keycloak-avatar-minio-extension (a slightly more recent fork of the proof of concept mentioned in the OP), however couldn't get this to work in Keycloak v26. It would be really cool if the foundation of this plugin was part of Keycloak core |
|
Is there a reasonably painless way of implementing this? We're looking to use Keycloak on our webapp and are required to have a profile picture attribute |
Uh oh!
There was an error while loading. Please reload this page.
There's this new Account Console v3 in Keycloak 24.0 and yet it only supports text attributes. I've yet to find a halfway decent solution of how to allow users to upload profile pictures to their Keycloak account, even though this seems like a really obvious feature to have.
I've found:
Strange to see such an advanced identity platform lacking this.
All reactions