Skip to content
Source
Sign inSign up
TanStack/schemas
Open 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'
4​
5export const authClient = createAuthClient({
6 plugins: [emailOTPClient(), apiKeyClient()],
7})