google-authentication

Google+ signin - handleSignInResult returns false after customizing signin button

有些话、适合烂在心里 提交于 2019-12-29 07:56:34
问题 I'm following the sample code given by Google to integrate Google plus with android. https://github.com/googlesamples/google-services/blob/master/android/signin/app/src/main/java/com/google/samples/quickstart/signin/SignInActivity.java That code sample worked perfectly fine until I added some changes as follows. GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestScopes(new Scope(Scopes.PLUS_LOGIN)) .requestEmail() .build(); mGoogleApiClient

Silent sign in to retrieve token with GoogleApiClient

时光怂恿深爱的人放手 提交于 2019-12-28 05:44:28
问题 I am using "Google Sign-In" in my app. Hence I use the class GoogleApiClient to get the user email and the ID token that I need for my backend. When the user signs in, then I have access to an Activity (of course) and I use that Activity to let the GoogleApiClient handle the UI lifecycle stuff by calling builder.enableAutoManage(myActivity, ...) This works fine. However, at a later stage (several days later), I need to get a new token (for some reason that I will not go into further here). I

Silent sign in to retrieve token with GoogleApiClient

落花浮王杯 提交于 2019-12-28 05:44:26
问题 I am using "Google Sign-In" in my app. Hence I use the class GoogleApiClient to get the user email and the ID token that I need for my backend. When the user signs in, then I have access to an Activity (of course) and I use that Activity to let the GoogleApiClient handle the UI lifecycle stuff by calling builder.enableAutoManage(myActivity, ...) This works fine. However, at a later stage (several days later), I need to get a new token (for some reason that I will not go into further here). I

How to get google analytics data using java?

谁说我不能喝 提交于 2019-12-25 09:10:41
问题 I am trying to download a google analytics data using java. I am using a quick start code provided by google developer guide. I downloaded oauth credential file in json format from the developer console. I also given the json path to program but I am getting error. Please help public class HelloAnalytics { // Path to client_secrets.json file downloaded from the Developer's Console. // The path is relative to HelloAnalytics.java. private static final String CLIENT_SECRET_JSON_RESOURCE = "ga

Firebase google auth sign is getting failed

旧时模样 提交于 2019-12-25 08:04:16
问题 I am trying to do Firebasegoogle authentication, but everytime am getting public void onComplete(@NonNull Task<AuthResult> task) task.isSuccessful() as false with the follwing exception com.google.firebase.FirebaseException: An internal error has occurred. [ Bad Request ] at com.google.android.gms.internal.zzbix.zzcb(Unknown Source) at com.google.android.gms.internal.zzbiu$zzj.zza(Unknown Source) at com.google.android.gms.internal.zzbjf.zzcc(Unknown Source) at com.google.android.gms.internal

Google Container Engine REST API Authorization

邮差的信 提交于 2019-12-25 05:30:40
问题 As mentioned here I created API key for using cluster operations. For example for this query: https://www.googleapis.com/container/v1beta1/projects/PROJECT_ID/clusters And as mentioned After you have an API key, your application can append the query parameter key=yourAPIKey to all request URLs. I added it to url: https://www.googleapis.com/container/v1beta1/projects/PROJECT_ID/clusters?key=my_key But i have error: { "error": { "errors": [ { "domain": "global", "reason": "required", "message":

Gmail API / Google Auth - How to get verified?

人走茶凉 提交于 2019-12-25 02:47:07
问题 I have created an app with Gmail API / Google Auth in Vue.js and Laravel that can read and send emails on a user's behalf. My code works fine, however I see this error screen before a user can authorize the access to their inbox. Apparently there is some verification process that Google has not documented anywhere. I even opened a ticket with Google but no answer. I was wondering if anyone here knows how to get it verified? 回答1: OAuth Client Verification Starting July 18, 2017, Google OAuth

Invoke “Verify it's you” authentication page from a Firebase application

北战南征 提交于 2019-12-24 20:17:48
问题 In my Firebase application users can remove their accounts. I want to do the same thing which Google do when you're trying to remove your account: ask the user's password once more. Is it possible to invoke this dialog using Firebase Auth API? Or in some other way? 回答1: You can ask the user to reauthenticate. This is actually common practice for certain sensitive operations like deleting a Firebase user, updating a password or email. You would reauthenticate and check the auth_time in the new

cURL error 60 is going while using google auth api

谁说我不能喝 提交于 2019-12-24 19:14:26
问题 GuzzleHttp \ Exception \ RequestException cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) I'm using google+ api and this error is not going even after adding cacert.php and modifying php.ini curl.cainfo = "‪C:\xampp\php\extras\ssl\cacert.pem" xampp server windows 来源: https://stackoverflow.com/questions/50112424/curl-error-60-is-going-while-using-google-auth-api

Google OAuth2 “ServiceAccountCredential” does not exist when using ASP.NET Core (RTM)

点点圈 提交于 2019-12-24 17:09:24
问题 I had a ServiceAccount hookup in my .NET Core RC1 app that worked fine. However now, "ServiceAccountCredential" doesn't exist in "Google.APIs.Auth.OAuth2" anymore. The whole library seems to be missing a ton of classes in the RTM version of Core. Here are the related packages in my project.json "Google.Apis.Core": "1.14.0", "Google.Apis.Auth": "1.14.0", "Google.Apis.Oauth2.v2": "1.14.0.540" I even tried using the RC1 packages, but I keep getting the same thing. Is it simply because Google