[PR #6989] [MERGED] fix(oauth-provider): support jwksPath #7011

Closed
opened 2026-03-13 13:21:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: canaryHead: opJwksPath


📝 Commits (2)

📊 Changes

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

View changed files

📝 packages/oauth-provider/src/client-resource.ts (+1 -1)
📝 packages/oauth-provider/src/logout.ts (+3 -1)
📝 packages/oauth-provider/src/metadata.ts (+2 -1)

📄 Description

Supports jwksPath when set by the jwks plugin.

Closes: #6972


Summary by cubic

Adds support for jwksPath from the jwks plugin so JWKS URLs use the configured custom path.

  • Bug Fixes
    • Use jwksPath when building JWKS URLs; default to "/jwks" if not set.
    • Preserve jwks.remoteUrl override when provided.
    • Apply to client resource, logout endpoint, and metadata jwks_uri.

Written for commit 4eaa1a2f2e. 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/6989 **Author:** [@dvanmali](https://github.com/dvanmali) **Created:** 12/24/2025 **Status:** ✅ Merged **Merged:** 12/24/2025 **Merged by:** [@dvanmali](https://github.com/dvanmali) **Base:** `canary` ← **Head:** `opJwksPath` --- ### 📝 Commits (2) - [`4fb97a3`](https://github.com/better-auth/better-auth/commit/4fb97a3933727be6b816a7c67895ab2ecef53d65) fix: support jwksPath - [`4eaa1a2`](https://github.com/better-auth/better-auth/commit/4eaa1a2f2eceb0be43c82efa7dfadb1b424471fe) fix: double slash ### 📊 Changes **3 files changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/oauth-provider/src/client-resource.ts` (+1 -1) 📝 `packages/oauth-provider/src/logout.ts` (+3 -1) 📝 `packages/oauth-provider/src/metadata.ts` (+2 -1) </details> ### 📄 Description Supports `jwksPath` when set by the `jwks` plugin. Closes: #6972 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds support for jwksPath from the jwks plugin so JWKS URLs use the configured custom path. - **Bug Fixes** - Use jwksPath when building JWKS URLs; default to "/jwks" if not set. - Preserve jwks.remoteUrl override when provided. - Apply to client resource, logout endpoint, and metadata jwks_uri. <sup>Written for commit 4eaa1a2f2eceb0be43c82efa7dfadb1b424471fe. 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-03-13 13:21:06 -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#7011