I saw an hour long tutorial for this which was much more complicated. Bro explained auth in 10 minutes. Damn amazing!
@brettwestwooddeveloper Жыл бұрын
Awesome! Thanks for the kind words!
@cr_spirit3986 Жыл бұрын
@@brettwestwooddeveloper Could you also make a video for firestore? That'd be amazing...
@Techn0mancer_X Жыл бұрын
I have been struggling with how to add Google as an authentication provider for my app, and in 15 minutes you solved my problem. THANK YOU VERY MUCH (sorry for the caps)
@brettwestwooddeveloper Жыл бұрын
Awesome! I am glad I can hep. It definitely is frustrating when you can't figure something out.
@darlinmanuelcasadoperez10922 ай бұрын
Thank you for the great tutorial! keep up the good work buddy!
@brettwestwooddeveloper2 ай бұрын
Thank you! Will do!
@andys_industries Жыл бұрын
This tutorial was clean thanks fam...but it would be nice to extend it towards getting the user object too
@nwekemaxwell6595 Жыл бұрын
yess!!! it worked you're a saver😁❤️❤️❤️ got stuck trying out the doc guide... been 2days... thanks 👍
@brettwestwooddeveloper Жыл бұрын
Glad I could help. I was stuck on the docs for a minute too!
@notleai Жыл бұрын
awesome tutorial bro
@brettwestwooddeveloper Жыл бұрын
Thank you!
@arokoyuolaniyi310311 ай бұрын
Thanks for simplifying
@Harmansingh-i9b5k10 ай бұрын
great video!!
@brettwestwooddeveloper10 ай бұрын
Thank you!
@brendansullivan48722 ай бұрын
If you put those in a .env file a nice way to get hacked is to look in your build folder an retrieve it from inspect menu.
@brettwestwooddeveloper2 ай бұрын
Curious, so you are saying somebody can hack a .env file?
@brendansullivan48722 ай бұрын
It blew my mind when I saw it but while at work what happened was a friend of mine goes into the build (sources I believe) and you can see the values directly in there because it gets injected when you build. The good news is the config file for firebase with the api key measurement etc is meant to be public facing. Not very usable for the hacker since you set the rules on the backend for Firestore and the real-time db etc. what you want to add though is app check. That buries any hacker trying to pull some shit because you can put recaptcha v3 where it’s automatic. When you do this you can choose any firebase add on to be enforced with it and they are blocked.
@inchristtvke Жыл бұрын
Much appreicated man. I was trying to set this up for my org and most people are overlooking a thing or 2 cause it always causes problems.
@brettwestwooddeveloper Жыл бұрын
No problem! Glad to hear I was able to help you guys out there!
@sahillalani2 Жыл бұрын
would it be possible to do this with a V3 chrome extension as well that's coded in vanilla JS?
@brettwestwooddeveloper Жыл бұрын
I don't use Firebase much anymore
@HosseinKalbasi3 ай бұрын
wouldn't having the config secrets directly in the React app put security at risk? As it's Javascript and might be accessible in the UI. Is it possible to do the token generation on the backend? similar to when we do email/password login
@brettwestwooddeveloper2 ай бұрын
Yes you should have the config secrets in an .env file. Yes ideally you should do the token generation on the backend.
@abhaygohel29810 ай бұрын
If i use mobile than it is not woking.
@Ravisingh21able10 ай бұрын
can't believe you just clicked on "zoom-in" from the menu bar instead of using the keyboard shortcut, TWICE !!
@brettwestwooddeveloper10 ай бұрын
I am a noob
@daubouin4ever3 ай бұрын
thx
@brettwestwooddeveloper3 ай бұрын
No problem!
@user-vm7xx3wi8cbz9 ай бұрын
Do you need to do anything in Google Console as a prerequisite to this? The steps you follow when you want to buildin Google Sign In I mean..
@brettwestwooddeveloper9 ай бұрын
Just need a google account, so if you have a gmail you will be fine
@frenchmike Жыл бұрын
bro that was good, if you make a follow up on showing the user on the front end, plus signing off plus using a db with it, let me know
@tonybenci2796 Жыл бұрын
Hi Brett. I wonder whether you've seen this issue? I have already gotten the Firebase/google working and all of a sudden it is throwing CORS warnings in the browser. I am working in React and NextJS and I have the same issue. Any ideas on this? Did you see any in your console for this application? Cheers Tony
@SamIliya Жыл бұрын
nice bruh
@brettwestwooddeveloper Жыл бұрын
Thank you
@nwekemaxwell6595 Жыл бұрын
would be nice if you add a follow up on how to get the users object too🥺🥺
@brettwestwooddeveloper Жыл бұрын
will do
@Nilesh-h6k Жыл бұрын
Do you know how to do the same with python fastapi?
@TheSEGFam Жыл бұрын
Could you do a form collecting name etc to fire store and upload image for like a profile page? I'm stuck
@brettwestwooddeveloper Жыл бұрын
yes I can
@TheSEGFam Жыл бұрын
@@brettwestwooddeveloper that would be amazing. So what iv ran into is I have a form, with "upload profile picture" and (just for example) a realitor has a listing they want to highlight so a "product highlight" photo which I needs to go to FBstorage, then on the same form I have the basics name, email, etc that needs to go to fire store I CAN NOT get it to work.
@tanksalif Жыл бұрын
Thank you much G!
@odogwu-1918 Жыл бұрын
You have a very nice content here,
@odogwu-1918 Жыл бұрын
I want to also add that when you create content like this one you should actually create video for other problem people might encounter after they have done this. For example (now I am done with the google authentication, the next problem now is how do I know a user have signed in or signed out) its been three weeks judging from the time I am seeing on youtube this other solution should be out by now. Yeah it is your channel, but stuffs like this is what makes people to subscribe and wait for your contents
@brettwestwooddeveloper Жыл бұрын
Thank you very much!
@brettwestwooddeveloper Жыл бұрын
I can definitely make a video on this topic
@odogwu-1918 Жыл бұрын
@@brettwestwooddeveloper You are welcomed
@mullla1ya3 ай бұрын
I feel so dumb with this: error loading dynamically imported module