本页还没有译文
本页 11 段还没译成简体中文,下面显示的是英文原文。Migrating to the SSR package from Auth Helpers
还没翻译译自英文(supabase.com)本页 11 段都还没译
The new ssr package takes the core concepts of the Auth Helpers and makes them available to any server language or framework. This page will guide you through migrating from the Auth Helpers package to ssr.
Replacing Supabase packages
npm uninstall @supabase/auth-helpers-nextjsnpm uninstall @supabase/auth-helpers-sveltekitnpm uninstall @supabase/auth-helpers-remixnpm install @supabase/ssrCreating a client
The new ssr package exports two functions for creating a Supabase client. The createBrowserClient function is used in the client, and the createServerClient function is used in the server.
Read the Creating a client page for examples of creating a client in your framework and our migration guide.
Next steps
- Implement Authentication using Email and Password
- Implement Authentication using OAuth
- Learn more about SSR
AI 翻译查看英文原文