[PR #2103] [MERGED] feat(mobile): add custom headers configuration in sign-in screen #1975

Closed
opened 2026-03-02 12:00:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2103
Author: @MohamedBassem
Created: 11/8/2025
Status: Merged
Merged: 11/8/2025
Merged by: @MohamedBassem

Base: mainHead: claude/add-custom-headers-signin-011CUoYB6bNeKPoPzSoFbCqF


📝 Commits (3)

  • 0099bdc feat(mobile): add custom headers configuration in sign-in screen
  • cc0481c fix keyboard
  • 2aecc29 add custom headers to other callsites

📊 Changes

8 files changed (+252 additions, -5 deletions)

View changed files

📝 apps/mobile/app/signin.tsx (+24 -0)
📝 apps/mobile/app/test-connection.tsx (+5 -1)
apps/mobile/components/CustomHeadersModal.tsx (+200 -0)
📝 apps/mobile/lib/hooks.ts (+2 -3)
📝 apps/mobile/lib/settings.ts (+2 -0)
📝 apps/mobile/lib/upload.ts (+2 -1)
📝 apps/mobile/lib/utils.ts (+15 -0)
📝 packages/shared-react/providers/trpc-provider.tsx (+2 -0)

📄 Description

Add ability for mobile app users to configure custom HTTP headers that are
sent with every API request. This enables users to add authentication headers,
proxy headers, or other custom headers required by their server setup.

Changes:

  • Add customHeaders field to mobile app settings schema
  • Create CustomHeadersModal component for managing headers
  • Update sign-in screen with link to configure custom headers
  • Modify tRPC provider to merge custom headers with Authorization header

The custom headers are stored securely in the app settings and persist
across sessions.


🔄 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/karakeep-app/karakeep/pull/2103 **Author:** [@MohamedBassem](https://github.com/MohamedBassem) **Created:** 11/8/2025 **Status:** ✅ Merged **Merged:** 11/8/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `claude/add-custom-headers-signin-011CUoYB6bNeKPoPzSoFbCqF` --- ### 📝 Commits (3) - [`0099bdc`](https://github.com/karakeep-app/karakeep/commit/0099bdcddafbb076604a0ce4e399da7d1d817f3a) feat(mobile): add custom headers configuration in sign-in screen - [`cc0481c`](https://github.com/karakeep-app/karakeep/commit/cc0481c177532f57160e17b4bc428d709f65edc6) fix keyboard - [`2aecc29`](https://github.com/karakeep-app/karakeep/commit/2aecc293a974fc7c6bfaa9b392349f3b1b64a99e) add custom headers to other callsites ### 📊 Changes **8 files changed** (+252 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `apps/mobile/app/signin.tsx` (+24 -0) 📝 `apps/mobile/app/test-connection.tsx` (+5 -1) ➕ `apps/mobile/components/CustomHeadersModal.tsx` (+200 -0) 📝 `apps/mobile/lib/hooks.ts` (+2 -3) 📝 `apps/mobile/lib/settings.ts` (+2 -0) 📝 `apps/mobile/lib/upload.ts` (+2 -1) 📝 `apps/mobile/lib/utils.ts` (+15 -0) 📝 `packages/shared-react/providers/trpc-provider.tsx` (+2 -0) </details> ### 📄 Description Add ability for mobile app users to configure custom HTTP headers that are sent with every API request. This enables users to add authentication headers, proxy headers, or other custom headers required by their server setup. Changes: - Add customHeaders field to mobile app settings schema - Create CustomHeadersModal component for managing headers - Update sign-in screen with link to configure custom headers - Modify tRPC provider to merge custom headers with Authorization header The custom headers are stored securely in the app settings and persist across sessions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:00:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1975
No description provided.