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

Open
opened 2025-12-29 07:19:39 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/247
Author: @Moshyfawn
Created: 8/11/2025
Status: 🔄 Open

Base: mainHead: feat/custom-jwt-headers


📝 Commits (2)

  • 837d7ab feat: add additional jwt headers input
  • e5f836c docs: add addtional jwt headers

📊 Changes

2 files changed (+15 additions, -3 deletions)

View changed files

📝 plugins/auth-jwt/README.md (+3 -2)
📝 plugins/auth-jwt/src/index.ts (+12 -1)

📄 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:** 🔄 Open **Base:** `main` ← **Head:** `feat/custom-jwt-headers` --- ### 📝 Commits (2) - [`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 ### 📊 Changes **2 files changed** (+15 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `plugins/auth-jwt/README.md` (+3 -2) 📝 `plugins/auth-jwt/src/index.ts` (+12 -1) </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>
adam added the pull-request label 2025-12-29 07:19:39 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#172