# @better-auth/passkey

> Passkey plugin for Better Auth

Latest version **1.7.19** (published 2026-11-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @better-auth/passkey
pnpm add @better-auth/passkey
yarn add @better-auth/passkey
bun add @better-auth/passkey
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.7.19 |
| Published | 2026-11-10 |
| First published | 2025-11-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 30220 |
| Maintainers | bekacru, better-gustavo |
| Keywords | auth, passkey, typescript, better-auth |

## Links

- npm: https://www.npmjs.com/package/@better-auth/passkey
- Repository: https://github.com/better-auth/better-auth
- Homepage: https://www.better-auth.com/docs/plugins/passkey
- npm.io page: https://npm.io/package/@better-auth/passkey

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 1.7.19 (latest) — 2026-11-10
- 1.8.0-beta.7 (beta) — 2026-11-10
- 1.6.34 (release-1.6) — 2026-11-01
- 1.7.0-rc.6 (rc) — 2026-08-14
- 1.4.22 (release-1.4) — 2026-03-16
- 1.8.0-beta.6 — 2026-11-05
- 1.7.18 — 2026-11-05
- 1.7.17 — 2026-11-04
- 1.8.0-beta.5 — 2026-11-03
- 1.7.16 — 2026-11-03
- 1.8.0-beta.4 — 2026-11-01
- 1.7.15 — 2026-11-01
- 1.8.0-beta.3 — 2026-10-27
- 1.7.14 — 2026-10-26
- 1.7.13 — 2026-10-25
- … 157 more at https://npm.io/package/@better-auth/passkey/versions

## README

# Better Auth Passkey Plugin

## Installation

```bash
# Using npm
npm install better-auth @better-auth/passkey

# Using yarn
yarn add better-auth @better-auth/passkey

# Using pnpm
pnpm add better-auth @better-auth/passkey

# Using bun
bun add better-auth @better-auth/passkey
```

## Usage

### Server

```typescript
import { betterAuth } from 'better-auth';
import { passkey } from '@better-auth/passkey';

export const auth = betterAuth({
  plugins: [
    passkey({
      rpID: 'example.com',
      rpName: 'My App',
    }),
  ],
});
```

### Client

```typescript
import { createAuthClient } from 'better-auth/client';
import { passkeyClient } from '@better-auth/passkey/client';

export const authClient = createAuthClient({
  plugins: [passkeyClient()],
});
```

## Documentation

For more information, visit the [Better Auth Passkey documentation](https://better-auth.com/docs/plugins/passkey).

## License

MIT

---
_Source: https://npm.io/package/@better-auth/passkey · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
