Files
cloudrite/lib/supabase/client.ts
T
v0andASOwnerYT 1386f6e549 feat: implement Supabase authentication with Google OAuth
Add Supabase client, middleware, and auth pages; update header for auth state.

Co-authored-by: ASOwnerYT <[email protected]>
2026-03-22 23:07:11 +00:00

9 lines
213 B
TypeScript

import { createBrowserClient } from '@supabase/ssr'
export function createClient() {
return createBrowserClient(
process.env.NEXT_PUBLIC_SUPABASE_URL!,
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
)
}