Easily Add Authentication With Nuxt 3 + Supabase

preview_player
Показать описание

Timestamps:
0:00 Introduction
0:59 Create Nuxt 3 Application
1:22 Setup Supabase Project
1:50 Implement Nuxt Supabase Module
3:00 Sign up a user
7:15: Sign in a user
9:33 Detect if a user is logged in
10:27 Logout a user
11:37 Protect Authenticated Routes With Middleware

#nuxtjs #nuxt3 #supabase
Рекомендации по теме
Комментарии
Автор

It is very gratifying that you are making a video about nuxt js 3 when there is such a shortage of resources.

tolgabeyazoglu
Автор

Nice video. Would love to see more of this. Nuxt + Supabase - Features, Best Practices, SSR, SEO, Tests, etc
Keep it up!

psybitcoin
Автор

Just in time as i have been looking to start a project using nuxt and supabase!

randel_mcafee
Автор

This was so useful, thanks!
Please more nuxt and nuxt + supabase content

BloodBunn
Автор

Man this video is so well done. Easy to understand, straight to the point. I love it. Keep it up!

christopher
Автор

bro can you send this source code/repo and put link in description?

adydetra_
Автор

Thank you so much, was able to figure out my issue thanks to this video!!

StellaCrewGaming
Автор

Awesome video !!! 🤯 It helped me so much

welkerarantes
Автор

Thank you for this wonderful video! Here and there you have to tweak some things, but this helps me a lot!

elementxyz
Автор

Not showing how template is build and no github repo?

larsnobel
Автор

how did you verify the user email? cause you can't login without confirming email but not shown in the video

peoray
Автор

Can you create an additional video showing how to create a profile table to store the user info once is registered?

antoniogiroz
Автор

Thx for the video! Just a quick question: Would i need to use definePageMeta on every page or is it possible to define it on a layout for example and make it available to all pages? What would be the best solution for this?

xeon
Автор

Very very helpful video on authentication. Just one doubt: if I want to add permission system (authorisation), i.e., users with only specific permissions can view certain elements of a page, what should be the best approach?

Create a Users table postgres database in supabase and add different columns for each permission type?

Can we reuse the Users table inside the supabase auth page, instead of creating new one in database page?

ManasMadrecha
Автор

So I reproduced what I got here and I find myself in an interesting dilemma. I am stuck in the login page, and cannot seem to go to register despite my best attempts. The login does not work, despite having manually placing my credentials within supabase in order to test the login, console returns I'm not logged in either. When I check my supabase client to see if the connection string is correct (URL and anon string), it is all correct. Does anyone experience the same issues as myself? Or am I doing something wrong?

eltonlrodriguez
Автор

How does Supabase identify the user? Session ID in local storage? JWT?

martinpenev
Автор

when i created a register page and add supabase it automatically redirect to the login page. any solution?

mfdjtcr
Автор

why when i add "const client = useSupabaseAuthClient();" i keep get 500 document is not defined

YoheiKung
Автор

Hmm for some reason i can't go to /register it redirect me to /login whole the time?

MrSonicastra
Автор

the default middleware is holding me on login and i cant figure the documentations how to let the user allowed in register page

bombrman