Google hosted firebase with JVM client libraries [firebase-client-jvm:2.5.2.jar]

79 views
Skip to first unread message

William Taylor

unread,
Jun 5, 2016, 10:39:44 AM6/5/16
to Firebase Google Group
I am trying to use the firebase-client-jvm:2.5.2.jar libaries to authenticate with a New Google hosted firebase app with the following code:

        ref.authWithPassword("[email]", "[password]", new Firebase.AuthResultHandler() {
@Override
public void onAuthenticated(AuthData authData) {
System.out.println("User ID: " + authData.getUid() + ", Provider: " + authData.getProvider());
}
@Override
public void onAuthenticationError(FirebaseError firebaseError) {
// there was an error
System.out.println(firebaseError.getMessage());
}
});


I keep getting this error:

"The specified authentication provider is not enabled for this Firebase"

I checked the console for my app and I have a user that corresponds to the email and password provider and I have Email/Password Sign In Provider Enabled for this project.

Does google support the old firebase JVM client libraries?

Frank van Puffelen

unread,
Jun 6, 2016, 9:48:50 AM6/6/16
to Firebase Google Group
Sorry about the confusing error message. We're working on improving that.

The 2.x authentication libraries cannot be used on a project that is created in the new Firebase Console (https://console.firebase.google.com/).

You'll either have to use the latest SDK or create a project in the legacy console (https://www.firebase.com).

     puf
Reply all
Reply to author
Forward
0 new messages