Тёмный

Firebase Authentication | Register, Login, Signout with Email & Password 

The Amazing Codeverse
Подписаться 12 тыс.
Просмотров 36 тыс.
50% 1

Firebase Authentication v9, v10
Register, Login, Signout with firebase auth v9 v10
firebase auth Add User UID to realtime database
firebase auth save data to realtime database
Firebase Auth Tutorials: (Playlist)
• Firebase Authenticatio...
Watch Same Tutorial but with Cloud Firestore Database:
• Firebase Authenticatio...
Documentation:
firebase.googl...
Software Used In Tutorial:
- Visual Code (64-bit) User
Project Description:
- HTML, CSS, JavaScript
- Bootstrap v5.3
- Google Firebase Realtime Database v10.3
- Google Authentication (Firebase version 10)

Наука

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 86   
@HassaanRaza
@HassaanRaza 9 месяцев назад
Amazing new video, which shows the important firebase auth functions such as deleteUser, reauthenticateWithCredential, EmailAuthProvider, onAuthStateChanged watch now: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-3utuVBKm1xk.html
@ilavras
@ilavras 6 месяцев назад
Congratulations on the playlist, I followed the 4 videos and the result was 100%. I suggest that you prefix the videos in the playlist (01, 02, 03, 04) to the correct sequence, as it got confusing. Thank you from Brazil.
@HassaanRaza
@HassaanRaza 6 месяцев назад
hmm sure, thanks for the suggestion :)
@misterdanger4727
@misterdanger4727 5 месяцев назад
well, i have to say that, at first it was just feeling like you can never teach me something, but I was totally WRONG, Thanks a bunch, liked and subscribed, keep it up buddy.
@HassaanRaza
@HassaanRaza 5 месяцев назад
hehehe thanks for the praise :)
@tourushi9137
@tourushi9137 3 месяца назад
I swear, I'd be doomed if I hadn't found your RU-vid channel. Huge thanks for the awesome tutorials.
@HassaanRaza
@HassaanRaza 3 месяца назад
hehe you're welcome, thank you for appreciating :)
@bisforbiggie1632
@bisforbiggie1632 8 месяцев назад
User gets detected by authentication but not by realtime database
@HassaanRaza
@HassaanRaza Месяц назад
Retrieve Firebase Data Into Html Table Tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8GnPrvjgg5M.html
@swagathaldar
@swagathaldar 6 месяцев назад
10:00 is time stamp pr.....mera user credentials console pr nhi dikha rha and firebase pr bhi nhi dikha rha...pls help pr...aaj submissions h mere...
@renkazuki8177
@renkazuki8177 10 месяцев назад
Hello, I followed the code and everything, and I didn't also have any errors, somehow when I register a user it doesn't detect to firebase. How do I fix this?
@Slurpyyy
@Slurpyyy 5 месяцев назад
have you found a fix yet?
@Arr4fi
@Arr4fi 2 месяца назад
@@Slurpyyy bro shes asking
@Slurpyyy
@Slurpyyy 2 месяца назад
@@Arr4fi brother she posted that comment 7 months ago, also found the fix
@lucanwolf6604
@lucanwolf6604 9 месяцев назад
I followed everything in order, double checked a lot of times now. but when I click on Login it doesn't redirect me to home.html, how to fix?
@AbidMA
@AbidMA 8 месяцев назад
Did u do app route in python?
@syedafaiza614
@syedafaiza614 8 месяцев назад
I have a issue can you plz guide me home.html is not showing when i clicked on login
@relaxingmelodymusic
@relaxingmelodymusic 27 дней назад
same
@mylearningsources6332
@mylearningsources6332 9 месяцев назад
It works like a charm. Thank you so much Hassaan!
@UnknownLearner-od3qn
@UnknownLearner-od3qn 6 месяцев назад
we are writing this in index.js or in script of html on frontend what is someone get our apikey from configuration and misuse it
@HassaanRaza
@HassaanRaza 5 месяцев назад
you are right, this is just a demonstration, otherwise you don't won't to use javascipt directly in your web app, instead we have backend server running asp.net or nodejs and sensitive files/configuration are safe on the server.
@ahmethakanaltparmak5890
@ahmethakanaltparmak5890 9 месяцев назад
I did everything as you did but same error every time: Firebase: Error (auth/network-request-failed).
@anuragsuryawanshi4177
@anuragsuryawanshi4177 7 месяцев назад
Turn on internet on your pc
@ariel_joe
@ariel_joe 8 месяцев назад
Bro why i can't write data to the realtime database?
@arisrobles4742
@arisrobles4742 5 месяцев назад
It works! But when I sign in into another account, same activity to that previous account is being saved. Could someone provide a tutorial video?
@triplejay521
@triplejay521 5 месяцев назад
Hi The Amazing Codeverse , thank you for the video! Can I request you do a tutorial on Firebase realtime database? Mainly after the login/register function , how do you save form data unique to that user that is currently logged in?
@HassaanRaza
@HassaanRaza 5 месяцев назад
actually in the video we are saving firstname and lastname which is data unique to user in realtime database
@HassaanRaza
@HassaanRaza 5 месяцев назад
and if you want to change the users data later, i have posted a video on update password and user information but its better the watch the videos in sequence for best understanding, so you may follow playlist 😊
@triplejay521
@triplejay521 5 месяцев назад
@@HassaanRaza I see , ok thank you very much sir! Appreciate the reply
@user-xs5js9tt4e
@user-xs5js9tt4e 11 месяцев назад
You are a life saver bro 🙌
@HassaanRaza
@HassaanRaza 11 месяцев назад
:)
@MuttaqinMashrafi
@MuttaqinMashrafi 2 месяца назад
Sir, Your tutorial is great. But I have a question in my mind. If someone inspects the website ,can easily copy and paste the Firebase configuration and can easily get access to it. So how can the problem be solved? Please help😢
@HassaanRaza
@HassaanRaza 2 месяца назад
yes this is true but firebase work on the basis of these credential, you can use any custom logic to make the credentials harder to find but still with some efforts anyone can see them. firebase config is suppose to be on client side because this is how firebase identifies which db to use its like its address you cannot restrict it. basically you implement security in firebase through firebase rules, you make your db readonly for anonymous users, you can restrict access to only autorized users, for general public you can set the rules to readonly.
@MuttaqinMashrafi
@MuttaqinMashrafi 2 месяца назад
@@HassaanRaza sir can you please make a tutorial on that. Like securing realtime db without using Firebase authentication , and also having some credentials practical uses in http referrer website single page and for also multi page.
@faizshah5902
@faizshah5902 8 месяцев назад
Hi sir. Can you teach on how to update or add new data from the current logged in user ?
@guyc.9106
@guyc.9106 10 месяцев назад
I have a big problem: it says Firebase: Error (auth/invalid-login-credentials). Someone please help me.
@HassaanRaza
@HassaanRaza 10 месяцев назад
it simple means email, and password does not matches, the credentials stored on firebase auth. put console.log() before the auth function check what email and password values are you sending on furebase auth.
@guyc.9106
@guyc.9106 10 месяцев назад
@@HassaanRaza I've tried checking. It's the same.
@STEMMadeSimple2023
@STEMMadeSimple2023 7 месяцев назад
Great! How does the redirect part (at the end) work?
@user-hr5jp2er8b
@user-hr5jp2er8b Месяц назад
Moving to Html which after login is not work..
@HassaanRaza
@HassaanRaza Месяц назад
we have import statement where we define all the functions, set, get whatever, you may have missed get over there
@user-hr5jp2er8b
@user-hr5jp2er8b Месяц назад
@@HassaanRaza bro Where my Comment gone to
@charlenem6040
@charlenem6040 6 месяцев назад
this works, thank you so much!
@lilshex
@lilshex 10 месяцев назад
the page keeps reloading when i try click sign in, cant seem to fix it
@HassaanRaza
@HassaanRaza 10 месяцев назад
check
@lilshex
@lilshex 10 месяцев назад
When I check the type to button , the button stops responding and nothing happens, I've tried different firebase tutorials and I get the same problem , it either refreshes, or when I change it to type="button" it stops working & nothing happens
@HassaanRaza
@HassaanRaza 10 месяцев назад
@lilshex its not about the tutorials man, check browser's console if any error fix that error if no error than put alert in function to check that the sign in button is working or not.
@lilshex
@lilshex 10 месяцев назад
I've done all that it just keeps refreshing, the console doesn't say anything no errors or issues. Even when I use alert()
@animerenewed
@animerenewed 5 месяцев назад
Sir how to keep the user logged in untill he log out.. can please help me😊
@HassaanRaza
@HassaanRaza 5 месяцев назад
we have session storage which keeps information until the browser is closed, and we have localstroage which keeps information until it is manually removed, you have to make logic to save data in localstorage and then read loggin data from localstorage
@HassaanRaza
@HassaanRaza 5 месяцев назад
i'll see if i can make a video on this in future.
@HassaanRaza
@HassaanRaza 10 месяцев назад
watch same tutorial but with Cloud Firestore Database: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-lEPGHKEx9yU.html
@louisnevot
@louisnevot 8 месяцев назад
This video is amazing but I'm having issues with the UserCreds, could you please share the source code 🙏
@zmoonmaru8242
@zmoonmaru8242 10 месяцев назад
it says "get not defined" in my login page
@aichaccp
@aichaccp 8 месяцев назад
Same with me
@nettyYTube
@nettyYTube 10 месяцев назад
an getting this error Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') any help
@HassaanRaza
@HassaanRaza 10 месяцев назад
you're making mistake in getting the element from document, like writing the id wrong, etc. so element is not found, and you try to do null.addeventlistner thats why you are getting this error.
@nettyYTube
@nettyYTube 9 месяцев назад
ive fixed it @@HassaanRaza
@mitsuha16
@mitsuha16 10 месяцев назад
when i open it in default browser a blank page opens
@phuhoang415
@phuhoang415 10 месяцев назад
U got me bro !
@oskarpyc1632
@oskarpyc1632 9 месяцев назад
I keep getting this error "Uncaught ReferenceError ReferenceError: createUserWithEmailAndPassword is not defined". Do you have any ideas? Thanks
@henriquecw22
@henriquecw22 9 месяцев назад
Did you import this?
@HassaanRaza
@HassaanRaza 9 месяцев назад
you must have forgotten to import it from firebase auth with the other auth functions or you might have used different spelling or case.
@oskarpyc1632
@oskarpyc1632 9 месяцев назад
@@HassaanRaza Yes you were right. I accidentally had the Firebase script in two seperate scripts. My mistake. Now I have another problem :(.. Firebase: Error (auth/admin-restricted-operation).
@oskarpyc1632
@oskarpyc1632 8 месяцев назад
@@HassaanRaza Hi any ideas on this? Still haven't managed to get a fix :(
@ab123-j7v
@ab123-j7v 3 месяца назад
amazing thanks
@W.i.s.e.K.i.n.g
@W.i.s.e.K.i.n.g 4 месяца назад
Great lesson Source code please 🙏
@harsh823q
@harsh823q 4 месяца назад
Thnkiu so much ❤
@bitbytecodes
@bitbytecodes Месяц назад
Thanks.
@HarshitMalhotra_
@HarshitMalhotra_ 6 месяцев назад
please provide the source code also i your description
@dienau6313
@dienau6313 11 месяцев назад
can you add the option forgot passsword?
@HassaanRaza
@HassaanRaza 11 месяцев назад
in the upcoming videos yes, stay tuned.
@dienau6313
@dienau6313 11 месяцев назад
thank you@@HassaanRaza
@HassaanRaza
@HassaanRaza 10 месяцев назад
video is now live.
@alirazaramejo
@alirazaramejo 8 месяцев назад
who to make Rollbase login
@dhilian835
@dhilian835 8 месяцев назад
Veer contact kithe kra tere nal?
@grc__
@grc__ 5 месяцев назад
ajudou dms
@Sasraa
@Sasraa 10 месяцев назад
Thank you sooo much master!
@HassaanRaza
@HassaanRaza 10 месяцев назад
You're welcome :)
@aichaccp
@aichaccp 8 месяцев назад
❤❤❤❤❤ thnks
@TheAlibaadshah
@TheAlibaadshah 11 месяцев назад
and how to change password ?
@HassaanRaza
@HassaanRaza 11 месяцев назад
you can wait for future videos, meanwhile you can checkout docs: firebase.google.com/docs/auth/web/manage-users
@dhilian835
@dhilian835 8 месяцев назад
Koi mail id hi de chhad veer mere
@mohammadkhalafIraqi
@mohammadkhalafIraqi 9 месяцев назад
Thank you
@ffpro3515
@ffpro3515 10 месяцев назад
Nice Video Bro and thank you.
Далее
Friends
00:32
Просмотров 207 тыс.
What is Firebase and how to use it
41:01
Просмотров 420 тыс.