mirror of
https://github.com/better-auth/better-auth.git
synced 2026-07-23 18:33:16 -05:00
docs(fix): import outside of mdx code highlighter (#1605)
This commit is contained in:
@@ -27,10 +27,11 @@ export const auth = betterAuth({
|
||||
|
||||
Add the client plugin and specify where the user should be redirected after sign-in or if additional verification (like 2FA) is needed.
|
||||
|
||||
|
||||
```ts
|
||||
import { createAuthClient } from "better-auth/client";
|
||||
import { oneTapClient } from "better-auth/client/plugins";
|
||||
|
||||
```ts
|
||||
const authClient = createAuthClient({
|
||||
plugins: [
|
||||
oneTapClient({
|
||||
|
||||
Reference in New Issue
Block a user