keepassxreboot / keepassxc-browser

KeePassXC Browser Extension
GNU General Public License v3.0
1.78k stars 188 forks source link

Does not fill password on AWS login page #1970

Open ribtoks opened 1 year ago

ribtoks commented 1 year ago

Expected Behavior

After clicking on the "green KeePassXC icon" in the password field, password is filled in.

Current Behavior

Login username is entered, but when going to the 2nd screen with password, it does not work. When clicking on it, icon disappears, password is not entered.

If account is selected from browser's extension context menu, password is also not filled in.

Possible Solution

Only when selecting "Fill password" from the context menu, it works.

Steps to Reproduce (for bugs)

  1. Go to https://aws.amazon.com/ and start logging in
  2. Click on the KeePassXC icon in the Login field -> navigate to the 2nd step
  3. Click on the KeePassXC icon in the Password field -> nothing happens

Debug info

KeePassXC - 2.7.6 KeePassXC-Browser - 1.8.7 Operating system: Mac, Linux (both) Browser: Firefox (latest and greatest)

varjolintu commented 1 year ago

I have no problems with the site. Make sure your entry URL is https://signin.aws.amazon.com or similar.

If you still have issues, enable Debug Logging from the extension and copy paste the JavaScript console log here from the Web Developer Tools.

ribtoks commented 1 year ago

@varjolintu Look, I have this on 2 different laptops - 1 with latest macOS and a personal one with Ubuntu and it never worked for the last many years (maybe 4?) as I'm using this otherwise wonderful software bundle (KeePassXC + browser add-on). It's just this website. Other websites, that I'm using, do work, including with multiple accounts per site.

image

Peek 2023-08-26 08-36

varjolintu commented 1 year ago

Do you have Use predefined sites for compatibility. enabled in your extension settings?

ribtoks commented 1 year ago

Yes, Use predefined sites for compatibility. option is enabled (I also can see signin.aws.amazon.com in the list of "predefined sites")

varjolintu commented 1 year ago

Can I get the debug logs? The same page works just fine for me. Have you tried to fill the password from the context menu?

ribtoks commented 1 year ago

As I mentioned in the issue description, "Fill password" from the context menu does work. Clicking on the icon does not. Looking at debug logs myself, is it possible that KeePassXC thinks this is already TOTP screen, not the password screen?

image

ribtoks commented 1 year ago

Don't want to attach another gif, but when I click "Sign in" after pre-selecting the username and I'm redirected to the page 2 where I need to enter the password, KeePassXC Browser add-on logs that empty array is found in the "Input fields found:"

varjolintu commented 1 year ago

How are these settings in your config?

Screenshot 2023-08-26 at 9 53 11

That TOTP error is not relevant, although it's related to the settings above. I think this issue would definitely need some debugging, but for now I cannot reproduce this.

EDIT: I just noticed (and remembered) that the password page has a different URL from the login page. You should add https://amazon.com or https://www.amazon.com to the Additional URL's list of your entry.

ribtoks commented 1 year ago

Just double checked, password page has the same URL (https://signin.aws.amazon.com/signin) and it's not an iframe.

UPD. Adding additional URLs did not help.

ribtoks commented 1 year ago

Settings report image

varjolintu commented 1 year ago

Another thing you can try is:

This should also work.

ribtoks commented 1 year ago

Sadly references trick did not work :(

They both were visible in the username field, but the password field behavior was the same - icon disappears.

Thank you for trying to help me, btw.

varjolintu commented 1 year ago

I'd also suggest you to try another browser if the same happens there.

otonoton commented 6 months ago

I have the exact same problem. Green icon disappears when you click it, but context menu fill in works. Already using https://signin.aws.amazon.com.