mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-26 08:56:40 -05:00
docs(fix): import outside of mdx code highlighter (#1605)
This commit is contained in:
committed by
GitHub
parent
b6173e2063
commit
dde0699a6c
@@ -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