Closed GoogleCodeExporter closed 9 years ago
According to Google's OAuth documentation, for installed applications you must
use anonymous/anonymous for the consumer key and secret. Specifying consumer
key and consumer only works for the web application running on the domain that
matches the consumer key. In your case, that would be "mydomain.com".
That said, please check the content of the error message by adding something
like this code:
try {
ReuseAuthTest1 authTest1 = new ReuseAuthTest1();
} catch (HttpResponseException e) {
System.out.println(e.response.parseAsString());
throw e;
}
If the error message does not clearly explain what the problem is, please file
a bug on http://code.google.com/p/gdata-issues/
Original comment by yan...@google.com
on 11 Oct 2010 at 12:30
Thanks yan...@google.com
IT works perfectly now, and the tip of
"System.out.println(e.response.parseAsString());" shows the error message much
more clear.
Thanks again..!!
Original comment by carlosec...@gmail.com
on 12 Oct 2010 at 1:07
Original comment by yan...@google.com
on 21 Oct 2010 at 3:11
Original issue reported on code.google.com by
carlosec...@gmail.com
on 11 Oct 2010 at 11:23Attachments: