[PR #3478] [CLOSED] V1.3 #30447

Closed
opened 2026-04-17 21:32:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3478
Author: @Bekacru
Created: 7/19/2025
Status: Closed

Base: mainHead: v1.3


📝 Commits (3)

  • 39938d4 feat(organization): multi team support (#3446)
  • 778f9d0 Revert "feat(organization): multi team support (#3446)" (#3474)
  • 75e6a68 fix(jwt): reimplement fix that allows to generate JWKS with other algorithm than the default one (#3471)

📊 Changes

2 files changed (+45 additions, -60 deletions)

View changed files

📝 packages/better-auth/src/plugins/jwt/jwt.test.ts (+22 -49)
📝 packages/better-auth/src/plugins/jwt/sign.ts (+23 -11)

📄 Description

Summary by cubic

Fixed JWT key generation to support custom algorithms, not just the default, and cleaned up related test comments.

  • Bug Fixes
    • Added a helper to generate key pairs with any algorithm specified in options.
    • Updated tests to use the new helper and removed unused or overcomplicated comments.

🔄 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/better-auth/better-auth/pull/3478 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 7/19/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `v1.3` --- ### 📝 Commits (3) - [`39938d4`](https://github.com/better-auth/better-auth/commit/39938d4e3068b14e28fc964aa875e4582ef3eec5) feat(organization): multi team support (#3446) - [`778f9d0`](https://github.com/better-auth/better-auth/commit/778f9d0f3e89d2776aea529f72ccec849a160dda) Revert "feat(organization): multi team support (#3446)" (#3474) - [`75e6a68`](https://github.com/better-auth/better-auth/commit/75e6a68b7d6f8022a4d77dda5ecde520714cb2a8) fix(jwt): reimplement fix that allows to generate JWKS with other algorithm than the default one (#3471) ### 📊 Changes **2 files changed** (+45 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/jwt/jwt.test.ts` (+22 -49) 📝 `packages/better-auth/src/plugins/jwt/sign.ts` (+23 -11) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fixed JWT key generation to support custom algorithms, not just the default, and cleaned up related test comments. - **Bug Fixes** - Added a helper to generate key pairs with any algorithm specified in options. - Updated tests to use the new helper and removed unused or overcomplicated comments. <!-- End of auto-generated description by cubic. --> --- <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-17 21:32:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#30447