google-signin

Unable to add google sign in in ios 9.0

自古美人都是妖i 提交于 2019-12-11 03:49:19
问题 I had followed all the steps given in developers.google.com. When I try to do #import <GoogleSignIn/GoogleSignIn.h> [GIDSignIn sharedInstance].clientID = kClientID; Got clientID from my plist file. But it shows linker errors like Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_SFSafariViewController", referenced from: objc-class-ref in GoogleSignIn(GIDSignIn.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see

phone selector api in android

我怕爱的太早我们不能终老 提交于 2019-12-11 03:44:37
问题 I am trying get phone number using phone selector API, but get empty response, here my code. GoogleApiClient googleApiClient = new GoogleApiClient.Builder(this) .addApi(Auth.CREDENTIALS_API) .addConnectionCallbacks(this) .addOnConnectionFailedListener(this) .build(); googleApiClient.connect(); HintRequest hintRequest = new HintRequest.Builder() .setPhoneNumberIdentifierSupported(true) .build(); PendingIntent intent = Auth.CredentialsApi.getHintPickerIntent( googleApiClient, hintRequest); try

google sign in not returning error also not signing in

浪尽此生 提交于 2019-12-11 03:24:54
问题 I am trying to make google sign in work on my intranet site which currently uses integrated windows authentication - I want to get away from that because I need to support ChromeBooks and pretty much everything here is going google...... This is what IS working: I get a sign in button. I can see in the console log that it is using my google developer client id: XHR finished loading: GET "https://accounts.google.com/o/oauth2/iframerpc?action=checkOrigin&origin=ht…d=777682448638

Conflict between Facebook Sign In and Google Sign In - iOS

半世苍凉 提交于 2019-12-11 03:02:29
问题 I've successfully deployed a Log In via Facebook in my app. I've then tried to add the possibility to log in via Google+ but I gave up after a few long nights of coding and a few posts from people much more advanced than I am concluding on the roadblocks existing at the moment example: How can I login to google-plus using google-plus-ios-sdk-1.7.1 sdk?. I am now trying to implement a Google Sign In by following the seemingly easy instructions from the Google Developer site. However the way

Verifying token id in 'sign in with google' on my website

假装没事ソ 提交于 2019-12-11 02:43:11
问题 I wish to implement 'sign in with google' on my website. OpenId connect recommends using Google Sign-In, their sign-in client library. However on Google sign-in's page https://developers.google.com/identity/sign-in/web/backend-auth in the Section "Calling the tokeninfo endpoint" it is mentioned "The easiest way to validate an ID token is to use the tokeninfo endpoint. Calling this endpoint involves an additional network request that does most of the validation for you, but introduces some

How to fix `The user canceled the sign-in flow.` with Sign In with Google on iOS?

我的未来我决定 提交于 2019-12-11 02:08:03
问题 I am integrating Sign in with Google with iOS Firebase SDK. When a user taps on the GIDSignIn button, the app shows an alert showing "MyAPP" want to use Google.com for Sign in , but the alert dismisses quickly. The error I get in the didSignInFor user: GIDGoogleUser method as follows: 2019-02-21 16:54:13.104279+0530 MyApp[18743:185089] [Warning] Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior (

Second [[GIDSignIn sharedInstance] signIn] isn't prompting the user

纵然是瞬间 提交于 2019-12-11 01:28:48
问题 Many people have more than one Google account. I'd like to support multiple Google accounts in my app. I'm having trouble getting a prompt for the user to sign in with a second account. The user can sign in to one account just fine. Calling sign in the first time results in a call to the delegate with all of the expected values. When I call signIn again, my app doesn't switch to the Google sign in UI but instead the delegate is called immediately. The values returned to the delegate are for

how to solve android google signing issue which is not working after publishing app on play store?

别说谁变了你拦得住时间么 提交于 2019-12-11 01:20:27
问题 Google plus signin is not working after publishing app on play store. It works fine on my debugging mobile device. How to solve it? 回答1: you doesn't attach your SHA-1 certificate fingerprint on "Google Developer Consol" at OAuth 2.0 client IDs .So go on Google developer Consol first and add your SHA-1 fingerprint in both API KEY and OAuth 2.0 client IDs. Perhaps you have added fingerprint in API KEY but not in OAuth 2.0 client IDs. So follow below path: 1 ): Open your Google developer consol.

Google SignIn for iOS fails to build because it's looking for a file that doesn't exist

馋奶兔 提交于 2019-12-11 00:16:05
问题 Google just updated their sign in library for ios to version 3.0.0. In the process, it looks like they also caused the library to fail to build with the error ld: file not found: MY_APP_PATH/Pods/GoogleUtilities/Libraries/libGTM_NSData+zlib.a What can I do to solve this? I'm using Cocoapods. 回答1: I mostly made this question so that there's a google-able answer on how to fix this issue. Like I stated in the question above, the issue is caused by the March 22 2016 v3.0.0 update of the Google

Google SignIn SFSafariViewController/WebView redirects to Google.com after accepting permissions

ぃ、小莉子 提交于 2019-12-10 23:28:54
问题 Im trying to implement the new Google SignIn Library that I installed using Cocoapods. Deployment Target is 8.4 and Im testing in a 9.0.2 device. 1- I have the proper plist file with clientID and reverseID 2- I have the URL types set 3- I have the AppDelegate as a delegate of GIDSignIn [GIDSignIn sharedInstance].delegate = self; and the proper delegate methods implemented to catch the callback - (void)signIn:(GIDSignIn *)signIn didSignInForUser:(GIDGoogleUser *)user withError:(NSError *)error