- Add server-side auth token loader (auth.server.ts) with SSR cookie forwarding - Add project-requests client for explicit/signal/existing issue dispatch - Refactor auth layout and app layout for SSR auth gating - Update auth-client and auth-provider for convex token flow - Extend project-issue primitives with request result schema - Wire projectIssues backend mutation for request handling - Update slice-one page and project-workspace hook - Adjust routes (remove unused), Caddy config, and env templates
9 lines
271 B
TypeScript
9 lines
271 B
TypeScript
import { env } from "@code/env/web";
|
|
import { convexClient } from "@convex-dev/better-auth/client/plugins";
|
|
import { createAuthClient } from "better-auth/react";
|
|
|
|
export const authClient = createAuthClient({
|
|
baseURL: env.VITE_AUTH_URL,
|
|
plugins: [convexClient()],
|
|
});
|