fix(auth): set User-Agent on avatar fetch and sync avatar on link-account register #155

Closed
opened 2026-05-24 08:24:23 +00:00 by jmiller · 1 comment
Owner

Summary

OIDC avatar downloads fail because some providers reject requests without a User-Agent header.

Upstream Reference

Severity: Low

Action

Cherry-pick from upstream release/v1.26.


Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

## Summary OIDC avatar downloads fail because some providers reject requests without a User-Agent header. ## Upstream Reference - PR: https://github.com/go-gitea/gitea/pull/37726 (backport of #37588, fixes #37564) - Merged: 2026-05-16 - Branch: release/v1.26 ## Severity: Low ## Action Cherry-pick from upstream `release/v1.26`. --- *Authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>*
jmiller added the priority: lowtype: bugupstream labels 2026-05-24 08:25:48 +00:00
Author
Owner

Included in v1.26.1-moko.04.00.00 security backport or already present in fork. Deployed 2026-05-24.

Authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

Included in v1.26.1-moko.04.00.00 security backport or already present in fork. Deployed 2026-05-24. *Authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#155