Initial commit: PodcastYes — AI podcast platform

This commit is contained in:
Leon Serfaty
2026-06-07 03:58:32 -04:00
commit 155507f21a
151 changed files with 19826 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
"use client";
import { createAuthClient } from "better-auth/react";
import { adminClient, organizationClient } from "better-auth/client/plugins";
export const authClient = createAuthClient({
baseURL: process.env.NEXT_PUBLIC_APP_URL ?? undefined,
plugins: [adminClient(), organizationClient()],
});
export const { signIn, signUp, signOut, useSession, useActiveOrganization, organization } =
authClient;