Attaching a trivial patch that fixed the problem for me. Will push it upstream shortly.
** Patch added: "fix_2fa.patch" https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1322728/+attachment/5002972/+files/fix_2fa.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1322728 Title: VPN Connection Failed With 2 Factor Authentication To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1322728/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs