Ctrl K
ComunidadGuías…

server/auth/auth-client.ts

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
import { createAuthClient } from 'better-auth/react' // make sure to import from better-index/react
import { twoFactorClient } from 'better-auth/client/plugins'
import { passkeyClient } from '@better-auth/passkey/client'

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