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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1496773

Title:
  account-polld tries hard to open a trust session and fails repeatedly

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1496773/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to