juniper-vpn-py
juniper-vpn-py copied to clipboard
Handle preauth and postauth popups
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.
Please merge to resolve issue #19
I agree; this patch handles the pre-auth acknowledge form nicely. Could it be merged, please?