Why is @supabase/auth-helpers-nextjs replaced by @supabase/ssr ?
In the old documentation we had, we used
import { createRouteHandlerClient } from "@supabase/auth-helpers-nextjs";import { cookies } from "next/headers";const supabase = createRouteHandlerClient({ cookies });
import { createRouteHandlerClient } from "@supabase/auth-helpers-nextjs";import { cookies } from "next/headers";const supabase = createRouteHandlerClient({ cookies });
to access an authenticated user's session
Except during the Nextjs13 conf you announced a brand new method with /ssr I can't understand what the purpose of this change is, knowing that the old way of doing things was already ssr?
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.