Hello,
I would like to know if there is a way to programmatically start openvpn client and pass username/password to connect to the server. I am trying to make this work from a custom web page to implement single sign-on capability. So essentially, instead of user launching the openvpn client and providing username/password in the credentials box, i would like to invoke the client and pass the credentials using some API from the web page when user clicks on a link. Is this feasible? Any pointers to client side APIs (if exists) would also be useful.
Thanks
Ability to programmatically authenticate openvpn client
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Apr 22, 2013 2:51 pm
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Ability to programmatically authenticate openvpn client
use the management API for this; the latest openvpn client for windows uses it, and so does NetworkManager; grab the sources for either to find out how they did it.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Apr 22, 2013 2:51 pm
Re: Ability to programmatically authenticate openvpn client
Thank you. This was very helpful.