promote: uat → main (GRO-1757 SSO auto-provision fix) #21

Merged
Scrubs McBarkley merged 27 commits from uat into main 2026-05-26 02:16:29 +00:00
Showing only changes of commit 35d31a984d - Show all commits
+1 -1
View File
@@ -1,7 +1,7 @@
import { createAuthClient } from "better-auth/react";
export const authClient = createAuthClient({
baseURL: import.meta.env.VITE_API_URL ?? "",
baseURL: import.meta.env.VITE_API_URL || (typeof window !== "undefined" ? window.location.origin : ""),
});
export const { signIn, signOut, useSession, changePassword } = authClient;