[PR #4480] [CLOSED] feat: expose passkey to plugins #22303

Closed
opened 2026-04-15 20:57:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4480
Author: @okisdev
Created: 9/6/2025
Status: Closed

Base: canaryHead: feat/expose-passkey-to-plugins


📝 Commits (2)

  • 2a81f81 feat: expose passkey to plugins
  • a921bf1 feat: expose passkey to plugins

📊 Changes

5 files changed (+5 additions, -5 deletions)

View changed files

📝 demo/nextjs/lib/auth.ts (+1 -1)
📝 docs/content/docs/plugins/passkey.mdx (+1 -1)
📝 packages/better-auth/src/plugins/index.ts (+1 -0)
📝 packages/cli/src/commands/init.ts (+1 -1)
📝 packages/cli/test/generate-all-db.test.ts (+1 -2)

📄 Description

This PR exposes the Passkey authentication method to align with other plugins.


Summary by cubic

Exposed the Passkey plugin via better-auth/plugins to match other plugins and simplify imports. Updated demo, docs, CLI, and tests to use the new path.

  • New Features

    • Exported passkey from better-auth/plugins for direct import.
  • Migration

    • Replace imports of "better-auth/plugins/passkey" with "better-auth/plugins".

🔄 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/4480 **Author:** [@okisdev](https://github.com/okisdev) **Created:** 9/6/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `feat/expose-passkey-to-plugins` --- ### 📝 Commits (2) - [`2a81f81`](https://github.com/better-auth/better-auth/commit/2a81f8112ac96962414f693ccf8289f907fe4ae5) feat: expose passkey to plugins - [`a921bf1`](https://github.com/better-auth/better-auth/commit/a921bf185bf95c6bdc5662f3e5c56c8971a50aab) feat: expose passkey to plugins ### 📊 Changes **5 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/lib/auth.ts` (+1 -1) 📝 `docs/content/docs/plugins/passkey.mdx` (+1 -1) 📝 `packages/better-auth/src/plugins/index.ts` (+1 -0) 📝 `packages/cli/src/commands/init.ts` (+1 -1) 📝 `packages/cli/test/generate-all-db.test.ts` (+1 -2) </details> ### 📄 Description This PR exposes the Passkey authentication method to align with other plugins. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Exposed the Passkey plugin via better-auth/plugins to match other plugins and simplify imports. Updated demo, docs, CLI, and tests to use the new path. - **New Features** - Exported passkey from better-auth/plugins for direct import. - **Migration** - Replace imports of "better-auth/plugins/passkey" with "better-auth/plugins". <!-- 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-15 20:57:01 -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#22303