Search code examples
angularjsfirebaseangularfireyeoman-generator-angularfirebasesimplelogin

simpleLoginTool giving me "Error: The specified authentication type is not enabled for this Firebase" when I try to register new user


I am creating an AngularJS, Yeoman stack with Firebase, AngularFire application and I used generator-angularfire (https://github.com/firebase/generator-angularfire) to set up my simpleLoginTools. I only downloaded the email/password verification as the only point for authentication is that I need a few users for Admin purposes to create new and destroy old content for the site. However, when I go to my 'example.com/#/login' and try to register for a new user via email and password it gives me a

Error: The specified authentication type is not enabled for this Firebase.

Is it because I don't have an User model in my application/Firebase database? If so how do I go about creating one? If not how do I get past this error?


Solution

  • Writing the answer here because i was written down in the comments. This is happening because u have not enabled password authentication in firebase.

    In order to do so you have to go the section Login and Auth and at the end you will se Enable Email and Password Authentication enter image description here