russdill / juniper-vpn-py

Python Juniper VPN Authenticator
GNU Lesser General Public License v2.1
103 stars 80 forks source link

Handle preauth and postauth popups #17

Open enikulesku opened 8 years ago

enikulesku commented 8 years ago

I'm using Junos Pulse VPN to access corporate network. The server configured to confirmation forms (agree with corporate terms of use...) before and after login page. Current version of juniper-vpn-py doesn't handle it. I found code that handle only preauth confirmation (https://github.com/dobesv/juniper-vpn-py/commit/082ac84d7a08dd45155b69c54005980bf6cd363d#diff-0d6d2b6717d65654e57f97bd51baa35aR118) but it is partial solution in my case. I've added almost the same solution for postauth confirmation.

rbeede commented 7 years ago

Please merge to resolve issue #19

qralston commented 6 years ago

I agree; this patch handles the pre-auth acknowledge form nicely. Could it be merged, please?