summaryrefslogtreecommitdiff
path: root/packages/auth/src/client.ts
diff options
context:
space:
mode:
authorZaid-maker <53424436+Zaid-maker@users.noreply.github.com>2025-06-24 16:59:44 +0500
committerZaid-maker <53424436+Zaid-maker@users.noreply.github.com>2025-06-24 16:59:44 +0500
commit62051de6c11dde40e2929c030e4418f87b137e42 (patch)
tree3492ed2abd6a127512a6ce09543bcf770bcd53d5 /packages/auth/src/client.ts
parent7c83b8e70b2024d79f053bd40e6f633969c2c1f5 (diff)
parent900deab065ef17941262f48524af786cac302945 (diff)
downloadopencut-62051de6c11dde40e2929c030e4418f87b137e42.tar.gz
Merge branch 'main' into implement-workflows
Diffstat (limited to 'packages/auth/src/client.ts')
-rw-r--r--packages/auth/src/client.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/auth/src/client.ts b/packages/auth/src/client.ts
new file mode 100644
index 00000000..deda3928
--- /dev/null
+++ b/packages/auth/src/client.ts
@@ -0,0 +1,5 @@
+import { createAuthClient } from "better-auth/react";
+
+export const { signIn, signUp, useSession } = createAuthClient({
+ baseURL: process.env.NEXT_PUBLIC_BETTER_AUTH_URL!,
+}); \ No newline at end of file