[PR #6843] [MERGED] chore(api-key): pass options to plugin config #6916

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6843
Author: @jslno
Created: 12/18/2025
Status: Merged
Merged: 12/18/2025
Merged by: @himself65

Base: canaryHead: 12-18-2025/api-key-options


📝 Commits (1)

  • 4b81add chore(api-key): pass options to plugin config

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/api-key/index.ts (+1 -0)

📄 Description

Summary by cubic

Expose apiKey plugin options on the plugin config so apps and other plugins can read them at runtime. This keeps the apiKey plugin consistent with other plugins and enables easier debugging and composition.

Written for commit 4b81add005. 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/6843 **Author:** [@jslno](https://github.com/jslno) **Created:** 12/18/2025 **Status:** ✅ Merged **Merged:** 12/18/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `12-18-2025/api-key-options` --- ### 📝 Commits (1) - [`4b81add`](https://github.com/better-auth/better-auth/commit/4b81add005f359aa3f8910af628a21c8ee59e928) chore(api-key): pass options to plugin config ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/api-key/index.ts` (+1 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Expose apiKey plugin options on the plugin config so apps and other plugins can read them at runtime. This keeps the apiKey plugin consistent with other plugins and enables easier debugging and composition. <sup>Written for commit 4b81add005f359aa3f8910af628a21c8ee59e928. 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:17:02 -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#6916