keepasshttp-connector icon indicating copy to clipboard operation
keepasshttp-connector copied to clipboard

Password fields don't get filled in when password field is on a seperate page

Open storm49152 opened this issue 7 years ago • 3 comments

I'm having another issue that may have the same root cause as #9. However, it's not with http auth hence the new issue. This is on Waterfox-55.0.1/Linux.

If you open https://www.security.nl/, in the top-right there is a link that's called "Inloggen". (Sorry, it's a Dutch website but I'm sure there are other websites that use a similar technique, and at least it's publicly accessible.) When you click that link, an overlay with the login form is shown. I have 1 account for this website.

  • PassIFox used to find the credentials in KeePass and fill in the form.
  • ChromeIPass does not fill in the credentials. Its icon in the toolbar is showing a red square; I don't know what that means, sometimes it's there, sometimes it isn't. When I click the icon and then the button "Redetect credential fields", the login credentials are found and the form is filled in. If I repeat this action, ChromeIFox still doesn't find the credential fields by itself: I have to keep pushing the button. Things do not change if I use the "Choose own credential fields for this page" button.

Then I tried the same thing with https://login.yahoo.com/, for which I have 2 accounts. This website in my opinion is worse because the user/pass fields are on a different page and thus use a different submit form: when I first click my account (that is apparently stored somewhere) a page is shown that only contains the username field. After I click the "Next" button, another page is shown where I can enter the password.

  • Again, PassIFox worked fine and I was sort of impressed about that. It did not even matter which of the 2 accounts I was using; it did the correct thing. (I'm not saying that to p*ss you off; I just want ChromeIFox to be as good as I think PassIFox was until it started crashing my browser. ;-) It's just unfortunate I cannot actually help doing that.)
  • ChromeIFox finds the username entry in KeePass and fills in the form. I click the "Next" button to move on to the page with the password form. ChromeIFox does not find this information and/or does not fill in the form. When I click the icon, I can select which KeePass entry I want to use and ChromeIPass fills in the form with the correct password.

Interesting field on the first form (username):

<input class="phone-no " type="text" name="username" id="login-username" tabindex="1"
                        value="[my_user_name]"
                         [skip_the_rest] />

Interesting fields on the second form (password):

<input type="hidden" name="displayName" value="[my_user_name]" />
<div class="hidden-username">
    <input type="text" tabindex="-1" aria-hidden="true" role="presentation"
        autocorrect="off" spellcheck="false"
        name="username" value="[my_user_name]" />
</div>
<input type="password" id="login-passwd"  name="password" placeholder="Password" autofocus/>

storm49152 avatar Sep 16 '17 07:09 storm49152

https://www.security.nl/ - this is known. any username/password field that isn't visible upon page load will not get filled automatically. i am looking into getting this fixed.

https://login.yahoo.com/ - i believe i broke this with #4. i'll look into getting this fixed too.

smorks avatar Sep 16 '17 14:09 smorks

i'm going to split this issue into a second, just to track them better.

smorks avatar Sep 16 '17 14:09 smorks

The extension does NOT work at all on Google login (https://accounts.google.com/) but it works FINE for Yahoo (https://login.yahoo.com/). Not sure it is the same issue as on this thread.

(Tested both passifox-2.8.6 & keepasshttp_connector-1.0.0 on Firefox 55.0.3 and 56.0 x64.)

imkc1127 avatar Sep 29 '17 02:09 imkc1127