Google Authentication With React JS & Firebase - Sign In With Google - Firebase v9

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

ความคิดเห็น • 167

  • @DexterrrrX
    @DexterrrrX 2 ปีที่แล้ว +16

    Anytime I need to add authentication to my projects I just come back here
    You save me everytime😂

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว

      Thank you dude! Awesome!

  • @TangiersIntrigue
    @TangiersIntrigue ปีที่แล้ว +8

    Man, this saved me a major headache. I wanted to implement Firebase on an app that was working with Sanity previously, which was using OAuth. It has been a while since I last worked with Firebase, so not only this was a great refresher but saved me a long time going through documentation. Really appreciate it.

  • @babatundetaiwo5184
    @babatundetaiwo5184 ปีที่แล้ว

    Much needed. I was looking for this for a big project. Thanks a lot. Funny how a video of a year old is still relevant

  • @jezuschrist7120
    @jezuschrist7120 8 หลายเดือนก่อน +1

    Thank you Clint , your videos are awesome , you explain while showing how its done ..Keep the good work going ...👍

  • @duyhuynhnguyentuan6266
    @duyhuynhnguyentuan6266 ปีที่แล้ว +1

    Man thank you so much for this video. I couldn't fix my Firebase issue and your video just saved hours of my time.

  • @studying_timelapse
    @studying_timelapse ปีที่แล้ว +1

    I hardly understand English, but it was easy to understand as I followed it one by one. Thank you!

  • @LetsPlayLuffy
    @LetsPlayLuffy ปีที่แล้ว +4

    Thank you for the tutorial! Just a little feedback; but it would be nice, if the music wasn't so distracting. Use something more relaxing or give us the option to run our own :)

    • @codecommerce
      @codecommerce  ปีที่แล้ว

      Thank you Luffy, I’ll find something a little more relaxed.

  • @jltg34
    @jltg34 ปีที่แล้ว

    Between all the conflicting and out of date information, I've been stuck trying to learn authentication using Firebase for literally months.
    You've helped me to finally start getting a handle on it.
    Thank you, sincerely.

  • @gabrielsuptitz1624
    @gabrielsuptitz1624 ปีที่แล้ว +1

    Very good tutorial, I'm Brazilian and even reading the caption I managed to learn a lot, thank you very much 💯🙂

  • @Ni3o
    @Ni3o ปีที่แล้ว

    I was one video away from pausing Programming for a few weeks, luckily the video was yours. Thx so much, great vid.
    Have a nice Day.

    • @codecommerce
      @codecommerce  ปีที่แล้ว

      So awesome dude. Keep it going 💪

  • @betterbehappythannot3605
    @betterbehappythannot3605 2 ปีที่แล้ว

    You look like a college dropout without a beard haha, you are one of the most valuable youtube channels, continue to develop as you do!

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว +6

      Haha perhaps I need to grow that beard back. I actually never went to college!! I went to a trade school and became a firefighter/paramedic.

  • @thecowmilk4857
    @thecowmilk4857 2 ปีที่แล้ว +1

    Bro this was one hell of a fire tutorial!!! The guide was splendid, pretty much straightforward and very easy to understand!!!
    Thank You!!

  • @akarshanmishra2351
    @akarshanmishra2351 ปีที่แล้ว +1

    This has been the first time I never had any issues while following the tutorial. Everything is upto date and clearly explained. Thank you so much for making this tutorial and saving hrs of pain staking stackoverflow and docs browsing.

  • @pawe7420
    @pawe7420 ปีที่แล้ว +1

    Bro, hope you will keep going with such great tutorials.
    Thanks a lot!

  • @nicolas____
    @nicolas____ ปีที่แล้ว +1

    Man you saved my file. I needed this so bad - thank you so much

  • @GabrielPereira-hd8tc
    @GabrielPereira-hd8tc 5 หลายเดือนก่อน

    Nice man, thanks for this tutorial, the difference to me is that i using the redux and this tutorial helped me to make enjoy your exemples

  • @bravo1oh1
    @bravo1oh1 2 ปีที่แล้ว +1

    Hi.. awesome video.. havent completed it yet but its turning out great.. quick question - do u have one where you integrate apple log in? what if i want google and apple login on the same application? Also once user logs in.. what if i want them to input data to a table using firestore, can it use the same log in? thanks..sorry im a newb!

  • @TheAppliancePlug
    @TheAppliancePlug ปีที่แล้ว

    does this work in NextJS? I know they have their own as well

    • @codecommerce
      @codecommerce  ปีที่แล้ว +1

      Yes it does, you can also use “NextAuth”

  • @aliwarraich5067
    @aliwarraich5067 ปีที่แล้ว +2

    Thanks for the complete and to-the-point tutorial

  • @devashish-soni
    @devashish-soni ปีที่แล้ว

    Great Tutorial , easy to understand. I had no problems implementing this in my App. Thanks!

  • @_moonxd667
    @_moonxd667 5 หลายเดือนก่อน

    Thank you a lot! You just save my college project 🙏

  • @janmacek346
    @janmacek346 ปีที่แล้ว +1

    Easy to understand and implement to my project :-) Thank you!

  • @lean9875
    @lean9875 ปีที่แล้ว

    The best tutorial, saludos de Argentina! keep doing this videos pls 🔥🔥🔥🔥

  • @sergiohernandez72
    @sergiohernandez72 7 หลายเดือนก่อน

    Great video 👍made it a little more challenging since I was using typescript while following this and it kept giving me type errors. Chat gpt helped me fix those errors but if you have any advice on how I can fix typescript errors when working in javascript that would be great.

  • @neilmerchant2796
    @neilmerchant2796 2 ปีที่แล้ว

    Can I ask what you're listening to around 17:00? sounds like some wave music 🌊

  • @ermiyasb1453
    @ermiyasb1453 ปีที่แล้ว

    Great tutorial and easy explanation thank you sir

  • @benjamincabalona9014
    @benjamincabalona9014 ปีที่แล้ว

    Earned my sub. It’s exactly what i needed. Than you

  • @chrisskyr623
    @chrisskyr623 2 ปีที่แล้ว +1

    For me does not work and say that hooks can only be called inside of the body of a function. Do you know to fix that issue??

  • @sumeetsuryawanshi8384
    @sumeetsuryawanshi8384 7 หลายเดือนก่อน +1

    Smashed the like button so hard it might have broke my screen!😐 Thank you for this amazing guide

    • @codecommerce
      @codecommerce  5 หลายเดือนก่อน

      Haha thanks man!

  • @jatinghetiya-g1n
    @jatinghetiya-g1n 8 หลายเดือนก่อน

    Thanks, was able to do it the first time

  • @aaaliii4u
    @aaaliii4u ปีที่แล้ว

    always concise and to the point, aweome video. (y)

  • @Ash-ko8qp
    @Ash-ko8qp ปีที่แล้ว +2

    I loved your video. But may I suggest not using the music in the background, we are way too interested in what you're speaking.

  • @yusufaltundal3482
    @yusufaltundal3482 ปีที่แล้ว

    That was very helpful. Thank you sir.

  • @faroukayomide5214
    @faroukayomide5214 ปีที่แล้ว

    Thank you so much 😇
    looking forward to more of this
    really good explanation

  • @AhmadMughal1
    @AhmadMughal1 ปีที่แล้ว

    Using this method when i import the logOut and User in the Navbar it causes an error saying intermediate values undefined

  • @ergceme
    @ergceme ปีที่แล้ว

    thanks mate, It was useful vid to learn basic steps of google login 😊

  • @sza619
    @sza619 ปีที่แล้ว

    Thank you so much!! Amazing tutorial!

  • @elguirius521
    @elguirius521 2 ปีที่แล้ว

    it´s amazing , i feel lucky to have found
    this channel, txk very much!

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว

      Dude thank you for the kind words!

  • @PRITPAL1999
    @PRITPAL1999 ปีที่แล้ว

    User hook is set to null again and agian, whenever i click on login button, for some second its showing account page, then immediately hook set to null, why this is happening?

  • @mzattzila89
    @mzattzila89 ปีที่แล้ว

    This is awesome, thank you so much!! So helpful

  • @siddhant3852
    @siddhant3852 2 ปีที่แล้ว +1

    Great video , saved me a lot of time.

  • @iam_bammy4125
    @iam_bammy4125 2 ปีที่แล้ว

    Love this one! Very helpful...
    Thanks alot ❤️

  • @casparbroekhuizen4854
    @casparbroekhuizen4854 2 ปีที่แล้ว

    Super helpful video that saved me a lot of time, thank you man

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว

      Thank you so much Casper!

  • @dharmeshgohil9375
    @dharmeshgohil9375 2 ปีที่แล้ว

    EXPECTING FROM LONG TIME

  • @wendeldev
    @wendeldev 2 ปีที่แล้ว

    Incredible !
    The only video that helped me with this topic.
    Thank you !!! +1 sub

  • @nafisfaiyaz2791
    @nafisfaiyaz2791 ปีที่แล้ว

    i have successfully authorized using google, but i want to add import form drive feature. can you please help me

  • @bravo1oh1
    @bravo1oh1 2 ปีที่แล้ว

    Yo man.. i got the apple log in to work! .. feels great.. quick question.. why does the protected route show for a split second. how do u not have that happen.. ive searched google but no one talks about it? did we do something wrong?

  • @liuyan8066
    @liuyan8066 ปีที่แล้ว +1

    Thank you for your video, this is the most understandable tutorial for teaching firebase. I got 4 errors in 21:53, about "Uncaught TypeError: Cannot destructure property 'user' of '(0 , _context_AuthContext__WEBPACK_IMPORTED_MODULE_1__.UserAuth)(...)' as it is undefined.
    at Navbar (Navbar.jsx:6:1)" all the code is same as you did. I don't know how comes. Thank you.

    • @liuyan8066
      @liuyan8066 ปีที่แล้ว

      figure out

    • @codecommerce
      @codecommerce  ปีที่แล้ว

      Good

    • @acrophobicgoose
      @acrophobicgoose ปีที่แล้ว

      @@liuyan8066 hey I've been debugging the same problem for a while now! How did you figure it out?

    • @liuyan8066
      @liuyan8066 ปีที่แล้ว

      @@acrophobicgoose I put out of , made that error. 😛

  • @javascriptcrafts
    @javascriptcrafts ปีที่แล้ว

    Thanks man for the amazing tutorial . ❤❤

  • @robinsonzapata1
    @robinsonzapata1 ปีที่แล้ว

    Great tutorial! Thank you so much very much appreciated.

  • @brendansullivan4872
    @brendansullivan4872 หลายเดือนก่อน

    Problem is that you will get hacked with this approach. You have the file which will show up in the build when deploying this app. By hitting inspect you will see it in the sources and the directory of the build since the values will be hard coded there

  • @avi12
    @avi12 8 หลายเดือนก่อน

    19:15-19:36 That moment when your camera freezes

  • @Selieznov
    @Selieznov 2 หลายเดือนก่อน

    only for me method with redirect dont work?
    Btw did someone tested method with popup on mobile browser? works from second time

  • @kunjolee9243
    @kunjolee9243 2 ปีที่แล้ว

    Great video, just a question, what's the name of your vscode theme, as i know is One Dark Pro but when i install that theme is not like yours, it'd be nice if you share with me what's the name of your theme :)

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว +1

      Hey dude! I just recently changed it since that video but I’ll have to check. It was one of the variants of One Dark Pro!

  • @laila-tul-noorahmed5336
    @laila-tul-noorahmed5336 2 ปีที่แล้ว +1

    this video is helpful for me thanks for this video

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว +1

      Glad it helped - thank you!

  • @halocano5509
    @halocano5509 2 ปีที่แล้ว +2

    Normally I never comment on any coding tutorial I have watched, bu this time I make an exception. This is a very good explanatory crash course regarding Firebase authentication process. I really appreciate your kind work, thank you brother.

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว

      Thank you my friend! 🙏

  • @danarichards1765
    @danarichards1765 ปีที่แล้ว

    Is there anyway to change the project name after "to continue to" ?

  • @dddoes9528
    @dddoes9528 ปีที่แล้ว

    HI sir great video can anyone help actually i made todo app and learning for authentication can you suggest how to display todo of particular user from firebase as i am a newbie

  • @andersbraathen1256
    @andersbraathen1256 ปีที่แล้ว

    Great video, thank you!

  • @bydroro5251
    @bydroro5251 2 ปีที่แล้ว

    wow, i love this video, it's helpful with my project. Thanks a lot

  • @martinthomas8955
    @martinthomas8955 ปีที่แล้ว

    I'm using signInWithRedirect and testing it out on the server with my iPhone and my dad's Samsung phone and neither of them can login. When I hit the google button it just does nothing. This works exactly how it is in the video on my desktop but just not on mobile phones. Any ideas anyone?
    Also I have downloaded your version from github and tried it, same issue unfortunately
    Update: just added my ip address to the Authorized domains in Firebase and it works now. However after signing in with google, when it redirects me back to my page it doesn't sign in as if user is null. Same with github version. Any ideas?

    • @akshittyagi4068
      @akshittyagi4068 ปีที่แล้ว

      Did you got a solution I am also having same issue

  • @Triwizard109
    @Triwizard109 ปีที่แล้ว

    hey Clint, when I do this I get an error auth/operation is not allowed. Can you help me??

  • @fjj813
    @fjj813 2 ปีที่แล้ว +2

    🙏🏼🙏🏼your videos are very helpful😊.
    can you add more features on that firebase video or start a new reactjs CRUD application (login + register + CRUD)

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว +3

      Thank you dude! Yes, I am working on a project with Firebase Auth coupled with firestore db.

    • @fjj813
      @fjj813 2 ปีที่แล้ว +1

      @@codecommerce 🙏🏼🙏🏼🙏🏼

  • @Achrafrzz
    @Achrafrzz 11 หลายเดือนก่อน

    hey bro , in phone i can't sign up ?? but in computer si ??

  • @dharmeshgohil9375
    @dharmeshgohil9375 2 ปีที่แล้ว +4

    waiting for gmail,facebook and instagram login using react tutorial

  • @Upendar_nani_222
    @Upendar_nani_222 2 ปีที่แล้ว

    Hii dude i try this code in codesandbox but I got error in Authcaontext
    The error is 'return outside the function ' how to solve this error please help me

  • @liuyan8066
    @liuyan8066 ปีที่แล้ว

    Hi if possible, could put a tutorial video about after gmail account login in, how to connect with firestore. I repeated Crpyto tutorial to build email login and connect firebase, then I put a google login button in SignIn page. How can make two login methods working for same collection in firestore.

    • @codecommerce
      @codecommerce  ปีที่แล้ว

      Ah I see, that would get a little tricky.

  • @carminameza
    @carminameza 2 ปีที่แล้ว

    Amazing video, the goat

  • @Simonnava1
    @Simonnava1 2 ปีที่แล้ว

    how can fix the useEffect warning???

  • @abdullahsohail1781
    @abdullahsohail1781 5 หลายเดือนก่อน +1

    why likes are so low, thannnnnnnnnnnnnnnnnnnnnnnnnnkkkkk yoooooooooooooooooooooooooou. Just saved me.

  • @fabioaurora
    @fabioaurora ปีที่แล้ว

    Great explanation, but this is not working for me atm because CORS is blocking the Popup, is there a workaround this?, cant find it anywhere, seems that a lot of people having the same problem using google Authentication with Firebase at this moment

    • @codecommerce
      @codecommerce  ปีที่แล้ว

      CORS can be a little tricky and is certainly annoying!

  • @mihirlakhamje9575
    @mihirlakhamje9575 9 หลายเดือนก่อน

    you look like Hank Schrader :)

    • @codecommerce
      @codecommerce  9 หลายเดือนก่อน

      lol the bald guy from breaking bad? I'm not sure how i feel about that! hahaha

  • @sixtusonyedibe1619
    @sixtusonyedibe1619 2 ปีที่แล้ว

    Hi I followed your tutorial but the items in the store gets lost after I refreshed the page.

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว

      Do you have a link to a github I can see?

    • @kavascgjmd5790
      @kavascgjmd5790 2 ปีที่แล้ว

      Hey is it solved?

  • @samuelerbo
    @samuelerbo 9 หลายเดือนก่อน

    Thanks a lot!!!!

  • @alifhasanshahOfficial
    @alifhasanshahOfficial ปีที่แล้ว

    thank you so much man.

  • @staymotivated1204
    @staymotivated1204 ปีที่แล้ว

    OMG😍😍😍😍
    This is premium!

  • @coodementor6826
    @coodementor6826 2 ปีที่แล้ว

    Thank you alot, Can u make a videos react firebase auth v9 one device is allowed at a time??

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว +2

      Like the user can only be logged in on one device at a time?

    • @coodementor6826
      @coodementor6826 2 ปีที่แล้ว

      @@codecommerce Yes sure, example: netflix does

  • @ashmitsharma9096
    @ashmitsharma9096 ปีที่แล้ว +1

    Please don't add bg music. It is VERY distracting.

  • @Reverse-sg5rn
    @Reverse-sg5rn 2 ปีที่แล้ว

    can you do one for facebook? or is it the same logic for all social media authentication?

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว

      Reverse- yes, you would need a Facebook developer account to get your keys.

  • @developedbypy
    @developedbypy ปีที่แล้ว

    Whats the music playlist? 😀

    • @codecommerce
      @codecommerce  ปีที่แล้ว +1

      Just some random mix on “epidemic sound”. Never heard of the songs before but was feeling those beats!

  • @maplestoryinchinese
    @maplestoryinchinese ปีที่แล้ว +1

    Great Video!

  • @NagatoKamiPain
    @NagatoKamiPain ปีที่แล้ว +1

    please dont use background music in explanation videos its disturbing and deconcentrating, but great video otherwise

  • @thecno
    @thecno ปีที่แล้ว

    Awasome content, Thanks.

  • @rakaa31
    @rakaa31 2 ปีที่แล้ว +1

    one request, please dont use background music

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว

      Thank you Rakaa, was it overpowering?

  • @kg_khangelani
    @kg_khangelani ปีที่แล้ว

    Thank you🙌

  • @ZweL2001
    @ZweL2001 2 ปีที่แล้ว

    signInWithPopup not woking on mobile.how to fixed it sir

  • @mahdihossen9526
    @mahdihossen9526 ปีที่แล้ว

    thank you

  • @MANASDEWARIMVCS
    @MANASDEWARIMVCS 2 ปีที่แล้ว

    super helpful video

  • @not.a.n
    @not.a.n 2 ปีที่แล้ว

    When a Website using React + headless CMS?

  • @GenerativeAI786
    @GenerativeAI786 2 ปีที่แล้ว

    excellent job

  • @ricardocarvalho4346
    @ricardocarvalho4346 ปีที่แล้ว

    Great video

  • @habeebullahokunlola8154
    @habeebullahokunlola8154 7 หลายเดือนก่อน

    Best 🎉

  • @matheus-felipe-dev
    @matheus-felipe-dev 2 ปีที่แล้ว

    tanks

  • @samsuriahmad2128
    @samsuriahmad2128 ปีที่แล้ว

    I cant try in next js bruhh

  • @mohamedtarek5183
    @mohamedtarek5183 2 ปีที่แล้ว

    Why you don't make a full e-commerce project free or paid no problem

    • @codecommerce
      @codecommerce  2 ปีที่แล้ว

      Thank you for the motivation Mohamed! I will in time! I am enjoying the process!

  • @13_egagofurtriwahana82
    @13_egagofurtriwahana82 2 ปีที่แล้ว +1

    fist

  • @rhythm_kumawat
    @rhythm_kumawat 2 ปีที่แล้ว +1

    plzzz dont put
    songs in background

  • @HarshSingh-un5kh
    @HarshSingh-un5kh ปีที่แล้ว +1

    Try not to put music in bg

    • @codecommerce
      @codecommerce  ปีที่แล้ว +1

      No more music in the bg :)

  • @abdulmomin-yq4mt
    @abdulmomin-yq4mt 2 ปีที่แล้ว

  • @rungxanh2901
    @rungxanh2901 ปีที่แล้ว

    Thank you very much Boss 🫡