Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 489
stcho Avatar asked Aug 01 '14 21:08

stcho


People also ask

What happens when authentication fails in Firebase?

The type of exception thrown by the Firebase SDK in the event of an authentication failure can be used to identify more information about the cause of the failure. In the previous section, the built-in failure description was presented to the user, but the app itself made no attempt to identify the cause of the failure.

What is firebaseauthrecentloginrequiredexception?

• FirebaseAuthRecentLoginRequiredException – The user has attempted to perform a security sensitive operation but too much time has elapsed since signing in to the app. When this exception is detected the user will need to be re-authenticated as outlined later in this chapter.

Why is my user’s token invalid in Firebase?

The user has either entered the wrong email address, has yet to create an account or the account has been deleted. • ERROR_USER_TOKEN_EXPIRED – The user’s token has been invalidated by the Firebase system.

How do I disable a user account in Firebase?

Next, open the Firebase console in a browser window and navigate to the Users screen of the Authentication section for the Firebase Examples project. Using the menu to the right of one of the existing user account entries, select the Disable Account menu option as outlined in Figure 12-1:


1 Answers

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

like image 80
Miguel Carvajal Avatar answered Nov 15 '22 07:11

Miguel Carvajal