[PR #3555] [CLOSED] fix(JWT): Re-export the getJwtToken function #4881

Closed
opened 2026-03-13 12:02:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3555
Author: @ping-maxwell
Created: 7/23/2025
Status: Closed

Base: mainHead: fix/jwt/re-export-getJwtToken


📝 Commits (2)

  • 633b8d3 fix(JWT): Re-export the getJwtToken function
  • d06e17c Merge branch 'main' into fix/jwt/re-export-getJwtToken

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/plugins/jwt/index.ts (+2 -0)

📄 Description

In a previous RP, we removed the export for that function which caused an unintentional breaking change. This will fix it.


Summary by cubic

Re-exported the getJwtToken function from the JWT plugin to fix a breaking change caused by its previous removal.


🔄 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/3555 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 7/23/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/jwt/re-export-getJwtToken` --- ### 📝 Commits (2) - [`633b8d3`](https://github.com/better-auth/better-auth/commit/633b8d30774b024eb1ae1fc1f68feba3380c2114) fix(JWT): Re-export the getJwtToken function - [`d06e17c`](https://github.com/better-auth/better-auth/commit/d06e17cb34343886cfef6b1ca676eb4076d6bf03) Merge branch 'main' into fix/jwt/re-export-getJwtToken ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/jwt/index.ts` (+2 -0) </details> ### 📄 Description In a previous RP, we removed the export for that function which caused an unintentional breaking change. This will fix it. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Re-exported the getJwtToken function from the JWT plugin to fix a breaking change caused by its previous removal. <!-- 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-03-13 12:02:55 -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#4881