On Wed, 2013-07-24 at 08:04 +0000, Valluri, Amarnath wrote:
>As a first step, I compiled accounts-sso.libgsignon-glib,
accounts-
>sso.gsignond and accounts-sso.gsignond-plugin-oa from
>https://code.google.com/p/accounts-sso/source/checkout
>
>I had to patch gsignond slightly to fix autotools build issues with out-
>of-tree compilation. Compilation of accounts-sso.gsignond-plugin-oa also
>required one tweak. Patches attached.
[Amarnath] Thanks for your patches, I will go through them.
>
>I'm now at the stage where files are installed. What's next?
[Amarnath] That's great, but you need even signonui-gtk, which is not yet hosed at
code.google.com.
I will share the private repo url.
>
>Running gsignond-oauth2-example with (or without) gsignond running
>promply segfaults (missing error handling somewhere?):
[Amarnath] Yes, this was one of the issue uncovered in our testing, what Alex was mention
in earlier mail.
We fixed them, but those patches are not reviewed/merged to master yet. So I would
request you to work
with 'devel' branches of gsignond/gsignond-plugin-oa for time being(till people
are back from vacation :)).
I've done that, but it's still crashing the same way.
The root cause is this:
/home/pohly/src/accounts-sso/accounts-sso.gsignond-plugin-oa/examples/gsignond-oauth2-example.c:
In function ‘main’:
/home/pohly/src/accounts-sso/accounts-sso.gsignond-plugin-oa/examples/gsignond-oauth2-example.c:134:39:
warning: initialization from incompatible pointer type [enabled by default]
GSignondDictionary* token_cache = make_token_cache();
make_token_cache() returns a GVariant, not a GSignondDictionary.
This can't work, can it?
You fixed that for the oauth1 example, but not for the oauth2 one that I
am trying to use.
--
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.