google-identity

Can't reset user's password in Google Identity Toolkit: “CAPTCHA_CHECK_FAILED”

柔情痞子 提交于 2019-12-10 23:43:20
问题 I'm trying to setup my Google Identity Toolkit so users can reset their passwords. I'm following the documentation here: https://developers.google.com/identity/toolkit/web/required-endpoints#send_email_url I'm using the PHP Gitkit Client outlined here: https://github.com/google/identity-toolkit-php-client/blob/master/src/GitkitClient.php Specifically the function getOobResults() on line 307 seems to be unhappy for some reason. Here's where I'm at: User sets up account and logs in successfully

How to use the Google API client for JavaScript with a One-Tap sign in flow?

天涯浪子 提交于 2019-12-08 08:03:21
问题 I'm using Google One-Tap sign in to authenticate users, and after the user is authenticated I get an access token. I know that I can use this access token in order to work with the Google API client for JavaScript ("GAPI"). But I can't find any way to work with GAPI using this access token. Is there any way to use GAPI assuming I already have an logged in user? What I'm trying to do is access the user calendar after simply authenticating with One-Tap authentication and giving consent for the

Google one tap sign-in does not return idToken

瘦欲@ 提交于 2019-12-07 13:09:09
问题 I am trying to make the new google one tap sign in work following this guide: https://developers.google.com/identity/one-tap/web/get-started When I call : const hintPromise = googleyolo.hint({ supportedAuthMethods: [ "https://accounts.google.com" ], supportedIdTokenProviders: [ // Google can provide ID tokens -- signed assertions of a user's // identity -- which you can use to create more streamlined sign-in // and sign-up experiences. { uri: "https://accounts.google.com", clientId: "YOUR

Photo size in getPhotoUrl() method Google Identity toolkit

走远了吗. 提交于 2019-12-06 03:27:57
I did the login using Google Identity Toolkit, I have noticed that the class GitkitUser.UserProfile retrieves the photo url, but is too small. The google documentation do not say anything about photo size. https://developers.google.com/identity/toolkit/android/reference/com/google/identitytoolkit/GitkitUser.UserProfile.html#getPhotoUrl() For example with Facebook login, the getPhotoUrl() method returns: https://scontent.xx.fbcdn.net/hprofile-xap1/v/t1.0-1/p50x50/12651146_10208004779813340_3124516205553866664_n.jpg?oh=efa817d10aaf9d184a767bae81a71071&oe=576850AD For example with Gmail login,

Google one tap sign up always returns noCredentialsAvailable

久未见 提交于 2019-12-06 01:50:25
问题 I have set up a bare bones test for the new google one tap sign in / sign up. <!DOCTYPE html> <html lang="en"> <head></head> <body> <script src="https://smartlock.google.com/client"></script> <script> window.onGoogleYoloLoad = (googleyolo) => { googleyolo.hint({ supportedAuthMethods: [ "https://accounts.google.com" ], supportedIdTokenProviders: [{ uri: "https://accounts.google.com", clientId: "xxxxx-xxxxx.googleusercontent.com" }], context: "signUp" }).then((credential) => { console.log

Google Smart Lock vs Credential Management API

天大地大妈咪最大 提交于 2019-12-05 02:24:20
问题 I want to implement frictionless sign in process for my web app. After some searching, I have found that there are two solutions available : Google Smart Lock. Credential Managment API. My question is , What is the difference between the two API's (if any) and what are the possible use cases for both of these. From what I have understood, both allow us to save account related info. But the advantage with smart lock is, that saved credentials can be used in corresponding android apps as well.

Google Sign-In for iOS: serverAuthCode is intermittently missing

℡╲_俬逩灬. 提交于 2019-12-04 19:15:50
We first reported this on a Google Issue Tracker but were redirected here. We have been using Google Sign-In for iOS in our iOS app. When a user signs in, our GIDSignInDelegate receives a call to sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) . Until this afternoon, the GIDGoogleUser that we receive in this call has always contained a non-nil authentication?.idToken and a non-nil serverAuthCode , or else error is non-nil and contains information about why authentication failed. Beginning last week, intermittently, signing in results that method being

Google iOS SDK fails to archive (use of undeclared identifier errors)

て烟熏妆下的殇ゞ 提交于 2019-12-04 15:25:14
I have attempted to archive my project for submission to App Store, however, every time I get errors "use of undeclared identifier" for everything related to google iOS SDK. The application itself runs and builds flawlessly with the discussed SDK integrated, the only thing that fails is the archive process. I have tried both cocoa pods and manual method of integration (separately, of course). Furthermore, I used the latest xCode versions (6.4 and 7 beta 4) on two different macs running OS X 10.10.4. This is the guide I have been using. Your issue has something to do with the configuration of

Google Sign In API: isSignedIn.get() returning inconsistent values

╄→尐↘猪︶ㄣ 提交于 2019-12-04 03:24:30
问题 I'm trying to check if a user is signed in or not, but I'm getting really inconsistent results that seem to have some sort of race condition involved. I basically took the code Google Developer Website: gapi.load('auth2', function() { auth2 = gapi.auth2.init({ client_id: 'my_client_id.apps.googleusercontent.com', }); console.log(auth2.isSignedIn.get()); setTimeout(function(){console.log(auth2.isSignedIn.get())},50); setTimeout(function(){console.log(auth2.isSignedIn.get())},500); setTimeout

Google Smart Lock vs Credential Management API

孤人 提交于 2019-12-03 20:19:33
I want to implement frictionless sign in process for my web app. After some searching, I have found that there are two solutions available : Google Smart Lock . Credential Managment API . My question is , What is the difference between the two API's (if any) and what are the possible use cases for both of these. From what I have understood, both allow us to save account related info. But the advantage with smart lock is, that saved credentials can be used in corresponding android apps as well. Thanks ! Note : I intend to support login from multiple sources (google, facebook, linkedin etc.) ,