google-identity-toolkit

Gitkit Java client library - Trouble verifying token signature: Invalid audience

限于喜欢 提交于 2019-12-11 10:02:42
问题 We're struggling with an issue during the token verification. We have the following exception: java.security.SignatureException: Invalid audience: xxx-platform. Should be: 787384428332-32charsofidxxxxxxxx.apps.googleusercontent.com at com.google.identitytoolkit.JsonTokenHelper$AudienceChecker.check(JsonTokenHelper.java:67) at net.oauth.jsontoken.JsonTokenParser.verify(JsonTokenParser.java:156) at net.oauth.jsontoken.JsonTokenParser.verify(JsonTokenParser.java:103) at net.oauth.jsontoken

Google Identity Toolkit returns error 2 when signing in with aol email Id

爱⌒轻易说出口 提交于 2019-12-11 06:04:12
问题 I have been using Google Identity Toolkit for my GAE (Java) based app for couple years now. I have Google, Facebook and Microsoft federated logins enabled. However, when a user tries to "Sign In with Email" and uses an @aol.com account, it returns a 503 error, and Error code: Error code: 2. error message on the UI. In the console, the following errors appear: gitkit.js:242 POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/createAuthUri?key=<key> 503 () lj.send @ gitkit.js:242 Mj

Validating OAuth2 token obtained on Android device via Google Identity Toolkit (GitkitClient) on 3rd-party backend (custom python backend, non-gae)?

孤者浪人 提交于 2019-12-11 03:15:04
问题 How do I validate an OAuth2 token obtained on an Android device via the Google Identity Toolkit (GitkitClient) on 3rd-party backend (custom python backend, non-gae)? I'm able to obtain a token on Android via the use of GitkitClient. But how can my non-google-app-engine (Python) backend verify that this token is valid (from Google)? 回答1: You could use the Google Identity Toolkit Python client library to verify that token: https://github.com/google/identity-toolkit-python-client. p12_file =

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

Is Google Identity Toolkit (v3) compatible with GAE/python sandbox?

眉间皱痕 提交于 2019-12-10 10:33:17
问题 I'm working on a python GAE app for a web site and I'm trying to get federated login going on it. According to the Identity Platform choosing guide the best solution for a web site appears to be the Google Identity Toolkit (web). Went through all the related docs I could find then moved on to the tutorials, where I hit a bump - installing the identity-toolkit-python-client package failed with C compilation errors related to a cffi library, similar to this one: # python -m pip install identity

Google identity toolkit returns “Backend error”

荒凉一梦 提交于 2019-12-08 05:18:59
问题 Our application using google-identity-toolkit for authentication is receiving a 500 "backendError" from the verifyAssertion API. This occurs about 30% of the time and started happening about 1 week ago. 70% of the time the call succeeds. Our app has not changed in 6 months. Is there a broken server out there in the pool somewhere? Error message: { "error": { "errors": [ { "domain": "global", "reason": "backendError", "message": "Backend Error" } ], "code": 500, "message": "Backend Error" } }

Google identity toolkit returns “Backend error”

岁酱吖の 提交于 2019-12-08 00:48:31
Our application using google-identity-toolkit for authentication is receiving a 500 "backendError" from the verifyAssertion API. This occurs about 30% of the time and started happening about 1 week ago. 70% of the time the call succeeds. Our app has not changed in 6 months. Is there a broken server out there in the pool somewhere? Error message: { "error": { "errors": [ { "domain": "global", "reason": "backendError", "message": "Backend Error" } ], "code": 500, "message": "Backend Error" } } 来源: https://stackoverflow.com/questions/32193089/google-identity-toolkit-returns-backend-error

Could we add our menu items in Gitkit Starter kit “Sign In cum User Info ” ( #navbar )?

放肆的年华 提交于 2019-12-07 19:34:38
问题 Could we add our menu items in Starter kit Gitkit NavBar ? There are two list items in the drop down : Manage Account and Sign Out . Is it possible to add a third option with a URL link ( say like Update Profile ) ? The html for the #navbar gets loaded through Javascript code of Gitkit. I use GAE Python. Possible solutions which I could think of are : After my webpage loads completely, I could add my own <li> items to the list of dropdown menu provided by #navbar . Or Write a custom "Sign In

Could we add our menu items in Gitkit Starter kit “Sign In cum User Info ” ( #navbar )?

冷暖自知 提交于 2019-12-06 13:28:09
Could we add our menu items in Starter kit Gitkit NavBar ? There are two list items in the drop down : Manage Account and Sign Out . Is it possible to add a third option with a URL link ( say like Update Profile ) ? The html for the #navbar gets loaded through Javascript code of Gitkit. I use GAE Python. Possible solutions which I could think of are : After my webpage loads completely, I could add my own <li> items to the list of dropdown menu provided by #navbar . Or Write a custom "Sign In cum User Info " ( #navbar ) widget. Is there a better and simpler approach ? MY REQUEST TO GITKIT TEAM

How to integrate Google Identity Toolkit with a single webpage app (e.g. GWT)

眉间皱痕 提交于 2019-12-06 12:01:09
问题 I need to integrate Google's identitytoolkit (Google's identitytoolkit) with my Google webtoolkit (GWT) application. However rendering the gitkit signInButton or widget is already not straightforward because the way to do it is linked to "window.onload". And I need to render the widget at a later moment. I managed to do it (see below), but I am not happy with this and I wonder if someone else found a better way of integration. private native void showGitKitWidget() /*-{ $wnd.google