God bless you bro! I followed your tutorial and implemented it. Thank you very much. I shared your video, liked, subscribed and here's my comment! The bell is on to receive all notifications from you as well. God bless
@@InfoTechWARforCoding I really would to talk to about a project, I’d like your services, the project is fire base and JavaScript. Would you please send me here your whatspp number? Thanks
Hi! I have a question how can you redirect to another page after you click the login button? I used the window,location.replace('dashboard.html'); It worked but the database is not updating like the last_login
May be you have redirect the user before saving data into database. Or check your DB submitting function working properly, if it work then redirect the user using your code
Check the permissions in firebase database. you may have created the database with standard mode instead of test mode. check your permissions carefully.
Hello, thank you for your tutorial. I have a stupid question: in all the tutorials I see we code in the html file by creating a tag. But can we put this code in a javascript file? When I try I get an error saying that it does not work on local files. I am using this:
Actually that’s a good question. Lot of developers have faced this issue. To import another JS file, you need to import like this. “SayHi” is the function in sayHi.js file import {sayHi} from './sayHi.js'; alert(sayHi); // function... sayHi('John'); // Hello, John For more information, this article will help you : javascript.info/modules-intro
Thank you for the tutorial. It was very helpful. I just have one question, how would i link the signup button to another page when it is clicked? I used window.location = 'abc.html' but when i clicked the sign up button, the alert popped up and the user was created, and i was redirected to the correct page, but the data was not saved to the realtime database. Is there another way to do it?
Thanks for the comment and I think your app main issue is data was not saving on the Realtime database when signing up 🤔. I’ll provide few solutions for this: 1. Make sure your redirect code typed after the saving data to real-time database 2. Try removing the alert function 3. Some times it takes few seconds to save data on realtime database. Your redirect code might break the saving function. Then use a sweet alert (loading box) while running the data saving function(on realtime database).
@@InfoTechWARforCoding hello again, let me give more detail, everything worked fine, I was able to sign up and the data was saved to the real time database when I clicked the button. Once I added window.location = 'abc.html' right above the alert function, the user was still created in the authentication but the data was no longer being saved to the database. I only want to redirect the user from the sign up page to another file once they submit button is clicked.
I am sorry to here that issue. i also have not exact idea about this issue. try with console.logs() and changing codes. if this issue still there, try to update the realtime database in the redirected page(after signed up).
Hi, good video😊 Im using external js file.I have 2 pages(one for signup and one for login) The sign up worked for me. But the login not, the button of the login page doesn't work, no alert and no console.log, its do nothing. Do you know why?
Thanks for the comment. Check whether that function is working properly. Add few console logs in deferent lines(beginning of the function, middle and so on) so that we can find where the exact error is.
Could you make an example about firebase database rule? With user's UID, only admin can RW database. And js using admin's UID to RW. Making not anyone who get your database URL can RW.
Hi thankz for the awesome tutorial. Btw was wondering, is there a possbility to sign up and login using different html pages instead of changing the login to signup ids within just one page? If can, then can u tell me how would it be done?
Thanks for the comment. First create a JavaScript file to add firebase configurations, Then create your sign in and sign out files. After that you can import firebase configurations from config file to both of files separately and create your sing in and sign out function
I think the issue is with your code, If you are still facing this issue, Follow my source code in the website. you can find the link in the video description
how to make firebase authentication, in which user have to sign up with email, password and pay $10, then they have to login with same credentials to access my web application (in short, i want only paid user to access my web application ) or (firebase authentication with subscription) or any other ways that you can refer me to love to see tutorial on this.....or please redirect me to any useful youtube tutorial on this
First create good database table structure and use cases, then you can build this easily. (more: Create payment table and when user try to log in first check login credentials and then you can check this user whether paid monthly payment or not
i think you need to manage permissions in firebase or you need to connect database correctly. you can get my code from the website, link is in the video description.
make sure you have added the right email. first you need to register one email in the firebase. if you still have the error, i recommend you to watch the video again and start with a new project
@@InfoTechWARforCoding I can't able to get this reply ""first you need to register one email in the firebase"". could u please elaborate or mark timestamp of this video regarding this. when registering first time user for checking my code I m getting this error(error: (auth/invalid-email).)
@@94910hk hi. In the Authentication page open the “sign in methods” tab. There should be a place to add your domain. Check whether it is there or not. And also check your API is in the right project. You can find the API in your configuration code. I have created another video for this process check that one also : th-cam.com/video/IudOiOwppFA/w-d-xo.html
my form tag was creating a problem, now its solved i didnt use a username tag in my sugn up, can i create something that will automatically create username by taking some bits form email id, if so how ?
Firebase offers a no-cost tier pricing plan for all its products. For some products, usage continues at no cost no matter your level of use. For other products, if you need high levels of use, you'll need to switch your project to a paid-tier pricing plan
That should be created. check your code clearly or you can find my source code from the website. you can find the webpage link in the description below
How to create session in PHP : th-cam.com/video/kF0X0k2wr6k/w-d-xo.html
By Creating session you can pass log in details across all other pages
sir kindly send the source code again the first one is expired
Great Video! Very thorough and no extra information. Just did what had to be done and that’s all.
Thanks
Worked smoothly! Thank you so much! ❤ keep it up!
A literal lifesaver. Thank you!
Thank you! This is a very good tutorial video. Very precise and not a second wasted.
You're welcome!😍
@@InfoTechWARforCoding how to add this feature in blogger please tell
@@VerifiedXYZ i don’t have much idea about that sorry
@@InfoTechWARforCoding ok no problem
God bless you bro! I followed your tutorial and implemented it. Thank you very much. I shared your video, liked, subscribed and here's my comment! The bell is on to receive all notifications from you as well. God bless
That’s my pleasure bro 😇. Stay safe and god bless you ❤️
Thank you very much for this informative tutorial!!!
Gracias! Por este video pude entender la versión 9 de Firebase!!!
Thanks
Thanks a lot my friend! you helped me a lot. I was trying so hard and couldn't find a way to make the authentication work until this video. Bless you!
Glad I could help!
bro, thanks for this video. this video tutorial is well explicit. God bless you
My pleasure 😇
Thank you very much for the tutorial video!
You are welcome!
how did u get the second import function
Gained another subscriber. Thank you so much friend, it helped a lot!! hehehe xD
Thanks !
Thank you for your help. The Source Code link doesn't work. If you can, can you update the link please? Thank you in advance!
Thank you! That had a lot of information
You are welcome
Great video. Thanks
gracias! muy practico y fácil de entender.
You're very welcome!
Amazing tutorial, thank you so much
You're very welcome!
@@InfoTechWARforCoding I really would to talk to about a project, I’d like your services, the project is fire base and JavaScript. Would you please send me here your whatspp number? Thanks
Hi! I have a question how can you redirect to another page after you click the login button?
I used the window,location.replace('dashboard.html');
It worked but the database is not updating like the last_login
May be you have redirect the user before saving data into database. Or check your DB submitting function working properly, if it work then redirect the user using your code
can you please provide the source code as link is not working !
Thank you so much,, great, I'm your new subscriber 🥰🥰
My pleasure and good luck on your projects 😇
Thank you veere!!❤
Welcome 😊
where did you copy the import {getDatabase} in 2:56?
just type that way
thank you very much
Good job bro Thank you very much
My pleasure ❤️
hi
i am getting this Firebase: Error (auth/admin-restricted-operation), when trying to signup.
how do i solve it?
Check the permissions in firebase database. you may have created the database with standard mode instead of test mode. check your permissions carefully.
Bro can you please share the source code previous one is expired
LOVE YOU!
thanks
In which part of the firebase project settings did you get the import { getDatabase} ?
You need to import database like this, if you want to use Firebase
@@InfoTechWARforCoding Yes but I can't find it anywhere in the Firebase console, seems like you cut the part in which you copied it
how to get the import { getDatabase }
Thanks a lot man
Happy to help
how to redirect to new page after sign in successful
Hello, thank you for your tutorial. I have a stupid question: in all the tutorials I see we code in the html file by creating a tag. But can we put this code in a javascript file? When I try I get an error saying that it does not work on local files. I am using this:
Actually that’s a good question. Lot of developers have faced this issue.
To import another JS file, you need to import like this.
“SayHi” is the function in sayHi.js file
import {sayHi} from './sayHi.js';
alert(sayHi); // function...
sayHi('John'); // Hello, John
For more information, this article will help you :
javascript.info/modules-intro
@@InfoTechWARforCoding thank you 😀
Thank you for the tutorial. It was very helpful. I just have one question, how would i link the signup button to another page when it is clicked? I used window.location = 'abc.html' but when i clicked the sign up button, the alert popped up and the user was created, and i was redirected to the correct page, but the data was not saved to the realtime database. Is there another way to do it?
Thanks for the comment and I think your app main issue is data was not saving on the Realtime database when signing up 🤔. I’ll provide few solutions for this:
1. Make sure your redirect code typed after the saving data to real-time database
2. Try removing the alert function
3. Some times it takes few seconds to save data on realtime database. Your redirect code might break the saving function. Then use a sweet alert (loading box) while running the data saving function(on realtime database).
@@InfoTechWARforCoding hello again, let me give more detail, everything worked fine, I was able to sign up and the data was saved to the real time database when I clicked the button. Once I added window.location = 'abc.html' right above the alert function, the user was still created in the authentication but the data was no longer being saved to the database. I only want to redirect the user from the sign up page to another file once they submit button is clicked.
I am sorry to here that issue. i also have not exact idea about this issue. try with console.logs() and changing codes. if this issue still there, try to update the realtime database in the redirected page(after signed up).
Hi Ryan, I having the same problem with you. Have you solved the problem? If yes, please let me know how you solve the problem. Thank you so much.
Thank you brother.
You are welcome
thnx alot bro 😍😍😍
Welcome 😊
Hi, good video😊
Im using external js file.I have 2 pages(one for signup and one for login) The sign up worked for me. But the login not, the button of the login page doesn't work, no alert and no console.log, its do nothing. Do you know why?
Thanks for the comment. Check whether that function is working properly. Add few console logs in deferent lines(beginning of the function, middle and so on) so that we can find where the exact error is.
Thanks 👍🏻
You are welcome
Could you make an example about firebase database rule? With user's UID, only admin can RW database. And js using admin's UID to RW.
Making not anyone who get your database URL can RW.
I will create one for that
@@InfoTechWARforCoding thanks~~
Hi thankz for the awesome tutorial. Btw was wondering, is there a possbility to sign up and login using different html pages instead of changing the login to signup ids within just one page? If can, then can u tell me how would it be done?
Thanks for the comment. First create a JavaScript file to add firebase configurations, Then create your sign in and sign out files. After that you can import firebase configurations from config file to both of files separately and create your sing in and sign out function
@@InfoTechWARforCoding Awesome👍. Once again thank you
sir sign out ki button kahan hai ?
thanks a lottttt
You are welcome!!
Does the Facebook and other logins work as well with this example ?
Yes all are work in the same way. But when you use Facebook login, you need to use Facebook developer tools
Thank you
Your are welcome
Does that login mantain across all pages and is there a tutorial on how to make a user profile based on this?
You can create a session and apply it for all pages. Then it will work for all all pages. I will create another video for session management.
I think this tutorial will help you : th-cam.com/video/kF0X0k2wr6k/w-d-xo.html
great video
Thanks!
can you please give the source code, as the source code link isn't working ?
same
when i tried to create a user it didn't save or give me the same output it did for you
Check your code clearly
I have a big problem: it says Firebase: Error (auth/invalid-login-credentials). Someone please help me.
Check your credentials. May be password and user name is not matching. Error says that
no alert msgs and the database doesn't update, its like the js don run, how to solve pls??
I think the issue is with your code, If you are still facing this issue, Follow my source code in the website. you can find the link in the video description
Could you please tell how to send email verification link to gmail when sign up ?
I will create a video for that. You can create this process yourself. Watch this video to send emails : th-cam.com/video/bjL5R-tEq1U/w-d-xo.html
I NEED HELP , CAN YOU HELP ME ?
My new user isn't getting registered after clicking submit. What might be the problem?
Check errors and all. Check the firebase connection
Very nice.
Tho I personally think that PHP and SQL is easier.
Thanks for the comment
why do I keep getting No Firebase App '[DEFAULT]' has been created
I think you haven't created a firebase app yet or you have linked the wrong API form the firebase
hi sir, i am suffering from a problem, the user is not signing in for some reason could i get some help?
Hi. What is the error msg?
my realtime database is not being updated along with authentication. I have the same code as you. How can I fix this?
Check you are connecting with the right firebase project and add few console logs in deferent lines, then you can find where the function break
@@InfoTechWARforCoding I think my set(ref) function may not be working
@@simranzaveri9057 check your JavaScript code is in script=modules also
how to make firebase authentication, in which user have to sign up with email, password and pay $10, then they have to login with same credentials to access my web application
(in short, i want only paid user to access my web application ) or (firebase authentication with subscription)
or any other ways that you can refer me to
love to see tutorial on this.....or please redirect me to any useful youtube tutorial on this
First create good database table structure and use cases, then you can build this easily. (more: Create payment table and when user try to log in first check login credentials and then you can check this user whether paid monthly payment or not
sir i did everything correct but its not working can u tell y?
what is the error you got
How did you get the import code in 2:56 ?
You can get it from your firebase project settings or user guide section
am getting this error ==" Firebase: Error (auth/network-request-failed). "
i think you need to manage permissions in firebase or you need to connect database correctly. you can get my code from the website, link is in the video description.
Hi
I am getting a error when i try to register
The firebase error: (auth/invalid-email).
I try many different email id but still same error
make sure you have added the right email. first you need to register one email in the firebase. if you still have the error, i recommend you to watch the video again and start with a new project
@@InfoTechWARforCoding I can't able to get this reply
""first you need to register one email in the firebase"". could u please elaborate or mark timestamp of this video regarding this.
when registering first time user for checking my code I m getting this error(error: (auth/invalid-email).)
@@mayankjindal1255 7:12 did you check your email pass to here
@@InfoTechWARforCodingno the email is not getting store in db. First time registration give this error
Where imporcode ($getDatabase) i didnt found
in the above of the code i have imported it from the firebase. watch the video clearly
Bro I am getting Firebase: Error (auth/ network - request - failed)
I think there is an issue with firebase connection. Check it clearly
Sir did everything same as your but it gives me error when I sign-up the error is firebase: Error (auth/internal-error)
Check your firebase configuration correctly.
@@InfoTechWARforCoding i have done correctly what we need to do to fix it
@@a-047umairabibi3 check whether you have connected the right firebase project and your JavaScript must be start with module -
Try adding
event.preventDefault()
after
login.addEventListener('click',(e)=>{
How to host completed login form to firebase hosting ?
I have created another video for that : th-cam.com/video/DjDBBhnvN4I/w-d-xo.html this video may help you
Firebase: Error (auth/network-request-failed).
how to fix this error ?
Check your network connection, firebase rules and your code
@@InfoTechWARforCoding hello , i have the same question with @froeid samer, may i know how to check the firebase rules?
@@94910hk hi. In the Authentication page open the “sign in methods” tab. There should be a place to add your domain. Check whether it is there or not. And also check your API is in the right project. You can find the API in your configuration code.
I have created another video for this process check that one also : th-cam.com/video/IudOiOwppFA/w-d-xo.html
Can I use firedatabase rather than realtime database
You can use both of them according to your requirements
yeah i can understand i finished it, i make my project but please explain it carefully and dont just type copy and paste...
ok .. thanks for the suggestion
But it is not working now when i created n authenticated it was working bt now😢
May be you have done a small mistake. Check the code
my form does not have a username column, only password and mail, will it work ?
i removed the var username part and tried registering a user , but i did not got an alert message and neither was my user created
what to do ? also i checked the console of chrome. it says my doamin is not regitered in firebase so i have to do that first
also when my password was only two letters it didnt even displayed the error of password has to be six characters
plz help
my form tag was creating a problem, now its solved
i didnt use a username tag in my sugn up, can i create something that will automatically create username by taking some bits form email id, if so how ?
How to duplicate this import code
You can add multiple import codes. If you have any doubt follow my code in the website. I have added the link in the description
Hi , can you make a video on firebase email link verification authentication system , as fast as you can
You will have the video sooner
this video may help you : th-cam.com/video/-63GpQnVOI4/w-d-xo.html
can u include like how to create login and signup from begining
Yes. If you watch this video i think you can get some ideas how to make a log in and sign up form : th-cam.com/video/kF0X0k2wr6k/w-d-xo.html
Very good. How long is the data saved in the free account?
Firebase offers a no-cost tier pricing plan for all its products. For some products, usage continues at no cost no matter your level of use. For other products, if you need high levels of use, you'll need to switch your project to a paid-tier pricing plan
at 3:02 what are you duplicating?
At that point I’m not duplicating, I’m initializing the database
Good video, but the music makes it hard to hear your voice. Cut that next time
I am sorry for that. Next time it will be ok!
is it about just login and login out..bro...
in this video I'm showing only that part, you can follow my firebase playlist for get more tutorials
My user is not being created
That should be created. check your code clearly or you can find my source code from the website. you can find the webpage link in the description below
What is import code u copied at 2:55 sec
Import {getDatabase} code ???????
I'm not getting alert boxes and data is also not stored in my firebase.Plz resolve this issue bro.
check you have a good network connection. and also you can check console log errors
same here, any fix available pls??
Next time, talk more fast. But good
Thanks, I will try my best ❤️
Please provide the source code
i followed you but cant connect
What was the error
@@InfoTechWARforCoding i copied your code and change version but when i run it dont request
@@InfoTechWARforCoding but now, i run it, thank you very much
code??
You can find the link in the description below
The source code is out of reach
Yes i know that. Will try to update. Instead try to do the code yourself. It will be a good practice for you
bhai
Bhaiya Hindi me bolty please
BANDU GOSHABHIKE KUCH BHI NAHI ATA MERKO VIDEO PURA FALLOW KARO TOH BHI NAHI AARA MAAKI KIRKIRI