+ 1
Firebase auth not working
Hey guys, I’m using Firebase auth for my project, and I get an error every time I use my sign up function. It looks like it says Firebase.auth is not defined. It seems like there’s a problem with the SDK. I have all the SDK’s inserted but I guess they are not loading properly. I even tried putting them at the end. https://code.sololearn.com/Wt098Uxkdgv8/?ref=app
2 Antworten
+ 1
`src="/__/firebase/7.17.1/firebase-auth.js"` won't work. In the docs they have used '/__/firebase/' as an abbreviation for the path to the firebase file.
Instead use
`src="https://www.gstatic.com/firebasejs/7.17.1/firebase-auth.js"`
Your code still has an error but it is easy enough for you to figure out.
Also, while fixing the code, I created an account. Delete it from the console please.
+ 3
XXX Thanks for your help 👌🏻