google-signin

Exception com.google.android.gms.common.api.ApiException: 12500

别说谁变了你拦得住时间么 提交于 2019-12-11 15:55:54
问题 Google sign in giving API exception with status code as 12500. Tried to set SHA-1 key but still giving exception. The result in onActivityResult is coming null and showing this exception: com.google.android.gms.auth.api.signin.GoogleSignIn.getSignedInAccountFromIntent(Unknown Source) Is there any possible way out for this issue as I am not getting any solution. Thanks in advance. 回答1: I think the error came from the Wrong SHA1. Please don't forget that the SHA1 is different between release

Google API Client and access to Birthday and Age

随声附和 提交于 2019-12-11 15:49:05
问题 I am trying to login through Google API and getting access to some of the user data, including birthday. This is the code and scopes I am using: <?php set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ .'/vendor/google/apiclient/src'); require_once __DIR__.'/vendor/autoload.php'; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; const CLIENT_ID = '[MY CLIENT ID]'; const CLIENT_SECRET = '[MY APP SECRET]'; const APPLICATION_NAME = "Google+

Google Sign In Button Won't Render

左心房为你撑大大i 提交于 2019-12-11 15:38:58
问题 I'm trying to make a sign in page for my web application and I followed the steps on this website:https://developers.google.com/identity/sign-in/web/sign-in but the google sign in button won't show up, it's just a blank screen but I see that the google icon shows up and fades so it is connecting to google. this is my index.html: <!DOCTYPE html> <html> <head> <title>Google SignIn</title> <!-- Bootstrap CDN: Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn

PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) when using Flutter to build an appbundle

南笙酒味 提交于 2019-12-11 14:29:43
问题 I'm building a Flutter app with firebase_auth and google_sign_in. Everything was working well for a while and all of my existing users on the released product have not experienced any problems, but a while back I started getting reports that new users couldn't log in. I didn't think much of it until the reports started to accumulate. I found that they were getting the error posted in the title. I spent a ton of time investigating... I've gone through all of the other StackOverflow entries for

The page you were on is trying to send you to http://localhost/website

人盡茶涼 提交于 2019-12-11 14:27:46
问题 How to avoid The page you were on is trying to send you to http://localhost/website this page redirection notice while logging out from google. <a href="https://www.google.com/accounts/Logout?continue=https://appengine.google.com/_ah/logout?continue=http://localhost/website/" onclick="signOut()" style="margin-right: 10em">sign out</a> I am using above code. 来源: https://stackoverflow.com/questions/56775612/the-page-you-were-on-is-trying-to-send-you-to-http-localhost-website

I am taken to “www.google.com” after sign in with google cordova

我与影子孤独终老i 提交于 2019-12-11 14:09:43
问题 I am trying to do google plus native firebase authentication. When i click my login button it asks me to choose account and after that. Instead of redirecting me to the app it takes me to "www.google.com" I have tried clicking "Done" after it takes me to "www.google.com". It then closes the popup and says "the user cancelled the operation". What do please Here is my sign in code googleNativeLogin() { return new Promise((resolve, reject) => { this.googlePlus.login( { 'webClientId':

Sign-In with google for games services

孤街浪徒 提交于 2019-12-11 13:49:08
问题 I am implementing the new sign in with google flow according to this blog post: api-updates-for-sign-in-with-google However on sign in I get the following exception: IllegalStateException: Auth.GOOGLE_SIGN_IN_API cannot be used with Games.API I am constructing my GoogleApiClient like this: final GoogleSignInOptions googleSignInOptions = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .build(); mGoogleApiClient = new GoogleApiClient.Builder(this) .enableAutoManage(this,

Is there a way to use Google's Javascript client login without a pop up?

可紊 提交于 2019-12-11 13:47:15
问题 I'm using Google's client login in my client-side javascript, which causes a popup to appear for auth and google login. However, I'd love to configure the sign-in to redirect to the popup's url, auth the user, then come back to my site instead. I can't find anything in the documentation about configuring pop up vs redirect: https://developers.google.com/identity/sign-in/web/reference but I wanted to see if anyone else had success configuring the client-side login for this. The alternative is

Using google-signin without metadata tags

醉酒当歌 提交于 2019-12-11 12:07:53
问题 I am trying to use the google signin lib without the metadata tags. (explanation for this at the end) I largely seem to have this working but when my page loads I get an uncaught exception: Missing required parameter 'client_id' The auth lib is obviously still trying to initialise despite me not specifying the client id in the metadata. Is there any way of turning the lib off so that it does attempt the initialise until I call the gapi.auth2.init function? Why I don't want to use metadata

signin for server-side apps and plus deprecation

天涯浪子 提交于 2019-12-11 10:26:01
问题 I have a server side application that requires that a user sign in using his browser and then the server continues to use that token to do stuff on its own. I'm using the flow described here, pretty much verbatim, but with a few additional scopes: https://developers.google.com/identity/sign-in/web/server-side-flow. In this flow, Google takes over through the login process. I create an auth2 object with gapi.auth2.init(), then I call .grantOfflineAccess() on that object, and later I get a