Тёмный

MASTER Supabase Authentication: Server vs. Client Auth Tutorial 

Cole Blender 🇺🇸
Подписаться 21 тыс.
Просмотров 253
50% 1

Learn how to set up Supabase authentication in Next.js. This tutorial covers user signup, login, secure routes with middleware, and both server and client authentication to help optimize for static site generation.
Subscribe 👉 / @coleblender
Follow me on X 👉 / coleblender
Follow me on IG 👉 / yazzibelani
GitHub Repo 👉 github.com/ColeBlender/supaba...
Supabase Docs 👉 supabase.com/docs/guides/auth...
Other Supabase Docs 👉 supabase.com/docs/guides/auth...
Fullstack App 👉 • Build and Deploy FULL ...

Наука

Опубликовано:

 

23 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@lev1ato
@lev1ato 9 дней назад
I forgot how to do the client side auth and was thinking about it, this came at the right time :D
@coleblender
@coleblender 9 дней назад
Hell yeah that’s the Universe in action. Glad I could help!!
@dannyward4385
@dannyward4385 День назад
For the client auth section near the end, instead of having to write the onAuthStateChanged, couldnt you have a context that has a useReducer to store the user data and have an isAuthenticated boolean that is passed to the context if that function is true and than use that throughout the app on pages that need client conditional rendered data. This to me would be a more efficient way to have that data persist, say if the user information has a profile with data can be accessed through a user object in the context that has been called once instead of doing multiple calls to supabase throughout the application
@coleblender
@coleblender День назад
If you read the supabase docs you’ll see that it’s designed to be called every time you want the user data. Supabase doesn’t charge you for how many auth calls you make only for how many recurring users you have. It seems wasteful but that’s how they’ve designed it and it works pretty well
@harsh12codes
@harsh12codes 6 дней назад
that "wtf b****h" 😂🤣 btw i am watching your channel from the start and i really like your content , just a request from a dedicated subscriber😅 can you make a whole playlist or a course on next + supabase? 🥹
@coleblender
@coleblender 6 дней назад
lol glad you like it bro. Yeah that's a great idea. I already have several next + supabase videos lined up for the next couple weeks. Once I release them I could eventually make an entire next + supabase A-Z course. And thanks for the support you're the GOAT!
Далее
SUPABASE OAuth With Next.js
20:16
Просмотров 2,3 тыс.
Understand the Supabase SSR Package easily
13:55
Просмотров 10 тыс.
Rope climb tutorial !! 😱😱
00:22
Просмотров 2,8 млн
DO NOT Dunk Here ❌🏀
00:20
Просмотров 8 млн
Cool Tools I’ve Been Using Lately
23:11
Просмотров 193 тыс.
I Ditched Prettier and ESLint (Here's Why)
13:07
Просмотров 4,6 тыс.
I Didn't Know Next.js Server Actions Could Do This!
6:53
Everything Starts with a Note-taking System
21:23
Просмотров 25 тыс.
SvelteKit Authentication with Supabase
23:02
Просмотров 34 тыс.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
Просмотров 156 тыс.
Best mobile of all time💥🗿 [Troll Face]
0:24