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

Using openconnect-sso as python library #167

Open
anishsane opened this issue Mar 28, 2024 · 0 comments
Open

Using openconnect-sso as python library #167

anishsane opened this issue Mar 28, 2024 · 0 comments

Comments

@anishsane
Copy link
Contributor

The intention is to split the SAML auth (that does not need admin rights) and openconnect invocation (that needs admin rights).

The openconnect invocation can be offloaded to a perpetual running priviledged daemon or a windows service.

The python application will import openconnect_sso and get the auth information. (Similar to openconnect-sso --authenticate=json output)
This auth info will then be conveyed to the privileged daemon/service that will launch the openconnect binary.

This mimics the Cisco anyconnect application's behavior, without the idiocies of the Cisco app.

I tried using openconnect-sso --authenticate=json, but it also puts a lot of debug logs (mainly from webengine_process.py) on stdout and the auth json also on stdout, which is an unnecessary hassle to separate.

Since openconnect-sso is written in python, the ability to import it as a module is more pythonic way to do this, IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant