On 07/29/2013 04:40 PM, 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'>}
It's a bit odd that there is no refresh token. I've added HTTP traffic
debugging to the plugin, so we can see what is exactly being sent and
received.
Also, enabling debug printouts for GTK UI should help to find out what
is failing for Patrick exactly.
Alex