oauth 2.0 - GoogleAuthException: Unknown (android)when specifying correct clientID -


I am using GoogleAuthUtil and PlusClient

When I specify my client ID I do:

  NNNNNNNNN-HHHHHHHHHHHHHH.apps.googleusercontent.com  

This gives me GoogleAuthException: Unknown as an error specified in Google API Console Customer ID is

When I specify my client ID:

  NNNNNNNNNNN.apps.googleusercontent.com  

this works is? But is not this the customer specified for my Android app? When I try to use it for OAuth, the server fails to log in using this client .... So in fact .. How do I make such a dilemma?

Resolved it using the web ID instead of Android ID which was always giving me an exception That it helps someone else solve this strange problem.


Comments