firebase-authentication

Dynamic facebook login button with Firebase on Android

老子叫甜甜 提交于 2019-12-12 04:28:58
问题 Today I came across this problem; I want to use the Facebook login button to sign users in to my app. Now when the loginbutton is clicked, I log in, and continue to the 2nd activity. callbackManager = CallbackManager.Factory.create(); LoginButton loginButton = (LoginButton) findViewById(R.id.loginButton); loginButton.setReadPermissions("email", "public_profile"); loginButton.registerCallback(callbackManager, new FacebookCallback<LoginResult>() { @Override public void onSuccess(LoginResult

Initializing Firebase auth object error

谁说胖子不能爱 提交于 2019-12-12 04:27:41
问题 I am getting an error whenever I try to run the app: Here is .java class: package com.safariagaming.flix; import android.app.ProgressDialog; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms

Unusual behavior from Firebase Authentication when signing in using existing account email

半城伤御伤魂 提交于 2019-12-12 04:26:11
问题 Not sure what is happening or Why, but If i create a new user using Firebase facebook Oauth with say email 123@gmail.com and then sign in using Firebase google Oauth with the same email (123@gmail.com) , Firebase does not give me an error that an account already exists with this email. it just updates the provider under users tab. However, if i first create a user with Google Oauth using email (123@gmail.com) and then try sign using Facebook Oauth with the same email there is an error stating

Android: Firebase auth for Cloud End Point not working

試著忘記壹切 提交于 2019-12-12 04:21:31
问题 I have followed the link and have done the configuration on the server as mentioned. "/users": post: description: "<Description>" operationId: "<OperationID>" produces: - "application/json" responses: 200: description: "user List" schema: $ref: "#/definitions/echoMessage" parameters: - description: "Search Criteria" in: body name: message required: true schema: $ref: "#/definitions/echoMessage" security: - firebase: [] and firebase: authorizationUrl: "" flow: "implicit" type: "oauth2" x

Firebase / Facebook - How to Log Off / Sign Off?

别等时光非礼了梦想. 提交于 2019-12-12 04:21:11
问题 I am stuck in a loop here. Users can log in with their FB account. The app creates a Firebase user w/ the same info. With the launcher activity (LoginActivity), if it detects an user is already logged in, it redirects them to their profile fragment. However, on the profile fragment, I click the log off button and redirect them to the Login page. This is where the cycle begins. From code snippets and official Firebase doc, I am using .unauth();. However, my logcat still shows the user is

Is Firebase Cloud Messaging authentication necessary?

白昼怎懂夜的黑 提交于 2019-12-12 04:20:51
问题 I have server in php with custom user authentication. I'm trying to create chat with Firebase, and after reading docs I'm still confused id I need to authenticate my users for Firebase, and if so should I do it with signInWithCustomToken? Any other tips on how should I proceed are welcome. Thank you. 回答1: There is no need to authenticate users for them to receive FCM messages. You do need to pass the FCM Server key to send messages to devices however. You can see an example of that in the

Firebase Auth and Google Calendar Creation

≡放荡痞女 提交于 2019-12-12 04:17:58
问题 Is it possible to use Firebase Authentication, to authenticate my iOS/Web/Android users to my platform, and then for each user to create a google calendar and sync them with the rest of the users through Firebase? This is the first time that I'm dealing with something like this and I'm honestly confused, the documentation on the API's hasn't helped me thus far. 回答1: You may want to check this thread wherein it was stated that: There is no way to currently do this with the current SDKs that I

Login with google BAD_AUTHENTICATION issue

♀尐吖头ヾ 提交于 2019-12-12 04:08:11
问题 E/Auth: [GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTICATION. Account: <ELLIDED:652354120>, App: com.google.android.apps.maps, Service: oauth2:https://www.googleapis.com/auth/mobilemaps.firstparty efl: Long live credential not available. at efm.b(:com.google.android.gms:3117) at efm.a(:com.google.android.gms:119) at edt.a(:com.google.android.gms:437) at eds.a(:com.google.android.gms:31404) at eds.a(:com.google.android.gms:297) at flg.a(:com.google.android.gms:1189) at flf.a(:com

Update to AuthData [duplicate]

让人想犯罪 __ 提交于 2019-12-12 03:49:20
问题 This question already has an answer here : FirebaseUser's profile is not updated (1 answer) Closed 2 years ago . When ever the auth data changes, say the user updated his name or accepted the email for verification I need to ask the user to re - login either by logging out and then logging in or by asking user for the credentials in app and then calling reauthticate() method. That is the AuthData is not being updated unless the user kind of re-logins. Is there any way where I can kinda force

Is it possible to post status updates to Twitter using Firebase?

大城市里の小女人 提交于 2019-12-12 03:46:24
问题 does anyone know if the new Google's Firebase can post tweets to Twitter? I checked Google's Firebase website and it mentions that users can authenticate using their services. Once this authentication and authorization is done, I should have the required keys to access Twitter's API. However, I was wondering if the Google's Firebase (Android SDK), can post tweets using one of its classes or methods automatically (without having to send an independent REST request from the Android app). 回答1: