Comment 12 for bug 1496773

Revision history for this message
Alberto Mardegan (mardy) wrote :

Thanks Niklas for looking into this!
In accounts/account-watcher.c, in the account_info_login() function, there is a line calling ag_auth_data_get_login_parameters(), which gets passed NULL as a second parameter. Instead of passing NULL, we should build a GVariant containing a dictionary of extra parameters which we want to use.

You can see a similar example here:
https://github.com/GNOME/empathy/blob/master/libempathy/empathy-uoa-auth-handler.c#L177

The only difference is that instead of SIGNON_POLICY_REQUEST_PASSWORD you should use SIGNON_POLICY_NO_USER_INTERACTION.