Hi,
Here's what I did -
LDAP + post-auth have been working great for some time now. We recently decided to add MFA. I enabled the Google Authenticator from admin UI. Used a non-admin user to test the following. Went to client website server, logged in, scanned qr and clicked the 'I scanned the code' button, was redirected to
https://openvpnserver:943/?src=connect&relogin_with_google_auth=true to relogin using google authenticator. I add username and passwd and click on go, now instead of asking for google authenticator code it just takes me to download page for openvpn connect - 'Please click here to continue to download OpenVPN Connect. You will be automatically connected after the installation has finished.'
Next I tried downloading the user profile from the client web server. The profile has 'auth-user-pass' and 'static-challenge "Enter Google Authenticator code"' as expected. Now, if I enter username, passwd and code, server replies 'Google authenticator must be activated for the user'. If i don't enter the code, I can connect.
The server's confdba has this "vpn.server.google_auth.enable": "true" tho.
I am really confused here about why is the server not acknowledging GA.
Thank you.