google / identity-toolkit-java-client

Google Identity Toolkit client library for Java
Apache License 2.0
37 stars 27 forks source link

Errors on RpcHelper#getAccountInfo(String idToken) #9

Closed jiangwei1221 closed 9 years ago

jiangwei1221 commented 9 years ago

Calling this method gets the following exception:

com.google.identitytoolkit.GitkitClientException: Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup. at com.google.identitytoolkit.RpcHelper.checkGitkitException(RpcHelper.java:346) at com.google.identitytoolkit.RpcHelper.invokeGitkitApi(RpcHelper.java:272) at com.google.identitytoolkit.RpcHelper.getAccountInfo(RpcHelper.java:118) at com.google.identitytoolkit.GitkitClient.getUserByToken(GitkitClient.java:180)

The method should call invokeGoogle2LegOauthApi("getAccountInfo", params) instead to send an access token.

dereksalama commented 9 years ago

Looks like this issue was fixed by this commit.