On Mon, 2013-07-29 at 16:40 +0300, Amarnath Valluri wrote:
Yes, It worked for me :
-----------------------------
~/work/code.google.com/libgsignon-glib/examples
$ ./google-oauth2-example
--get-google-token=5
--client-id="796629365126.apps.googleusercontent.com"
--client-secret="3NbR94RM-DTnA81BWjiJe4TP"
Geting token
Got token :{'AccessToken':
<'ya29.AHES6ZS7RpdHAoikzv0ZdV-2xpPDUXMJkFCcaNpz6r3_G5k'>,
'TokenParameters': <@a{sv} {}>, 'TokenType':
<'Bearer'>, 'Duration':
<int64 3596>, 'Timestamp': <int64 1375105096>, 'Scope':
<'https://www.googleapis.com/auth/calendar'>}
--------------------------
The only changes i did was - RedirctURI and Scope.
It works for me, too, when using the Evolution client id/secret. It
failed when using my own one.
Hmm, after succeeded with Evolution credentials it also started to work
with my own. <shrug>
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.