Comment 13 for bug 1496773

Revision history for this message
Niklas Wenzel (nikwen) wrote :

Alberto, thank you for the example!

I had already suspected that we needed to pass a GVariant to ag_auth_data_get_login_parameters() but I couldn't figure out how to properly build that one and which key to use when adding the SIGNON_POLICY_NO_USER_INTERACTION value. I guess I need to read a proper introduction to Glib at some point to get a proper overview of how it works. That said, I learned a lot from the example. Thanks again!

I implemented this in https://code.launchpad.net/~nikwen/account-polld/no-user-interaction/+merge/272309. I've tested normal operation and that seems to work fine. I haven't tried to reproduce this bug though. :)