Open diegoxcn opened 1 year ago
Recently, I started hitting this issue too
This problem occurs for me as well. ASA was upgraded from 9.12.4 to 9.18.3.
I am experiencing this issue on Ubuntu 22.04 as well.
Aaand same issue with 0.8.0. Microsoft Azure-backed 2FA, if that matters.
"me too", on arch linux from aur, also using MS authenticator for 2FA. Might be related to having already authenticated with the authenticator in the past 24 hours, so it bypasses the expected 2FA page and would perhaps be fine if it didn't give up and exit ?
$ openconnect-sso --version openconnect-sso 0.8.0
Edit: Note that it works fine if not passing the --user arg for auto form-fill Edit - 2: removed due to red-herring Edit - 3: It appears there is an CSRF check that is triggering when trying to auto-submit the form. I commented out the following lines from browser/webengine_process.py so that at least the credentials get autofilled from my wallet, I just have to click the submit button for it.
# elif rule.action == "click":
# statements.append(
# f"""var elem = document.querySelector({selector}); if (elem) {{ elem.dispatchEvent(new Event("focus")); elem.click(); }}"""
# )
removing that handler from get_selectors was enough of a workaround for me.
removing that handler from get_selectors was enough of a workaround for me.
Can confirm. Works for me as well. Thank you for debugging and documenting your findings, @dlm21 !
Hi Team,
Cheers.