[PR #821] [MERGED] feat(auth): sync avatar from OpenID providers #8739

Closed
opened 2026-04-23 08:24:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/821
Author: @maggch97
Created: 5/22/2025
Status: Merged
Merged: 6/16/2025
Merged by: @kolaente

Base: mainHead: user/weijiezhao/openidavatar


📝 Commits (10+)

  • ff60cd2 feat(auth): sync avatar from OpenID providers
  • a04a297 Remove is new user check
  • 7f28d8b Simplify check
  • 0b26d7e Log user id
  • 0a917b5 Fix lint error, suppress G107
  • 2e4439a Sync openid avatar if provider is initials
  • 6b0dfdf Add timeout
  • e220774 Fix comments
  • 836770a Merge remote-tracking branch 'origin/main' into user/weijiezhao/openidavatar
  • 68bde8d Remove avatar provider check for OpenID sync

📊 Changes

9 files changed (+214 additions, -72 deletions)

View changed files

📝 frontend/src/i18n/lang/en.json (+2 -1)
📝 frontend/src/views/user/settings/Avatar.vue (+4 -0)
📝 pkg/modules/auth/ldap/ldap.go (+2 -65)
📝 pkg/modules/auth/openid/openid.go (+54 -3)
pkg/modules/avatar/openid/openid.go (+30 -0)
📝 pkg/routes/api/v1/avatar.go (+3 -0)
📝 pkg/routes/api/v1/user_settings.go (+2 -2)
📝 pkg/user/user.go (+2 -1)
pkg/utils/avatar.go (+115 -0)

📄 Description

Resolves https://github.com/go-vikunja/vikunja/issues/816

Docs PR: https://github.com/go-vikunja/website/pull/114


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/821 **Author:** [@maggch97](https://github.com/maggch97) **Created:** 5/22/2025 **Status:** ✅ Merged **Merged:** 6/16/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `user/weijiezhao/openidavatar` --- ### 📝 Commits (10+) - [`ff60cd2`](https://github.com/go-vikunja/vikunja/commit/ff60cd2520f4e47bfbe2a2960cf64066d34aa436) feat(auth): sync avatar from OpenID providers - [`a04a297`](https://github.com/go-vikunja/vikunja/commit/a04a297b7b4c2fc78e518de4fc8a34166fa7d476) Remove is new user check - [`7f28d8b`](https://github.com/go-vikunja/vikunja/commit/7f28d8bb0296b3010d64420a811356f1bc784cef) Simplify check - [`0b26d7e`](https://github.com/go-vikunja/vikunja/commit/0b26d7e7b1936f382abe47caf8b14ed2ea5ce1cd) Log user id - [`0a917b5`](https://github.com/go-vikunja/vikunja/commit/0a917b59e723ace0c1502f8e6884fead963e7fcf) Fix lint error, suppress G107 - [`2e4439a`](https://github.com/go-vikunja/vikunja/commit/2e4439ae8053efe63ce278e9ff2fe98f97801723) Sync openid avatar if provider is initials - [`6b0dfdf`](https://github.com/go-vikunja/vikunja/commit/6b0dfdfb378a7eab2df139f577d20dbf9744184b) Add timeout - [`e220774`](https://github.com/go-vikunja/vikunja/commit/e2207744b1170e6861c31815dd79ae0067b91b3d) Fix comments - [`836770a`](https://github.com/go-vikunja/vikunja/commit/836770a4b4c2b9410a345bb5746f26ae2b4a7e43) Merge remote-tracking branch 'origin/main' into user/weijiezhao/openidavatar - [`68bde8d`](https://github.com/go-vikunja/vikunja/commit/68bde8d6b04ba2d622b7b7a7514471866c585187) Remove avatar provider check for OpenID sync ### 📊 Changes **9 files changed** (+214 additions, -72 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/i18n/lang/en.json` (+2 -1) 📝 `frontend/src/views/user/settings/Avatar.vue` (+4 -0) 📝 `pkg/modules/auth/ldap/ldap.go` (+2 -65) 📝 `pkg/modules/auth/openid/openid.go` (+54 -3) ➕ `pkg/modules/avatar/openid/openid.go` (+30 -0) 📝 `pkg/routes/api/v1/avatar.go` (+3 -0) 📝 `pkg/routes/api/v1/user_settings.go` (+2 -2) 📝 `pkg/user/user.go` (+2 -1) ➕ `pkg/utils/avatar.go` (+115 -0) </details> ### 📄 Description Resolves https://github.com/go-vikunja/vikunja/issues/816 Docs PR: https://github.com/go-vikunja/website/pull/114 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 08:24:49 -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#8739