I really just want to say "THANK YOU" for this amazing content. I used React for years and now decided to switch for Vue, and your channel is making my experience from "nice" to "omg I love Vue". So really thanks and please keep up with the amazing content!!
@miraztisha2 жыл бұрын
Can you give me source code??
@JimKrillPDX2 жыл бұрын
I wrestled with how to handle the authGuard in vue-router for a while... finally ended up with something similar to what you have here, but not quite. This video helped out a lot to finalize what I've been working on. Thank you!
@nevenlukic Жыл бұрын
7:27 has saved me. Thank you! I've managed to setup everything myself but this part was the missing piece. Great video, short, informative and fun.
@hyggedev21242 жыл бұрын
I was today years old, when I found out, I can understand a lot of what's happening in vue coming from React. When your learn web development framework's, there truly is so much overlap and similarities 💯 Great video. I think vue is next for me.
@luistrcastro2 жыл бұрын
One of the best tutorials ever!! New, updated and straightforward
@shaxzodalimov3562 жыл бұрын
I haven't been able to find such quality content on this topic for a long time. It was very useful. Thank you
@RumbleLab2 жыл бұрын
I don't normally like and subscribe to videos like this but you were an exception. Your style was really nice and concise. I could see me watching your videos not just when I am trying to do something, but when trying to learn a new concept. Fine job. Thank you
@LearnVue2 жыл бұрын
thanks so much i really try to make videos that respect everyone's time, so i'm glad you like the style :)
@luisangelguzman23352 жыл бұрын
Simple, concise, and streightforward. I have nothing to say but thank you. Keep up the amazing content!
@pushandhabalia15012 жыл бұрын
you were super quick, super precise, covered all cases. Its hard to find guys like you. Keep up the pacy work, Simple awesome thanks man 🍻
@ignjat41232 жыл бұрын
This video explains everything so well in just 10 minutes. Thanks a lot for the video, man. You saved me a ton of time.
@danielwatson65292 жыл бұрын
Thanks bro, would love more firebase(9) stuff, love how u present it, the pace etc
@HijadeOdin10 ай бұрын
Excellent! first time I watch a QUICK guide for development and it actually works haha! Thank you, this is very usefull
@patrickodonnell2010 Жыл бұрын
This is a great concise example! I adapted it to my Vuetify 3 project and the options format and it worked 1st time. Thanks for this, brilliant, and btw I was making it much more difficult for myself prior to watching this lol.
@youssefelshahawy80802 жыл бұрын
Such an amazing tutorial, man! Keep going
@LearnVue2 жыл бұрын
thank youu
@Rasmuskvejborg Жыл бұрын
Thank you for this excellent guide that is not a second longer than it needs to be!
@JohannGarrido2 жыл бұрын
Man, this video is just GOLD. Subscribed.
@LearnVue2 жыл бұрын
thanks so much!
@atherisu Жыл бұрын
Thank you so much for this video!!! I think a role based access control with firebase would be a great continuation to this
@lerne-du Жыл бұрын
Thank you! It is the best video about Vue 3 and Firebase Authentication
@codexjay674 Жыл бұрын
Thank you so much for this video. i just started Vue and this is just what I needed 👍
@jaireinaКүн бұрын
Nice and simple. Thank you!
@RicardoMouraGimenez2 жыл бұрын
Best tutorial on youtube. Thank you!
@deadlyprogrammer67809 ай бұрын
thanks for the toturial! hope you come back publishing more videos ^^
@mj-lc9db2 жыл бұрын
Yoooo! Thanks this helped me for my school work
@juanalbertoboada2 жыл бұрын
WOW! Amazing tutorial! simple and streightforward! Two thumbs up!
@domb72102 жыл бұрын
Can someone explain to me the getCurrentUser function and the removeListener callback in 7:42? I do not understand why removeListener is called inside itself. I also tried not calling removeListener inside itself, and it works the same. What is the difference? Thank you!
@web33882 жыл бұрын
calling removeListener again cancels the tracking of onAuthStateChanged. Let me explain with an example, onAuthStateChanged solved the problem of the lack of authorization status when the page was refreshed. Those. we waited for this event and received an authorized user. If tracking is not canceled, then onAuthStateChanged will fire on every route change, in general this will not affect the work in any way, but in fact we only needed it once - on reboot. I hope I managed to explain))
@wimdenherder2 жыл бұрын
I tried to make it shorter, but actually the listener persists, so it's 'still detecting' multiple times when logging out and in again. But still, not really a performance issue ;) const getCurrentUser = () => new Promise((resolve, reject) => { onAuthStateChanged(getAuth(), e => { console.log('still detecting'); resolve(e); }, reject) } ) So you could also write this, which is easier to read: const getCurrentUser = () => new Promise((resolve, reject) => { onAuthStateChanged(getAuth(), resolve, reject) } )
@lowkeygaming47162 жыл бұрын
Very nice vid. You have discussed a lot of useful stuff in a short time.
@velhoguidsd Жыл бұрын
Simple and perfect example.
@aasmundnrsett8751 Жыл бұрын
Really smooth 👌🏻
@YourJulietnetАй бұрын
Great video! Can you help me out in which direction I need to search if I want the user (after logging in), to create a note or item and save it, but it's only viewable for this specific user? What is that called? Thanks again!
@TylerPotts3 жыл бұрын
Hey! Great tutorial! I love the pacing! :D
@LearnVue3 жыл бұрын
thanks a ton. been a fan of your videos too!!
@TylerPotts3 жыл бұрын
@@LearnVue Haha, thank you! :D
@sanusivictorolajuwon5143 жыл бұрын
Great tutorial 🤗🤗🤗. Thank You 👍🏽
@LearnVue3 жыл бұрын
thanks for watching!
@martijn_schermers2 жыл бұрын
Big love, you solved a problem I was dealing with for tooo long 🤟
@Santiago-e8j9f Жыл бұрын
you are the best, love you man
@ridwanridiawan2 жыл бұрын
Hi terimakasih, saya pelanggan baru anda ,,👍🏻
@wimdenherder2 жыл бұрын
Fantastic tutorial. If you look to LIKES / VIEWS, it seems that video's with a ratio like this video are really high quality
@wimdenherder2 жыл бұрын
You can adjust Elliot Waites' chrome extension to this rating-system, enjoy!
@zergzerg4844 Жыл бұрын
In your lesson you've made a mistake when you initialized firebase on 2:20. According firebase's manual if you are going to use Auth config you need to pass app into getAuth method => const app = initializeApp(firebaseConfig); // Initialize Firebase Authentication and get a reference to the service const auth = getAuth(app); And after then using this variables.
@funkdoc946 ай бұрын
Great video, thank you. One note though: never tell the user "wrong password" or "wrong username", this is a security threat.
@ashwinsaxena14372 жыл бұрын
Thanks for the tutorial! Nicely paced, some Fireship influence here, am I right?
@AryanChaurasia102 жыл бұрын
Nice but if you could also show documentations steps it will be lot easier to learn for new comers. Like going through the documentation of Firebase showing users how you got the method and then using in your code.
@Shulkerkiste Жыл бұрын
The Firebase authentication documentation is really confusing. It wouldn't help for this video.
@ReshiMahendra3 жыл бұрын
Nice tuts.. waiting for the oauth signin/signup with local database instead of firebase 😁👍
@LearnVue3 жыл бұрын
Thanks, I'll look into making one!
@radekhladik78952 жыл бұрын
There is one thing that should have been noted in the video. The route guard is client side so it must not be considered secure on its own. It is more like a convenience for the user than real barrier.... You need to implement proper guards in your backend.
@LearnVue2 жыл бұрын
yeah definitely - adding some auth checks to the API calls is always necessary!
@SULAIMANADAMU-wp8fj Жыл бұрын
I love this video, please what's the name of the vs-code theme?
@tamtm-gp9nr6 ай бұрын
thank you for this amazing content
@tobiasfriedrich002 жыл бұрын
Wow! Amazing Video!!! Thank you!
@alexanderpooh40152 жыл бұрын
Thank you! You really helped me! Thanks god I learnt English!
@alexanderpooh40152 жыл бұрын
Take your Like and Subscribe!
@LearnVue2 жыл бұрын
Glad i could help :)
@varavinth51962 жыл бұрын
Great tutorial.. And very useful..
@closeluca2 жыл бұрын
thanks dude, this is a very nice tutorial!
@LearnVue2 жыл бұрын
thank you thank you! and thanks for the support on so many of my vids!
@lhceleguim2 жыл бұрын
simply fantastic
@ElmachitoSilbateador2 жыл бұрын
Can someone explain to me what is happening in 7:41 ? Why is removeListener calling to itself?
@hashira_d Жыл бұрын
because onAuthStateChanged return unsubscribe method before further code execution
@comunicloud302 жыл бұрын
You rock!!!! Thank you very much for this video.
@traitotaku4940 Жыл бұрын
Awesome Video! 6:49 I get this error: Uncaught FirebaseError: Firebase: Need to provide options, when not being deployed to hosting via source. (app/no-options). I noticed that other components are calling getAuth() in onMounted(), how can I fix this error? Please help.
@traitotaku4940 Жыл бұрын
Sorry it's solved! I was missing the else { next(); }
@gcfhornet Жыл бұрын
Really helps. Thanks.
@SunilVGandhi2 жыл бұрын
Is there a repo where I can check out the code ?
@GabrielAlves-rs6eq3 ай бұрын
great video!
@LeagueOfAI7112 жыл бұрын
Good tutorial, could you make a Firestore video please?
@maskman48213 жыл бұрын
This is very useful and practical vue ÷ firebase auth tutorial, we can use this as a template, thank you so much. Can you also make a vue + firebase token auth with express or nuxt tutorial, I really want to know how to implement token auth with firebase javascript/admin sdk, thank you in advance 🙏🙏🙏
@LearnVue2 жыл бұрын
thanks!! i'll definitely look into the token auth capabilities. actually looking into something like that for the development of learnvue.co right now!
@tomaszleszczynski8928 Жыл бұрын
Hi Matt. First of all, thanks for the tutorial. The content you provided is really helpful. I followed your instructions, but I'm stuck with logging out when the user closes the browser tab. Any advice?
@warrenprezydent20102 жыл бұрын
Really good video. With yours help, firebase doesn't look that hard :D
@teosean_96472 жыл бұрын
I have an error property 'email' and 'password' was accessed during render but not defined on instance, do u know how to fix it?
@caiovinicius78712 жыл бұрын
Amazing video, ty!
@LearnVue2 жыл бұрын
thanks for the support 💚
@NoleKsum-si6vg2 жыл бұрын
You helped me so much
@Dania-Rahub2 жыл бұрын
Amazing !
@ohmydefense2 жыл бұрын
Why you've deleted "const app = " at 2:18?
@Skif7692 жыл бұрын
Thank you! Very help me add fairebase in prj
@rucibi2 жыл бұрын
wonderful ! Thanks !!
@malathip40432 жыл бұрын
I want to use .net core mssql for backend, what is the auth plugin to use with vue
@mahtoosacks2 жыл бұрын
Why does my app keep making the homepage default to /#? All my routes end up being prefixed with /#/
@shayonghoshroy72082 жыл бұрын
Great tutorial! Really helped me a lot. Only comment, please provide source code in the description.
@MohamedGamal-hd7rc Жыл бұрын
PLEASE 🙏 🙏 Can someone tell me i make this auth how i can use laravel as a backend and make relationships with user
@riyad-appscode2 жыл бұрын
awesome video
@noaah.m2 жыл бұрын
my routes arent working to go to the register or sign in page?
@emburaman2 жыл бұрын
Great tutorial. Now, anyone also getting "error 'handleSignOut' is assigned a value but never used" ? How to solve that?
@medamazigh2 жыл бұрын
THANK YOU SO MUCH
@YuvrajSingh-sm1rc Жыл бұрын
but where did you added client secret and id
@chase5998 Жыл бұрын
Hi there, thanks for the tutorial. Unfortunately, though the google popup sign in works on desktop web, for some reason when i'm on iphone safari, when i tap on the sign in with google option button, the popup appears for half a second then disappears. I've tried safari, chrome and brave and all faced the same issues. It works normally when i'm on my desktop though. Anyone else faced a similar issue?
@franzieerides73062 жыл бұрын
Great tutorial! Can anyone help me? I'm getting a "TypeError: next is not a function" in router/index.js
@Shulkerkiste Жыл бұрын
It should look something like this: router.beforeEach(async (to, from, next) => { const routeRequiresAuth = to.matched.some(record => record?.meta.requiresAuth); await isLoggedIn() || !routeRequiresAuth ? next() : next({ name: 'login' }); });
@brainandrie2874 Жыл бұрын
How to validate the error that the email we used has been registered?
@jonathanesedji87052 жыл бұрын
ty es un manstrr le sang !
@zackplauche2 жыл бұрын
3:52 There's nothing in my localStorage, and I successfully created an account and "logged in" apparently. 👀
@Shulkerkiste Жыл бұрын
I was confused too, when I've tried it the first time ^^ Firebase stores the user in DevTools -> Application -> IndexedDB.
@santokhan_ Жыл бұрын
Great
@danielwatson65292 жыл бұрын
yea go on bro, theres literally nothing on " vue 3 firebase 9 crud with typescript" I've been going round in circles for days I can't find anything but to me it feels like such an obvious stack/system once i can get It operating
@pattlactroi42792 жыл бұрын
Can you provide the source code, please! Thank you!
@69leostereo2 жыл бұрын
some can share the code for this project ?
@deavisdude2 жыл бұрын
Great tutorial, unfortunately when I try to use signInWithPopup or signInWithRedirect I am sent to a blank page...
@LearnVue2 жыл бұрын
Hey! Since releasing this video, there's been a major update to the Firebase SDK. an awesome member of the community updated the Github repo for it, let me know if this helps: github.com/matthewmaribojoc/vue-firebase-auth
@deavisdude2 жыл бұрын
@@LearnVue Thanks for the reply, but it doesn't look like that project uses the google auth provider. I am able to get email and password working. Just not the google auth provider
@deavisdude2 жыл бұрын
@@LearnVue Tried commenting before with a link to my stack overflow post, but it seems like they're being deleted.
@moodzc9452 жыл бұрын
how to prevent a logged in user to access the sign in and register?
@donggillee65272 жыл бұрын
luv ya
@joascastelo85193 ай бұрын
muito fácil que isso, nunca vi ninguém deixar um conteudo tão simples
@Busyideas2 жыл бұрын
Hii can you provide source code please please
@HenriqueLeal922 жыл бұрын
I finished it with many errors, all of them "is defined but never used" because i don't know where i was supposed to use.. that's why i watched the video to learn.. nice try but i found it incomplete
@parkerboling63612 жыл бұрын
i hate this shit..... everytime i follow along with a video something fucks up. why is it saying component names should be multi-word
@LearnVue2 жыл бұрын
hey! i think that might be an issue coming from eslint.vuejs.org/rules/multi-word-component-names.html - let me know if this helps :)
@nikolamanojlovic7657 Жыл бұрын
this is too fast, i dont understand what are you doing :/