Published On: January 26th, 2023Categories: AI News



Intro

Awhile back I wrote an article on using Supabase to implement user authentication in a Next.js app. As it often goes in the world of open-source web, things evolve quickly and a lot can change in just over a year, and so is the case with Supabase.

In this post, I would like to bring you an updated guide on implementing user auth with Supabase and Next.js in 2023.

NOTE: Make sure to read the original post first if you haven’t yet, as we’ll be building on the main concepts covered there. Code for the Supabase v1 implementation can be found under the v1 branch in GitHub.



What’s New?

So, what all has changed? Let’s start with the big stuff.



Next 13

In October 2022, Next.js team announced Next 13, and with it came the new app directory architecture.

Though officially still in beta (as of January 2023), the app directory offers a great new way of architecting our apps, and introduces new features like nested layouts and support…

Source link

Leave A Comment