Auth in Nuxt 3 the EASY WAY

  Рет қаралды 52,292

LearnVue

LearnVue

Күн бұрын

Пікірлер
@БаястанНурбек-ж6ж
@БаястанНурбек-ж6ж Жыл бұрын
have you deleted the repo?
@ianmadrigalmonkey1979
@ianmadrigalmonkey1979 Жыл бұрын
I keep getting, "useSupabaseClient is not defined" (500 error). I shouldn't have to import anything from supabase into my file (Login.vue) right? Also I wasn't have to look at your repo because it's missing or something (404).
@cindrmon
@cindrmon 2 жыл бұрын
i really hope nuxt 3 development would finish its stable release before the end of this year! all these stuff is really cool and i really hope it would be stable anytime soon!
@vertexshade
@vertexshade 2 жыл бұрын
btw, nuxt 3 stable is out
@cindrmon
@cindrmon 2 жыл бұрын
@@vertexshade yea i know
@rylanharper
@rylanharper 2 жыл бұрын
More Nuxt3 videos would be great!
@LearnVue
@LearnVue 2 жыл бұрын
100% have more on the way
@mdR041452
@mdR041452 2 жыл бұрын
hmm... repo link is broken 😞
@readline1469
@readline1469 Жыл бұрын
would your key be exposed?
@clarity8258
@clarity8258 2 жыл бұрын
these vids are just like perfect gifts to vue/nuxt ecosystem ♥
@LearnVue
@LearnVue 2 жыл бұрын
glad you like them
@АлександрДеревков-д2с
@АлександрДеревков-д2с Жыл бұрын
The best tutorial on auth with Nuxt3! Thank you very much!
@iiXeenon
@iiXeenon Жыл бұрын
How did you make the logout button? I am so puzzled at that part and I can't seem to do it
@hussamsam1485
@hussamsam1485 2 жыл бұрын
Hello, thank you for this information. I have a question please, I am using Laravel API with Nuxt 3, but I have a problem with redirecting to the home page when the page is refreshed, knowing that the user is already authed .. Do you have a solution for this please?
@mrzzleang3641
@mrzzleang3641 2 жыл бұрын
You can use middleware
@hussamsam1485
@hussamsam1485 2 жыл бұрын
@@mrzzleang3641 Already using middleware but composable state return undefined before nuxt app init Im solve this issue with redirecting value from cookie but this solution bad
@yagelProject
@yagelProject 2 жыл бұрын
Please tell me how to display Error message and message when registered, check your email
@tweetymr
@tweetymr 4 ай бұрын
The Repo Link is broken 😞
@namo3t598
@namo3t598 2 жыл бұрын
I have a problem. When I logged out and try to log in back, the error said "Uncaught (in promise) TypeError: client.auth.signIn is not a function" how to fix this. Thank you.
@Michael-dp7by
@Michael-dp7by Жыл бұрын
Hey, I had the same problem and fixed it by changing the login function from client.auth.signIn to client.auth.signInWithPassword. Hope this helps
@martinpenev6750
@martinpenev6750 Жыл бұрын
How does Supabase identify the user? Session ID in localstorage? JWT? Cookie?
@umeyama44
@umeyama44 2 жыл бұрын
damn. i love this channel so much. Contents are great. Thumbnails are cute and beautiful. Every single video is so tidy. This channel's vidoes satifsy a perfectionist .
@LearnVue
@LearnVue 2 жыл бұрын
this may be one of my favorite comments ever. thank you
@Michael-dp7by
@Michael-dp7by Жыл бұрын
Hey, I had a problem with getting the middleware to work while following along with the video. Instead of initialising the supabase user and then checking in the if statement if (!user.value && to.path === '/notes') {navigateTo("/")} instead I did this: if (to.path.includes("notes" ) || to.path.includes("protectedRoute")) {const user = useSupabaseUser() if (user.value) {return} return navigateTo("/")} and this works fine.
@loganwenzel1615
@loganwenzel1615 Жыл бұрын
I had to add 'return' as well
@slicktak
@slicktak 2 жыл бұрын
Followed your stuff step-by-step and the middleware sees the user as null. Suggestions?
@adjuvara
@adjuvara 2 жыл бұрын
Prisma + supabase+ nuxt vid in the future? 😄
@LearnVue
@LearnVue 2 жыл бұрын
i think you read my mind 👀
@adjuvara
@adjuvara 2 жыл бұрын
@@LearnVueI'm curious how you solve the supabase auth( so easy to toggle google, apple, etc in the admin panel ) with prisma ?
@Supabase
@Supabase 2 жыл бұрын
Yes please!
@cindrmon
@cindrmon 2 жыл бұрын
why would you need prisma, an ORM for sql and nosql databases when you already have supabase, which already is an api for a postgresql database? isn't that kind of redundant? or am i missing something there?
@imwalidsalhi
@imwalidsalhi 2 жыл бұрын
Thank you for the explantations! please provides us a full stack project with Nuxt and Supabase with Prisma
@mattfarrell4651
@mattfarrell4651 2 жыл бұрын
What theme and extensions are you using in VSCode for Nuxt3?
@iamthe_OBSERVER
@iamthe_OBSERVER 2 жыл бұрын
THANK the lord God that my man is doing something wit supabase. There’s not that much documentation on it and I’m grateful you’ve talked on it. ✨
@LearnVue
@LearnVue 2 жыл бұрын
glad to hear that :)
@scriptedpixelsltd
@scriptedpixelsltd 7 ай бұрын
the repo seems to have been removed :(
@jarredluzada5700
@jarredluzada5700 2 жыл бұрын
Can you do a tutorial for using supabase realtime Nuxt 3 from nuxtjs/supabase?
@AnassSanba-f5d
@AnassSanba-f5d Жыл бұрын
Idid the last part with row level security without the serverSupabase
@rs14058
@rs14058 2 жыл бұрын
Thanks for this video! It helped a lot 🎉🤗
@juanalbertoboada
@juanalbertoboada 2 жыл бұрын
Really great video...waiting more from Nuxtjs!
@LearnVue
@LearnVue 2 жыл бұрын
you shouldnt have to wait too long 😉
@dardawill7253
@dardawill7253 2 жыл бұрын
Hey man Awesome as always. Thank you. I was wondering what VSCode theme do you use?
@LearnVue
@LearnVue 2 жыл бұрын
dracula pro 🤞🏾
@BartoszTomiak
@BartoszTomiak 2 ай бұрын
Super useful, thank you!
@Vidzhut
@Vidzhut 2 жыл бұрын
Awesome tutorial. Saved several days of research as a novice developer. Just one thing how do I show a message after signup to the user? As an example ( show message: Please confirm your email address)
@abat_dauletbaev
@abat_dauletbaev 2 жыл бұрын
As always awesome content.
@LearnVue
@LearnVue 2 жыл бұрын
💚
@martinmusli3044
@martinmusli3044 2 жыл бұрын
Absolutely helpful!
@Adrian-pf9ft
@Adrian-pf9ft 2 жыл бұрын
awesome vid, thanks for the information
@LearnVue
@LearnVue 2 жыл бұрын
appreciate you watching!
@reagandesigns6432
@reagandesigns6432 2 жыл бұрын
Anyone here using firebase and supabase? Can you share your experience of which is better/more flexible?
@LearnVue
@LearnVue 2 жыл бұрын
ive used firebase in the past! I haven’t felt limited by switching. having a Postgres DB is a game changer compared to Firestore - I’ve been using Prisma with the DB to have get full type safety in Nuxt apps - way easier to switch your db to another provider since it’s a standard postgres. Also, supabase is open-source so technically you can extend it. Butttt….lol
@JaimitoAleman
@JaimitoAleman 2 жыл бұрын
The problem I have with Firebase is the vendor lock in. They make it pretty hard to migrate your data OUT and use it else where. I've happily been using Supabase on a few projects and really like the experience.
@PureAlbania
@PureAlbania 2 жыл бұрын
​@@LearnVueBut here in this video you didn't show how to protect your data from other users. You send the token at the header but how the server will protect the data? In Firebase it's very easy to setup a rule for any CRUD operations in a document based on the authenticated user. How does this compares with supabase, as this is the most important part of why a user is authenticated.
@LearnVue
@LearnVue 2 жыл бұрын
​@@PureAlbania ​ you can add RLS to each of your tables and authenticate db requests from server client! does this help? supabase.com/docs/guides/auth/row-level-security
@TheFoxstory
@TheFoxstory 2 жыл бұрын
LOVE !!!
@Somew111here
@Somew111here 2 жыл бұрын
super cool vid
@ricardocastanho4717
@ricardocastanho4717 2 жыл бұрын
You're awesome!
@LearnVue
@LearnVue 2 жыл бұрын
🙌
@ernestoianuario
@ernestoianuario 5 ай бұрын
Very nice, although repo is 404
@albiceleste101
@albiceleste101 2 жыл бұрын
Easiest auth I've ever seen Firebase is not as clear imo, also firebase module doesn't work with nuxt 3 I think
@LearnVue
@LearnVue 2 жыл бұрын
The Nuxt Supabase Module is great. I'm sure someone will build a firebase nuxt 3 module soon especially as it moves out of RC
@tobychidi
@tobychidi 2 жыл бұрын
Too easy. Supabase is super cool
@DamirSecki
@DamirSecki 2 жыл бұрын
my honest opinion... keep them coming... but I don't like one bit this fast paced tutorials... way to fast to follow...would rather see a series of 2-3 slower paced videos that go a bit more in depth
@mdR041452
@mdR041452 2 жыл бұрын
yes please ... a little slower paced would be nice. Otherwise - excellent!
@darksideishere
@darksideishere Жыл бұрын
This tutorial has so many syntactical problems, it's unreal smh.
@ibrahimhalouane8130
@ibrahimhalouane8130 8 ай бұрын
Nice, There are too many ways to do auth in Nuxt, I wish to see some comparison Pros/Cons for each one of them @LearnVue?
Data Fetching With Nuxt 3
20:31
John Komarnicki
Рет қаралды 39 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
You don't need Supabase Auth - use this instead!
7:30
Supabase
Рет қаралды 16 М.
Prisma and Nuxt is my new favorite combo
5:01
LearnVue
Рет қаралды 32 М.
How to Roll Your Own Auth
13:05
Ben Awad
Рет қаралды 125 М.
Easily Add Authentication With Nuxt 3 + Supabase
14:23
John Komarnicki
Рет қаралды 16 М.
How to use MongoDB/Mongoose in Nuxt 3 | Nuxt3 Database Integration
16:56
Oh, Auth Doesn't Have to Suck?
7:16
Josh tried coding
Рет қаралды 67 М.
Nuxt Authentication: SSR Authentication Patterns for Nuxt.js
9:20
Vue Mastery
Рет қаралды 1,9 М.
Route Middleware With Nuxt
6:42
John Komarnicki
Рет қаралды 4,2 М.
You're Probably Using Nuxt Wrong
5:16
LearnVue
Рет қаралды 36 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН