I’m trying to set up a VPN to my workplace, which requires Oauth2 and 2FA to connect. I have a selectable option in the popup to open the connection with https://vpn.myinstitution.edu, but it doesn’t open a browser window for the authentication. (It used to, but I had other issues with it and ended up using the Cisco client, but that has its own issues, so if I can get this working, it would be preferable.) There is an openconnect-sso script loose in the world, but it doesn’t seem to be packaged for Fedora. It would be especially nice if it were integrated with NetworkManager.
It’s hard to tell which popup you’re seeing and what exactly you’ve tried.
Cisco end-points typically want to be greeted by an AnyConnect client. The Arch wiki recommends setting user agent to something like AnyConnect Linux_64 4.10.07061; for my uni’s endpoints AnyConnect sucks, OpenConnect rulez works just as well, though without sso. Are you sure you need that script?