firebase-authentication

Unable to fetch user's gmail email address through Firebase

烈酒焚心 提交于 2019-12-24 06:02:19
问题 I'm developing an app which use Firebase` as a BaaS. I have integrated Google Sign-in and I want to fetch user's name, email address and profile pic. I have successfully fetched the name and profile pic, but I'm unable to fetch the email address. Here's Google API client setup: /* Setup the Google API object to allow Google+ logins */ mGoogleApiClient = new GoogleApiClient.Builder(this) .addConnectionCallbacks(this) .addOnConnectionFailedListener(this) .addApi(Plus.API) .addScope(Plus.SCOPE

Flutter Firebase Auth / Google_sign_in fail to login with statuscode=CANCELED

╄→гoц情女王★ 提交于 2019-12-24 05:41:14
问题 This is my pubspec.yaml. I'm using Flutter: dependencies: flutter: sdk: flutter cupertino_icons: ^0.1.2 shared_preferences: ^0.4.2 json_serializable: ^1.2.1 camera: ^0.2.3 path_provider: ^0.4.1 simple_permissions: ^0.1.6 share: ^0.5.3 #Google Sign_In firebase_auth: ^0.5.20 google_sign_in: ^3.0.5 I cannot authenticate with the Google Sign In method. The window shows up normally and after my app throws a error: PlatformException(sign_in_failed, Status{statusCode=CANCELED, resolution=null}, null

Flutter Firebase Auth / Google_sign_in fail to login with statuscode=CANCELED

半世苍凉 提交于 2019-12-24 05:41:11
问题 This is my pubspec.yaml. I'm using Flutter: dependencies: flutter: sdk: flutter cupertino_icons: ^0.1.2 shared_preferences: ^0.4.2 json_serializable: ^1.2.1 camera: ^0.2.3 path_provider: ^0.4.1 simple_permissions: ^0.1.6 share: ^0.5.3 #Google Sign_In firebase_auth: ^0.5.20 google_sign_in: ^3.0.5 I cannot authenticate with the Google Sign In method. The window shows up normally and after my app throws a error: PlatformException(sign_in_failed, Status{statusCode=CANCELED, resolution=null}, null

Firebase - create a temporary user until the user signs up

不羁岁月 提交于 2019-12-24 04:57:15
问题 I have a use case where User A can say that User B borrowed from User A some amount of money, similar to apps like Splitwise. I'm using firestore to store the data. In this particular case, I'll store it as a document in the "Transactions" collection which will have the following fields: amount: 20 fromUser: uid for User A toUser: uid for User B The issue here is that the User B doesn't exist yet and so there is no uid for the user B. What I want to do is to create a temporary user for User B

Does google identity platform supports LinkedIn out of the box like it does for Facebook or Gmail

十年热恋 提交于 2019-12-24 04:54:06
问题 I am trying to use google identity platform for my application by following the below link Google Identity Platfrom But on this page, no identity provider mentioned for LinkedIn and same is not searchable on web. What I understood is Google's Identity platform is using Firebase underneath. I am just wondering, on Firebase portal it is mentioned that a custom implementation is required for LinkedIn whereas under the GCP account -> Add provider I can see LinkedIn. What I would like to know is,

EmberFire Authentication and ToriiFirebaseAdapter

痴心易碎 提交于 2019-12-24 04:19:08
问题 I've followed the EmberFire guide to setting up authentication with the torii provider and it works perfectly. I'm looking to store the users data in firebase after the user has been authenticated and to have access to the user object throughout the application. I have previously done this with ember awhile back but i'm unsure how to do it using the new torii provider. I'm thinking i should test wether the user is already stored in firebase in an initialiser function and then inject the user

Securely store Android Firebase Auth users in a MySQL database

梦想的初衷 提交于 2019-12-24 04:18:08
问题 I am creating an Android native app and I am using Firebase Auth with multiple auth provides such as; Email, Facebook, Google etc, I will use the Firebase SDK for chat and real-time DB. I have a RESTful API with a MySQL (similar to Facebook with; friends, private and public posts), a user database behind a PHP server and I would like to synchronize the Auth so that I can ensure that the user is correct and has a authority to access data for which they have permissions. I am able to edit and

Securely store Android Firebase Auth users in a MySQL database

99封情书 提交于 2019-12-24 04:18:02
问题 I am creating an Android native app and I am using Firebase Auth with multiple auth provides such as; Email, Facebook, Google etc, I will use the Firebase SDK for chat and real-time DB. I have a RESTful API with a MySQL (similar to Facebook with; friends, private and public posts), a user database behind a PHP server and I would like to synchronize the Auth so that I can ensure that the user is correct and has a authority to access data for which they have permissions. I am able to edit and

Firebase IOS idToken invalid `kid` Exception in backend while `verifyIdToken` in Gmail Auth

不想你离开。 提交于 2019-12-24 03:54:05
问题 I'm using firebase for Android and IOS application. The Application has dedicated backend and verifies the Token issued by firebase after phone/email auth using verifyIdToken method. I'm verifying the token for new user registration. The concept is working fine for android application. When new user Authenticates , Registration API going to be called with Token issued by Firebase and I'm verifying that token using Service Account . However, For ios it fails with the exception that kid header

Angular Firebase auth, how to check if user is logged in to hide login link from navigation?

余生长醉 提交于 2019-12-24 03:02:05
问题 I implemented angular firebase email and password registration and login, but now what I want to do is check in my navigation template the state of the user, if the user is logged in, then hide login button, as well as hide register button. I tried googling for some tutorials on this, and found out that I must use AuthService and AuthInfo as you can see here: https://github.com/angular-university/angular-firebase-app/blob/master/src/app/shared/security/auth.service.ts The thing is that they