Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would openconnect (GP) work with Azure AD and Microsoft Authenticator App? #137

Closed
stipx opened this issue Nov 18, 2018 · 7 comments
Closed
Labels

Comments

@stipx
Copy link

stipx commented Nov 18, 2018

Hi,

at our company our IT department is switching to Azure AD with Microsoft Authenticator App (in notification mode). I would suspect that an URL is polled which returns the status of the auth app. Basically the client would need the information if the approval button got clicked at the app.

Has somebody any experience with openconnect (wich global protect) and such solutions?

Thanks

@stipx stipx changed the title Would openconnect work with Azure AD and Microsoft Authenticator App? Would openconnect (GP) work with Azure AD and Microsoft Authenticator App? Nov 18, 2018
@dlenski
Copy link
Owner

dlenski commented Nov 24, 2018

First of all, I know nothing about Azure AD, and can't keep up with the explosion of federated single-sign-on providers out there. Please point other users to relevant technical documentation of how these work, if possible. Seems that Azure AD uses SAML like most other services: https://docs.microsoft.com/en-us/azure/active-directory/develop/single-sign-on-saml-protocol

Based on the way that other similar services work (Okta in particular, SAML in general), you would need some kind of script to do the HTTPS-based "authentication dance" and pass the resulting authentication tokens to openconnect. See #116 and #118 and #122 for more discussion.

Lastly, is this question actually specific to the GlobalProtect protocol? Probably not… in which case it's more appropriate for the openconnect-devel list.

@stipx
Copy link
Author

stipx commented Nov 28, 2018

Thanks Dan for pointing me in the right directions. We'll see how this whole thing at our company will go further. There are currently some discussions going on regarding this topic.

And most likely I'll need to create a script for the auth dance. Let's see.

@stipx
Copy link
Author

stipx commented Dec 4, 2018

I just tried it and it works :)

@stipx stipx closed this as completed Dec 4, 2018
@JamieMagee
Copy link

@stipx Can you share your script?

@stipx
Copy link
Author

stipx commented Dec 4, 2018

@JamieMagee there is no script. Basically it works like this:

  • The login POST call is done
  • The call waits until the notification in the auth app got answered
  • the call returns with a successful login if "approve" was answered
  • openconnect continues as expected

So my whole concerns were invalid.

@dlenski
Copy link
Owner

dlenski commented Dec 4, 2018

@stipx, thanks for the explanation and the useful reference.

This is similar to how Symantec VIP access works in its "smartphone app mode"; it sends an "Approve/Deny?" request to the user's smartphone when the user tries to login, and then the login server blocks until the user responds on the smartphone.

@rlueder
Copy link

rlueder commented May 27, 2020

My company recently switch from Okta to Microsoft Authenticator causing the standard Gnome VPN client to not connect anymore, for those with the same issue @vlaci's https://github.com/vlaci/openconnect-sso solved the issue.

Repository owner locked and limited conversation to collaborators Oct 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants