@weirdfingers/boards-auth-supabase
v0.11.3
Published
Supabase authentication provider for Boards
Maintainers
Readme
@weirdfingers/auth-supabase
Supabase authentication provider for Boards.
Installation
npm install @weirdfingers/auth-supabase @supabase/supabase-jsUsage
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 <AuthProvider provider={authProvider}>{/* Your app */}</AuthProvider>;
}Configuration
See the Supabase authentication guide for detailed setup instructions.
Features
- Email/password authentication
- Social provider login (Google, GitHub, Discord, etc.)
- Magic link authentication
- Password reset
- Session management
- TypeScript support
License
MIT
