Something went wrong. Try again.
A free, open-source, self-hosted place to write a novel.
Something went wrong. Try again.
123456789101112import { 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()]});