mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 23:53:17 -05:00
15 lines
367 B
TypeScript
15 lines
367 B
TypeScript
import { createAuthClient } from "better-auth/react";
|
|
import { expoClient } from "@better-auth/expo/client";
|
|
import * as SecureStore from "expo-secure-store";
|
|
|
|
export const authClient = createAuthClient({
|
|
baseURL: "http://localhost:8081",
|
|
disableDefaultFetchPlugins: true,
|
|
plugins: [
|
|
expoClient({
|
|
scheme: "better-auth",
|
|
storage: SecureStore,
|
|
}),
|
|
],
|
|
});
|