Need to set WebView cookie accept policy for Duo remember me
When using the new WebView for SAML globalprotect with Duo push, it works great for me, except for Duo's "Remember me for 7 days" checkbox.
If I click that checkbox, the whole form becomes disabled and I can't submit.
The checkbox does work when I use this alternative method: https://github.com/dlenski/gp-saml-gui .
Comparing the two projects' source code, I noticed that NetworkManager-openconnect does not set the cookie accept policy.
When I add this line to main.c
, the checkbox works correctly:
webkit_cookie_manager_set_accept_policy(cm, WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS);
I'll submit a merge request shortly.
Edited by Robin A. Meade