[PR #247] [MERGED] [Plugins] [Auth] [JWT] Add addtional JWT headers input #1157

Closed
opened 2026-04-26 00:09:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/247
Author: @Moshyfawn
Created: 8/11/2025
Status: Merged
Merged: 1/10/2026
Merged by: @gschier

Base: mainHead: feat/custom-jwt-headers


📝 Commits (7)

  • 837d7ab feat: add additional jwt headers input
  • e5f836c docs: add addtional jwt headers
  • 13a3728 Merge branch 'main' into feat/custom-jwt-headers
  • aa1b038 Add custom JWT headers support and fix query parameter mode
  • 7347bbb Add key_value input type to plugin API
  • 125d709 Use JSON editor for JWT headers instead of key_value
  • e84deee Reorganize JWT plugin UI

📊 Changes

7 files changed (+222 additions, -61 deletions)

View changed files

📝 crates/yaak-plugins/bindings/gen_events.ts (+32 -1)
📝 crates/yaak-plugins/src/events.rs (+10 -5)
📝 packages/plugin-runtime-types/src/bindings/gen_events.ts (+32 -1)
📝 plugins/auth-jwt/README.md (+3 -2)
📝 plugins/auth-jwt/src/index.ts (+76 -47)
📝 src-web/components/DynamicForm.tsx (+67 -3)
📝 src-web/components/core/PairEditor.tsx (+2 -2)

📄 Description

This PR adds an input field to the JWT Auth plugin for additional JWT headers, enabling support for APIs like App Store Connect that require custom header fields.

Potential improvements for consideration:

  • Pre-populate the alg field with the selected algorithm
  • Auto-fill iat and exp headers with current timestamp and configurable token lifetime

Happy to discuss and update this PR further!

yaak-jwt-auth-headers


🔄 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/mountain-loop/yaak/pull/247 **Author:** [@Moshyfawn](https://github.com/Moshyfawn) **Created:** 8/11/2025 **Status:** ✅ Merged **Merged:** 1/10/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `feat/custom-jwt-headers` --- ### 📝 Commits (7) - [`837d7ab`](https://github.com/mountain-loop/yaak/commit/837d7ab37f77cd3042095ca4f6f66574ef0c106e) feat: add additional jwt headers input - [`e5f836c`](https://github.com/mountain-loop/yaak/commit/e5f836c317c8ba7e5a594d7ccd8de39ee4e42b89) docs: add addtional jwt headers - [`13a3728`](https://github.com/mountain-loop/yaak/commit/13a3728c39910f83f260e18c2170103b82e65c8a) Merge branch 'main' into feat/custom-jwt-headers - [`aa1b038`](https://github.com/mountain-loop/yaak/commit/aa1b03882189a636b5f4735581554f01ed396974) Add custom JWT headers support and fix query parameter mode - [`7347bbb`](https://github.com/mountain-loop/yaak/commit/7347bbb1d25aeea956aaec2005d17e017e985114) Add key_value input type to plugin API - [`125d709`](https://github.com/mountain-loop/yaak/commit/125d7099c7403c5d7d6baa25c4b16b17cb1c5c7d) Use JSON editor for JWT headers instead of key_value - [`e84deee`](https://github.com/mountain-loop/yaak/commit/e84deee00c97a0d2be3f2b3a68be31a089ebe44d) Reorganize JWT plugin UI ### 📊 Changes **7 files changed** (+222 additions, -61 deletions) <details> <summary>View changed files</summary> 📝 `crates/yaak-plugins/bindings/gen_events.ts` (+32 -1) 📝 `crates/yaak-plugins/src/events.rs` (+10 -5) 📝 `packages/plugin-runtime-types/src/bindings/gen_events.ts` (+32 -1) 📝 `plugins/auth-jwt/README.md` (+3 -2) 📝 `plugins/auth-jwt/src/index.ts` (+76 -47) 📝 `src-web/components/DynamicForm.tsx` (+67 -3) 📝 `src-web/components/core/PairEditor.tsx` (+2 -2) </details> ### 📄 Description This PR adds an input field to the JWT Auth plugin for additional JWT headers, enabling support for APIs like [App Store Connect](https://developer.apple.com/documentation/appstoreconnectapi/generating-tokens-for-api-requests) that require custom header fields. Potential improvements for consideration: - Pre-populate the `alg` field with the selected algorithm - Auto-fill `iat` and `exp` headers with current timestamp and configurable token lifetime Happy to discuss and update this PR further! ![yaak-jwt-auth-headers](https://github.com/user-attachments/assets/b8306aed-46a9-4746-bb3a-0cd212b14b92) --- <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-26 00:09:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#1157