import { createAuthClient } from 'better-auth/client'; import { passkeyClient } from '@better-auth/passkey/client'; /** * The sign-in and account forms post to server actions, so this client exists for * WebAuthn alone: the browser must call the authenticator before the server can * verify anything. */ export const authClient = createAuthClient({ plugins: [passkeyClient()] });