Supabase authentication provider for Boards
npm install @weirdfingers/boards-auth-supabaseSupabase authentication provider for Boards.
``bash`
npm install @weirdfingers/auth-supabase @supabase/supabase-js
`typescript
import { SupabaseAuthProvider } from "@weirdfingers/auth-supabase";
import { AuthProvider } from "@weirdfingers/boards";
const authProvider = new SupabaseAuthProvider({
url: process.env.NEXT_PUBLIC_SUPABASE_URL!,
anonKey: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
tenantId: "my-company", // optional
});
function App() {
return
}
``
See the Supabase authentication guide for detailed setup instructions.
- Email/password authentication
- Social provider login (Google, GitHub, Discord, etc.)
- Magic link authentication
- Password reset
- Session management
- TypeScript support
MIT