mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
14 lines
367 B
Handlebars
14 lines
367 B
Handlebars
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: process.env.EXPO_PUBLIC_SERVER_URL,
|
|
plugins: [
|
|
expoClient({
|
|
storagePrefix: "my-better-t-app",
|
|
storage: SecureStore,
|
|
}),
|
|
],
|
|
});
|