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

cookies file for auto-fill? #140

Open
beville opened this issue Sep 2, 2023 · 0 comments
Open

cookies file for auto-fill? #140

beville opened this issue Sep 2, 2023 · 0 comments

Comments

@beville
Copy link

beville commented Sep 2, 2023

I was recently using Ubuntu 20.04 and openconnect-sso 0.7.3 to connect to my company VPN via Okta.

openconnect-sso would save a "Cookies" file under ~/.local/share/openconnect-sso/QtWebEngine/Default. I was able to use a sqlite brower to go in and add my username such that it would always be pre-populated in the login dialog. (I was also able to set another cookie to always push the 2FA via notification)

I recently upgraded my OS to Ubuntu 22.04, and openconnect-sso 0.8.1, and the Cookies file now longer is created, near as I can tell.

As an alternative, I've tried to use the config.toml file to auto-fill, but never could get it to work with Okta. Such as:

[[auto_fill_rules."https://*"]]
selector = "input[name=username]"
fill = "john.doe"

I've even tried a test like this to fill in any input field, but it still doesn't work:

[[auto_fill_rules."https://*"]]
selector = "input[type=text]"
fill = "FOOBAR"

Trying to set the name for profile also doesn't seem to do anything.

And thoughts? Maybe the issue is with Okta not working well with this wrapper for this feature?

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