We generally recommend using the new
@supabase/ssr package instead of
@supabase/ssr takes the core concepts of the Auth Helpers package and makes them available to any server framework. Check out the migration doc to learn more.
Working with server-side frameworks is slightly different to client-side frameworks. In this section we cover the various ways of handling server-side authentication and demonstrate how to use the Supabase helper-libraries to make the process more seamless.
The Auth Helpers are in
beta. They are usable in their current state, but it's likely that there will be breaking changes.