google-signin

Why am I not receiving Google security events for G Suite accounts?

送分小仙女□ 提交于 2019-12-24 22:30:29
问题 I have successfully implemented Google Sign-In for my application as described here, with an additional layer of validation using our back-end server as described here. However, when I try to register my application for Cross-Account Protection, I'm only able to receive events that come from personal (ending in @gmail.com ) accounts. my stream config object looks like this: { "delivery": { "delivery_method": "https://schemas.openid.net/secevent/risc/delivery-method/push", "url": MY_RECEIVER

Swift: Go to other view controller after Google Sign In

守給你的承諾、 提交于 2019-12-24 20:34:21
问题 After users successfully signing in, I want the screen to show the tab controller view automatically. Now I finished the integrating Google Sign In part. But after signing in, the view return to the initial View Controller. My storyboard looks like this, the blue View inside the initial View Controller is the Google Sign In button. Below's my didSignInFor function: func sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) { if let error = error { print("\

Error while doing Firebase google sign_in

て烟熏妆下的殇ゞ 提交于 2019-12-24 18:27:28
问题 I have implemented Google sign-in option in my project for users to sign in. The app is launching properly and I'm able to click on the google sign in, it is also displaying the google accounts available in my mobile but when I click on any account it is not moving to another page and throwing this error. Here's my code: final FirebaseAuth _firebaseAuth = FirebaseAuth.instance; final GoogleSignIn _googleSignIn = new GoogleSignIn(); Future<FirebaseUser> _signIn(BuildContext context) async {

Terminating app due to uncaught exception 'NSInvalidArgumentException' - ios google sign in

孤街醉人 提交于 2019-12-24 15:14:04
问题 I'm implementing the google sign in process taken from this tutorial https://developers.google.com/identity/sign-in/ios/sign-in?configured=true&ver=swift as I can see there the author wrote: In these examples, the view controller is a subclass of UIViewController. If, in your project, the class that implements GIDSignInUIDelegate is not a subclass of UIViewController, implement the signInWillDispatch:error:, signIn:presentViewController:, and signIn:dismissViewController: methods of the

How to add 'Choose an account' option of google sign-in with hybrid mobile app?

本秂侑毒 提交于 2019-12-24 15:08:05
问题 I've a hybrid mobile app which has built using cordova. Recently, I've included Google Sign-in feature into this. But, one issue which I'm facing is, even if my native gmail app connected to 3 other gmail accounts... it's not showing me the... "Choose an account" option like other mobile app shows. EX : One of my thought is, maybe because of my app is a hybrid app it's not getting access to native gmail accounts session. That's why, it's not showing me the option. Am I right? How I can solve

Different JavaScript origin for the same web app on each computer causes Error: redirect_uri_mismatch

╄→尐↘猪︶ㄣ 提交于 2019-12-24 12:42:18
问题 I have published a web app with Google sign in using Google apps script. Every time you log into your google account on another computer to access this web-app, an error will appear: "redirect_uri_mismatch". I see that on each computer login to google account, the published web app has different javaScript origin in the request link and I have add this link into Authorized JavaScript origins on the Google developer console for this computer login as well to make Google sign in work. I want my

Managing browser sessions with Google sign in

末鹿安然 提交于 2019-12-24 09:49:04
问题 I have implemented a google sign in button for my website using the steps outlined in this page: https://developers.google.com/identity/sign-in/web/sign-in The page then extracts the id_token and sends it to my backend server, which validates it against the Google validation endpoint. I then use their Google ID that is encoded in the id_token to retrieve the application specific data associated with it (stored on my database). I'm just a bit confused on what I need to do next to keep the user

GoogleSignInOptions, GoogleApiClient bind service ServiceConnection Crash

﹥>﹥吖頭↗ 提交于 2019-12-24 09:39:51
问题 I have added Google sign in as given in link and Integrated using Start Integrating Google Sign-In into Your Android App In login activity OnCreate method init it as illustrated in above link. // [START configure_signin] // Configure sign-in to request the user's ID, email address, and basic // profile. ID and basic profile are included in DEFAULT_SIGN_IN. GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestIdToken(getResources().getString(R

How to check whether a user is authenticated or not in Firebase?

邮差的信 提交于 2019-12-24 06:42:53
问题 I have a few sign-up methods in my app as shown below: Let's revolve the problem around Google sign-in method : What I am doing is that when a user signs in enteringDataIntoUserNode() method is called inside signInWithCredential() method like: private void firebaseAuthWithGoogle(GoogleSignInAccount acct) { AuthCredential credential = GoogleAuthProvider.getCredential(acct.getIdToken(), null); // signing in mAuth.signInWithCredential(credential) .addOnCompleteListener(this, new

How to fix TypeError when using signInWithCredential on node.js? [EDIT: bug in Firebase 6.2.2]

主宰稳场 提交于 2019-12-24 06:35:53
问题 I am trying to sign in to firebase using a Google Id Token, as I'm developing an app that will be running on a raspberry pi, but when trying to sign in using the received token firebase crashes when using signInWithCredential. Here's my minimal reproducible example var firebase = require("firebase/app"); require("firebase/auth"); const firebaseConfig = { ... }; // Initialize Firebase firebase.initializeApp(firebaseConfig); const id_token = "A_GOOGLE_ID_TOKEN"; var credential = firebase.auth