H
Homarr4w ago
Lake

OIDC User Avatars

How can i set avatars for users created with OIDC? I couldnt see how to set the claim for the avatar. Using PocketID, there exists a picture claim that provides a link to the avatar url. I couldn't figure out how to setup the OIDC to read that. So i tried to write a simple python script, but i get the error message
{
"message": "Profile image can not be changed for users with external providers",
"code": "FORBIDDEN",
"data": {
"code": "FORBIDDEN",
"httpStatus": 403,
"path": "user.setProfileImage",
"zodError": null,
"error": null
}
{
"message": "Profile image can not be changed for users with external providers",
"code": "FORBIDDEN",
"data": {
"code": "FORBIDDEN",
"httpStatus": 403,
"path": "user.setProfileImage",
"zodError": null,
"error": null
}
So im not sure what to do next. Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) Operating system Unraid Exact Homarr version Version 1.39.0 Configuration (eg. docker-compose, screenshot or similar. Use your-text to format) Other relevant information (eg. your devices, your browser, ...) OIDC is PocketID Example result:
{
"display_name": "Lachee",
"email": "lake@example.com",
"email_verified": true,
"family_name": "N/A",
"given_name": "Lachee",
"name": "Lachee",
"picture": "https://login.lakes.house/api/users/a520ae3b-c34d-4c88-8193-5c4a96f7ce2c/profile-picture.png",
"preferred_username": "lachee",
"sub": "a520ae3b-c34d-4c88-8193-5c4a96f7ce2c"
}
{
"display_name": "Lachee",
"email": "lake@example.com",
"email_verified": true,
"family_name": "N/A",
"given_name": "Lachee",
"name": "Lachee",
"picture": "https://login.lakes.house/api/users/a520ae3b-c34d-4c88-8193-5c4a96f7ce2c/profile-picture.png",
"preferred_username": "lachee",
"sub": "a520ae3b-c34d-4c88-8193-5c4a96f7ce2c"
}
2 Replies
Cakey Bot
Cakey Bot4w ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Meierschlumpf
Meierschlumpf4w ago
Upvote https://github.com/homarr-labs/homarr/issues/2254 Their is currently no direct option
GitHub
feat: Create / Change Avatar for OIDC Users · Issue #2254 · homar...
Describe the feature you'd like to request It would be great if users created through OIDC providers (e.g. authentik, authelia, ...) could upload or change their avatar. This setting is current...

Did you find this page helpful?