openconnect-sso icon indicating copy to clipboard operation
openconnect-sso copied to clipboard

"Keys" being pressed in authentication window

Open Paecificjr opened this issue 4 years ago • 4 comments

Hello all,

I fired up openconnect-sso today for the first time, so I have very little history with it. I'm trying to connect to my school's vpn server from Manjaro. After the window is opened it seems to have buttons pressed continually and I am unable to actually login. The server is vpn.iastate.edu.

Any thoughts?

Paecificjr avatar Aug 20 '20 16:08 Paecificjr

I think it's an issue with the autologin. Is there a way to disable it?

Paecificjr avatar Aug 20 '20 16:08 Paecificjr

you can remove or adjust the autofill_rules section from ~/.config/openconnect-sso/config.toml

Up until now it was no problem but I think I'll provide more conservative defaults in the future.

vlaci avatar Aug 21 '20 09:08 vlaci

Just had the same issue, my org has a custom SSO page so the default autofill rules weren't working and wouldn't allow me to type anything into the fields. But adjusting the rules (changing type=email to id=username) fixed the problem for me.

Would probably be good to mention the autofill config in the README as I imagine most places using a custom SSO page will have this problem, and the autofill is a really useful feature once you have configured it correctly.

adam-nielsen avatar Sep 28 '20 03:09 adam-nielsen

I tried @adam-nielsen fix after inspecting the login form and confirming its fields ids but the issue remained.

What solved partially solved the issue and allowed me to enter my credentials manually was to remove all the rules from config.toml:

[auto_fill_rules]

And start the vpn without the username option:

openconnect-sso --server vpn.mydomain.com

marcelopm avatar Jan 19 '21 01:01 marcelopm