SSO web authentication process

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
atoy40
OpenVpn Newbie
Posts: 3
Joined: Fri Apr 29, 2022 8:41 am

SSO web authentication process

Post by atoy40 » Fri Apr 29, 2022 8:49 am

Hello,

we're implementing SSO authentication by using the new 2.5 feature (client pending + WEB_AUTH) but this is not very well documented.
First,: it seems impossible to configure a profile without username and password (username is mandatory when saving the profile), but by definition, there is no login/pass to setup in the client when using SSO, because they'll be provided trough the SSO login form. Any workarround ? (i"'ve seen in the viscosity client an option to disable login/passwd per profile)
then, on the webview itself laaunched by openvpn connect, is there anything to do, when auth process is done, to close the webview and returns to the client UI ? may be trought a window.postMessage handled by openvpn connect ?

thanks
Anthony.

mkrauser
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 01, 2022 4:35 pm

Re: SSO web authentication process

Post by mkrauser » Mon Aug 01, 2022 4:39 pm

Hey atoy40,

I'm also trying to implement SSO with OpenVPN. Can you share details of your config?
What to do within the web-view is described here:

https://github.com/OpenVPN/openvpn3/blo ... webauth.md

But I did not even manage to open the web-view correctly. I'm sending the WEBAUTH-Response, but so far the client does not open the url.

/Matthias

atoy40
OpenVpn Newbie
Posts: 3
Joined: Fri Apr 29, 2022 8:41 am

Re: SSO web authentication process

Post by atoy40 » Thu Jan 26, 2023 5:11 pm

@mkrauser, are you using a client that support WEBAUTH, like openvpn-connect ?

Anthony.

Post Reply