google-signin

Get high quality profile picture from GoogleSignInAccount

浪子不回头ぞ 提交于 2020-03-19 04:49:16
问题 In my Android application in order to authenticate through the google account , I follow this official tutorial https://developers.google.com/identity/sign-in/android/people#retrieve_profile_information_for_a_signed-in_user and it works. As stated there, to retrieve the profile picture I use " getPhotoUrl() " method of "GoogleSignInAccount" class. Example: GoogleSignInResult result = Auth.GoogleSignInApi.getSignInResultFromIntent(data); GoogleSignInAccount acct = result.getSignInAccount();

“Browser or app may not be secure. Try using a different browser.” error with Flutter Firebase Google Login

杀马特。学长 韩版系。学妹 提交于 2020-03-18 11:54:10
问题 I am using flutter web and firebase authentication to build a web app. For that 1. Created Firebase app with Google signin as one of the sign in methods. 2. Added the dependencies as given in https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth/firebase_auth/example and https://dart-pub.mirrors.sjtug.sjtu.edu.cn/packages/firebase_auth_web. When I try to login, the Google sign-in window appears. Once I enter the email address and press enter, it gives the

Google One-tap project status

主宰稳场 提交于 2020-02-13 11:37:26
问题 Does anyone know what is the status of Google One-tap AKA YOLO project? It seems like all the official documentation on One-tap is gone. The cached version states: The beta test program for this API is currently closed. We are improving the API's cross-browser functionality and will provide updates here in the coming months. There are quite some websites which are still using this technology, either because they were in Beta and/or whitelisted by Google. 回答1: We are addressing a number of

Google One-tap project status

别来无恙 提交于 2020-02-13 11:34:49
问题 Does anyone know what is the status of Google One-tap AKA YOLO project? It seems like all the official documentation on One-tap is gone. The cached version states: The beta test program for this API is currently closed. We are improving the API's cross-browser functionality and will provide updates here in the coming months. There are quite some websites which are still using this technology, either because they were in Beta and/or whitelisted by Google. 回答1: We are addressing a number of

Google Chrome 62.0.3202.94 gapi.auth2.getAuthInstance().signIn popup_closed_by_user

一笑奈何 提交于 2020-02-02 14:30:31
问题 Try sample from documentation https://developers.google.com/identity/protocols/OAuth2UserAgent#example We could select an account from popup dialog, but SignIn don't autorize in Google Chrome version 62.0.3202.94 In my example bilding by this documentation I got the error message with code "popup_closed_by_user" In Google Chrome version 62.0.3202.94 method ` gapi.auth2.getAuthInstance().signIn(options).then( function(resp) { var auth_code = resp.code; }, function(resp) { var auth_code = resp

Google Sign In showing blank screen in iOS

有些话、适合烂在心里 提交于 2020-01-30 10:32:47
问题 I have implemented code as per the google SDK documentation line by line in my app, but still when I click on google sign in button app shifts to new view controller with webview with blank screen. Have tried multiple solution found here : GIDSignIn white screen on iOS 91. But no lucks with resolving the problem , have attached the screen shot for getting closer look about the screen. Following are the pods that I'm using, Running XCode 9.1, iOS 10.0 and later. Kindly request someone to help.

Google SignIn without CocoaPods

岁酱吖の 提交于 2020-01-30 06:20:44
问题 I am trying to integrate the GoogleSign-In for iOS with the documentation found here: https://developers.google.com/identity/sign-in/ios/start-integrating How can I do this without using Cocoapods? I've tried using the libraries and headers that Cocoapods download directly, but this led to many issues. Has anyone successfully converted a Cocoapod into a standalone library/framework? 回答1: The standalone SDK is available here now: https://developers.google.com/identity/sign-in/ios/sdk/ As

OAuth consent screen not showing

爷,独闯天下 提交于 2020-01-24 17:44:25
问题 Recently implemented Google sign-in in my local dev. Everything works fine, except when I choose one of my Google accounts to log in, the consent screen does not show up. It does get authorized, as I can see my website in Apps connected to your account section of My Account. I have already configured OAuth consent screen under Credentials section of APIs & Services console. Not sure why it's not showing up? I tried sending approval_prompt=force but it had no effect. Also tried prompt=select

What are APP_CLIENT_ID and SERVER_CLIENT_ID and where do I find them?

烈酒焚心 提交于 2020-01-24 06:15:25
问题 I'm trying to implement server-side API access for my iOS app. The Google docs (here) mention APP_CLIENT_ID and SERVER_CLIENT_ID in their code sample in step 2. Here's their code: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [GIDSignIn sharedInstance].clientID = @"APP_CLIENT_ID"; [GIDSignIn sharedInstance].serverClientID = @"SERVER_CLIENT_ID"; // Additional scopes, if any // [GIDSignIn sharedInstance].scopes = @[ @"other_scope"

Linking errors when trying to install Google signin

感情迁移 提交于 2020-01-23 06:46:11
问题 I am trying to integrate Google Sign In into my iOS Apps but while doing this i am getting below error. Is there any solution to remove below errors? Undefined symbols for architecture armv7: "_inflate", referenced from: l002 in GoogleSignIn(GTMNSData+zlib.o) "_deflate", referenced from: l001 in GoogleSignIn(GTMNSData+zlib.o) "_inflateEnd", referenced from: l002 in GoogleSignIn(GTMNSData+zlib.o) " deflateInit2 ", referenced from: l001 in GoogleSignIn(GTMNSData+zlib.o) " inflateInit2 ",