[PR #3966] [MERGED] feat(passkey): error codes in passkey client #22013

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3966
Author: @frectonz
Created: 8/13/2025
Status: Merged
Merged: 9/9/2025
Merged by: @himself65

Base: canaryHead: feat/error-codes-in-pass-key-client


📝 Commits (3)

  • 8bf96bd feat(passkey): error codes in passkey client
  • 77ad7cd Merge branch 'canary' into feat/error-codes-in-pass-key-client
  • 6f43d83 Merge branch 'canary' into feat/error-codes-in-pass-key-client

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/passkey/client.ts (+5 -0)

📄 Description

closes #3879


Summary by cubic

Added error codes to passkey client error responses to make it easier to identify and handle specific authentication errors. This addresses the requirements in Linear issue #3879.


🔄 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/3966 **Author:** [@frectonz](https://github.com/frectonz) **Created:** 8/13/2025 **Status:** ✅ Merged **Merged:** 9/9/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `feat/error-codes-in-pass-key-client` --- ### 📝 Commits (3) - [`8bf96bd`](https://github.com/better-auth/better-auth/commit/8bf96bd8760fb029e1c3e4aaab974a82ab950178) feat(passkey): error codes in passkey client - [`77ad7cd`](https://github.com/better-auth/better-auth/commit/77ad7cd1b43a74b9eefd452817408eb093659159) Merge branch 'canary' into feat/error-codes-in-pass-key-client - [`6f43d83`](https://github.com/better-auth/better-auth/commit/6f43d8324482d50393d7b8fe757b545313decc8a) Merge branch 'canary' into feat/error-codes-in-pass-key-client ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/passkey/client.ts` (+5 -0) </details> ### 📄 Description closes #3879 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added error codes to passkey client error responses to make it easier to identify and handle specific authentication errors. This addresses the requirements in Linear issue #3879. <!-- 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:45: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#22013