Setup Two-Factor Auth With OTP

This forum is for general conversation and user-user networking.
Post Reply
missmansirao
OpenVpn Newbie
Posts: 2
Joined: Wed Nov 22, 2017 5:57 am

Setup Two-Factor Auth With OTP

Post by missmansirao » Wed Nov 22, 2017 6:20 am

I just setup two-factor auth with OTP, which is awesome... however I noticed that ovpn_otp_user is not setting the -i (issuer) option. This results in a random label like a12345678 being listed in Google Authenticator... where ideally this should be something like company name

Having an optional OVPN_COMPANY environment var, and then passing that as -i $OVPN_COMPANY with ovpn_otp_user would be a nice addition.

Post Reply