Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authentication endpoints and flows.
apps/web
import { createClient } from "@/lib/supabase/client"; // Login const supabase = createClient(); const { data, error } = await supabase.auth.signInWithPassword({ email: "user@example.com", password: "password", }); // Signup const { data, error } = await supabase.auth.signUp({ email: "user@example.com", password: "password", options: { data: { full_name: "John Doe" }, }, });
SupabaseGuard
@UseGuards(SupabaseGuard) @Get("protected") getProtected(@Req() req) { const user = req.user; // Verified Supabase user return { userId: user.id }; }