Page 1 of 1

Oauth2 Token issue - Google API

Posted: Sat May 25, 2013 9:54 pm
by PatrickMoore

I am getting bad request when trying to retrieve the token during Oauth2 authentication with Google api's. When I test the service it works, but when I assign the service to a page and test it gives me that error. The app is shared with support already due to another issue that I had earlier. I am puzzled as to why the service works fine and I get a token when testing in the Appery tool, but when testing in the app it does not?

I have done this with the proxy on in the web test and have compiled and tested on a device with the same results.


Oauth2 Token issue - Google API

Posted: Sat May 25, 2013 9:55 pm
by PatrickMoore

App is named Thoughtful3 in my list


Oauth2 Token issue - Google API

Posted: Sat May 25, 2013 10:08 pm
by Illya Stepanov

We will test and try to figure out what the problem is. We'll update.


Oauth2 Token issue - Google API

Posted: Sat May 25, 2013 10:38 pm
by Illya Stepanov

Patrick - what kind of an error do you get?


Oauth2 Token issue - Google API

Posted: Mon May 27, 2013 2:48 pm
by PatrickMoore

I get a 400 - Bad Request error. It works fine when testing the service in the Appery tool, but not when testing in the app itself. That is what seems so odd to me.


Oauth2 Token issue - Google API

Posted: Mon May 27, 2013 5:25 pm
by Maryna Brodina

Hello! Do not use for parameters value urlencoded string. String will be urlencoded automatically.