AVATAR via OAUTH2 / OIDC ??? #7907
-
|
I found this: #6534 stating that a given URL should be used if (no real helpful details given there) service provides it ... My JWT Payload includes something like this: ...but no Avatar gets pulled, what's the mechanism like ??? Details or hints welcome... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
I just created an pull-request that solves this: #7908 I had the exact same problem (using Authentik as an OIDC-Proivder and having "avatar" in my profile) |
Beta Was this translation helpful? Give feedback.
-
|
I'm using Wiki.js v 2.5.314 with Authentik OIDC. In Authentik provider for wiki.js I've added mappings: "avatar":"https://auth.domain.tld/files/media/public/user-avatars/filename.png?token=token",
"picture": "https://static.domain.tld/avatars/filename.png"
|
Beta Was this translation helpful? Give feedback.
-
|
Hi michal, Thanks for for the details. From what you describe, it looks like the picture URL is never stored at all, since Could you help narrow this down a bit (since I can't reproduce on my end)?
My current guess is that the claim may be present in the ID token, but not in the UserInfo response. If Wiki.js receives both profiles, the UserInfo payload may overwrite the ID-token payload during the current merge, so the configured picture claim resolves to an empty string. One quick test would be to enable Skip User Profile and log in again. If the avatar works then, we probably know where the problem is. |
Beta Was this translation helpful? Give feedback.
I just created an pull-request that solves this: #7908
I had the exact same problem (using Authentik as an OIDC-Proivder and having "avatar" in my profile)
I use OIDC as an Provider and it works with my little patch