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

Autofill username/password on site login page but do not autofill on sub-page within site #407

Open
dataflownow opened this issue Nov 18, 2021 · 1 comment

Comments

@dataflownow
Copy link

I'm documenting this here in case it helps others.

In KeePass, I have credentials saved for https://www.example.org. When I browse to https://www.example.org/Login.aspx, ChromeKeePass and KeePassHttp autofill username and password 🙌

However, on a sub-page within the site (https://www.example.org/ControlMaster/EditUsers.aspx), where I modify settings, there is a user password reset dialog which was also being detected and KeePassHttp was autofilling the password. But that was generating an error when I submitted because I was not trying to reset the user password, I was modifying other settings for the user.

So, how to allow KeePassHttp to autofill my main login to the site, but not on this sub-page within the site?

My solution was to enter two entries in KeePass, one for
https://www.example.org
where I store my main username and password,
and another entry for
https://www.example.org/ControlMaster/EditUsers.aspx
which is an entry with only URL field data, and blank for username and password

I also have "Return only best matching entries for an URL instead of all entries for the whole domain" option checked in KeePassHttp Options.

This seems to be working, telling KeePassHttp to autofill on the main site, but not (or fill in blank values) on the sub-page.

This issue is resolved. I know it will help me in the future when I have to set up KeePassHttp again. I hope it helps someone else.
🙏

@dataflownow dataflownow changed the title Autofill username/password on main site but do not autofill on sub-page within site Autofill username/password on site login page but do not autofill on sub-page within site Nov 18, 2021
@dataflownow
Copy link
Author

UPDATE:
This method was blanking out a username field which caused me to save a blank username to our database application. Be careful. We try to be tricky but sometimes it bites us.

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