sso: polyfill buffer for browser

This commit is contained in:
Arunavo Ray
2025-10-22 18:13:36 +05:30
parent dc340666ef
commit 79e0086a72
4 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
import "@/lib/polyfills/buffer";
import { createAuthClient } from "better-auth/react";
import { oidcClient } from "better-auth/client/plugins";
import { ssoClient } from "@better-auth/sso/client";
@@ -60,4 +61,4 @@ export type Session = BetterAuthSession & {
};
export type AuthUser = BetterAuthUser & {
username?: string | null;
};
};