Next.js 14 + @supabase/ssr: authencation, oauth, page protection,CRUD
Daily Web Coding Daily Web Coding
20.8K subscribers
35,753 views
820

 Published On Nov 10, 2023

In this video I am going to show you how to use Next.js 14 + @supabase/ssr to do authentcation, oauth with github, page protection, and crud operation in server action.


code-starter: https://github.com/Chensokheng/next-1...

Document:
- https://supabase.com/docs/guides/auth...
- https://supabase.com/docs/guides/auth...
- https://supabase.com/docs/guides/auth...

Support the channel : 🙏🌸
- donate 🌻:   / dailywebcoding  


Follow me:   👇
- Discord:   / discord  
- Github: https://github.com/Chensokheng


⭐️ Contents ⭐️

00:00 Introduction
01:17 Setup supabase client
03:05 Register
07:31 Page protection
10:35 SignOut
12:40 SignIn
16:08 OAuth with Github
20:43 Midddleware
21:19 CRUD create table
22:07 CRUD setup table policy
24:05 CRUD create
28:18 CRUD read
31:45 CRUD delete update
35:21 Outro

show more

Share/Embed