Skip to content
masterclass Buddy

Supabase · Function

createBrowserClient

createBrowserClient creates a Supabase client for browser code. It is the replacement for the browser client from the deprecated Auth Helpers packages.

Last updated

Syntax

createBrowserClient(supabaseUrl, publishableOrAnonKey)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • createServerClient
  • @supabase/ssr
  • document.cookie
  • createClient

Source: Migrating to the SSR package from Auth Helpers | Supabase Docs. Checked 2026-11-03.