Skip to contentOpen History to see the last commit
auth-client.ts
7 lines268 Bytes
1import { createAuthClient } from 'better-auth/react' 2import { emailOTPClient } from 'better-auth/client/plugins' 3import { apiKeyClient } from '@better-auth/api-key/client' 5export const authClient = createAuthClient({ 6 plugins: [emailOTPClient(), apiKeyClient()],