dlenski / gp-saml-gui

Interactively authenticate to GlobalProtect VPNs that require SAML
GNU General Public License v3.0
293 stars 66 forks source link

'Unexpected 200 result from server' on openconnect #90

Open stheine opened 7 months ago

stheine commented 7 months ago

the eval $( gp-saml-gui --portal --clientos=Windows mycompanyportal ) command succeeds. I have the cookie and in the environment.

then I'm making the call echo ... | sudo openconnect --authgroup="France North" --protocol=gp --user=... --os=win --usergroup=portal:prelogin-cookie --passwd-on-stdin mycompanyportal and that ends with:


Failed to complete authentication```

I cannot make the `gp-saml-gui` to the gateway, that one brings up the SAML window with `Sorry, but we’re having trouble signing you in. ... Application ... was not  found in the directory`.

I wonder how I can troubleshoot this further?