[PR #7003] [MERGED] chore: update import paths #32618

Closed
opened 2026-04-17 23:23:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7003
Author: @dvanmali
Created: 12/26/2025
Status: Merged
Merged: 12/26/2025
Merged by: @dvanmali

Base: canaryHead: opImports


📝 Commits (1)

  • 393d329 chore: update import paths

📊 Changes

6 files changed (+8 additions, -6 deletions)

View changed files

📝 packages/oauth-provider/src/metadata.ts (+1 -1)
📝 packages/oauth-provider/src/oauth.ts (+3 -1)
📝 packages/oauth-provider/src/register.ts (+1 -1)
📝 packages/oauth-provider/src/token.ts (+1 -1)
📝 packages/oauth-provider/src/types/oauth.ts (+1 -1)
📝 packages/oauth-provider/src/utils/index.ts (+1 -1)

📄 Description

Update OAuth Provider Import paths


Summary by cubic

Update OAuth Provider imports to use the consolidated better-auth/plugins entrypoint and clarify the session storage requirement error message. Keeps the provider compatible with the latest Better Auth plugin structure.

  • Refactors
    • Switched imports from better-auth/plugins/jwt and a local path to better-auth/plugins for JWSAlgorithms, JwtOptions, signJWT, toExpJWT, and jwt type.
    • Updated error text to clearly require session.storeSessionInDatabase: true when using secondaryStorage.

Written for commit 393d329581. Summary will update automatically on new commits.


🔄 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/7003 **Author:** [@dvanmali](https://github.com/dvanmali) **Created:** 12/26/2025 **Status:** ✅ Merged **Merged:** 12/26/2025 **Merged by:** [@dvanmali](https://github.com/dvanmali) **Base:** `canary` ← **Head:** `opImports` --- ### 📝 Commits (1) - [`393d329`](https://github.com/better-auth/better-auth/commit/393d32958186b72a0f727f7fa2e74b8aed9ceff0) chore: update import paths ### 📊 Changes **6 files changed** (+8 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/oauth-provider/src/metadata.ts` (+1 -1) 📝 `packages/oauth-provider/src/oauth.ts` (+3 -1) 📝 `packages/oauth-provider/src/register.ts` (+1 -1) 📝 `packages/oauth-provider/src/token.ts` (+1 -1) 📝 `packages/oauth-provider/src/types/oauth.ts` (+1 -1) 📝 `packages/oauth-provider/src/utils/index.ts` (+1 -1) </details> ### 📄 Description Update OAuth Provider Import paths <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Update OAuth Provider imports to use the consolidated better-auth/plugins entrypoint and clarify the session storage requirement error message. Keeps the provider compatible with the latest Better Auth plugin structure. - **Refactors** - Switched imports from better-auth/plugins/jwt and a local path to better-auth/plugins for JWSAlgorithms, JwtOptions, signJWT, toExpJWT, and jwt type. - Updated error text to clearly require session.storeSessionInDatabase: true when using secondaryStorage. <sup>Written for commit 393d32958186b72a0f727f7fa2e74b8aed9ceff0. Summary will update automatically on new commits.</sup> <!-- 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 23:23:07 -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#32618