[GH-ISSUE #2191] avatar from authentik in base64 #6587

Open
opened 2026-04-20 17:11:12 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @q16marvin on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2191

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same feature request.

Description

hi,

maybe stupid question, but "how" can i get user picture from authentik?

there it is a user attribute called "avatar" and look like this:

avatar: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwQwAABtbnRyUkdCIFhZWiAH5wADABQACAAAAABhY3NwTVNGVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1

i tried it with this:

avatar = request.user.attributes.get("avatar")

if not avatar:
return {}

return {
"picture": avatar,
}

but of cource i got:

time=2026-02-03T15:40:12.796Z level=ERROR msg="Error syncing avatar for user erik: no picture URL provided"

so vikunja allows only "url" and authentik allows only "base64" ^^

does someone has a cool idea?

Which alternatives did you consider using instead?

No response

Originally created by @q16marvin on GitHub (Feb 3, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2191 ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same feature request. ### Description hi, maybe stupid question, but "how" can i get user picture from authentik? there it is a user attribute called "avatar" and look like this: avatar: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/4gKwSUNDX1BST0ZJTEUAAQEAAAKgbGNtcwQwAABtbnRyUkdCIFhZWiAH5wADABQACAAAAABhY3NwTVNGVAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1 i tried it with this: avatar = request.user.attributes.get("avatar") if not avatar: return {} return { "picture": avatar, } but of cource i got: time=2026-02-03T15:40:12.796Z level=ERROR msg="Error syncing avatar for user erik: no picture URL provided" so vikunja allows only "url" and authentik allows only "base64" ^^ does someone has a cool idea? ### Which alternatives did you consider using instead? _No response_
GiteaMirror added the area/avatarsarea/auth labels 2026-04-20 17:11:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6587