[PR #5399] [MERGED] demo: add passkey login #14227

Closed
opened 2026-04-13 09:22:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5399
Author: @okisdev
Created: 10/18/2025
Status: Merged
Merged: 10/22/2025
Merged by: @Bekacru

Base: canaryHead: feat(demo)/support-passkey-login


📝 Commits (1)

  • 344f60e feat(demo): support passkey login

📊 Changes

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

View changed files

📝 demo/nextjs/components/sign-in.tsx (+24 -1)

📄 Description

This PR added Passkey login method to nextjs demo. Currently, we could add passkey in dashboard but can't test it when successfully added, this made it works.


Summary by cubic

Add Passkey login to the Next.js demo sign-in page so users can test passkey auth after adding a passkey in the dashboard. Adds a “Sign in with Passkey” button with success/error toasts, redirect on success, and a last-used indicator.


🔄 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/5399 **Author:** [@okisdev](https://github.com/okisdev) **Created:** 10/18/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `feat(demo)/support-passkey-login` --- ### 📝 Commits (1) - [`344f60e`](https://github.com/better-auth/better-auth/commit/344f60efec671f063ec25ceaee71c5d60811e289) feat(demo): support passkey login ### 📊 Changes **1 file changed** (+24 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/components/sign-in.tsx` (+24 -1) </details> ### 📄 Description This PR added Passkey login method to nextjs demo. Currently, we could add passkey in dashboard but can't test it when successfully added, this made it works. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add Passkey login to the Next.js demo sign-in page so users can test passkey auth after adding a passkey in the dashboard. Adds a “Sign in with Passkey” button with success/error toasts, redirect on success, and a last-used indicator. <!-- 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-13 09:22:05 -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#14227