2FA for Fortinet VPN doesn't work after upgrading from Ubuntu 23.04 to 23.10 when you store user password
Old connections created before and new ones don't ask for 2FA and fail immediately.
Looks like the problem only exist if you store the user password in the config. If you don't save the password, you get a window which asks for password and token.
network-manager-fortisslvpn-gnome/mantic,now 1.4.0-0.1 amd64
network-manager-gnome/mantic,now 1.32.0-3ubuntu1 amd64
GNOME Shell 45.0
oct 05 15:57:34 hostname NetworkManager[1287]: <info> [1696514254.6131] vpn[0x55f7bf143fb0,c4bdbf39-1bbc-4d90-be4e-bf05d94324ba,"VPN Fortinet"]: starting fortisslvpn
oct 05 15:57:34 hostname NetworkManager[1287]: <info> [1696514254.6134] audit: op="connection-activate" uuid="c4bdbf39-1bbc-4d90-be4e-bf05d94324ba" name="VPN Fortinet" pid=2859 uid=1000 result="success"
oct 05 15:57:34 hostname NetworkManager[23686]: INFO: Connected to gateway.
oct 05 15:57:34 hostname NetworkManager[23686]: ERROR: Failed to get PIN: GDBus.Error:org.freedesktop.NetworkManager.Settings.Connection.Failed: Secret 'user__vpn.VPN.ch_2fa' is not supported
oct 05 15:57:34 hostname NetworkManager[23686]: ERROR: No token specified
oct 05 15:57:34 hostname NetworkManager[23686]: ERROR: Could not authenticate to gateway. Please check the password, client certificate, etc.
oct 05 15:57:34 hostname NetworkManager[23686]: INFO: Closed connection to gateway.
oct 05 15:57:35 hostname NetworkManager[23686]: INFO: Logged out.
Edited by Ro De