Supabase auth

Use Supabase auth to add authentication to your extension.

Install

Before you add supabase-auth, ensure you have the initial extension setup. If you have not done that first initialise and then comeback here.

npx ChromeKit-Org/cli add supabase-auth

Supabase configuration

Navigate to supabase dashboard and get your project API key.

You can get the key from Project Settings -> API (In configuration sectino) -> Project API Keys. Get the anon public key and add it to cs-root/src/App.jsx in createClient.

Get your project url from the same page in Supabase but under Project URL section.

Setup redirect URI

Head here to know more https://github.com/chromekit-org/docs/blob/main/supabase-auth/README.md (Accessible only for purchased users)

Last updated