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

Non-working sites #1358

Open
varjolintu opened this issue Jun 22, 2021 · 373 comments
Open

Non-working sites #1358

varjolintu opened this issue Jun 22, 2021 · 373 comments
Labels

Comments

@varjolintu
Copy link
Member

varjolintu commented Jun 22, 2021

Please report any non-working sites to this thread instead of creating a new issue.

Provide the following info when making a report:

  1. Exact login URL and the URL of your entry or entries.
  2. Dump of console output from the page (Firefox: Tools -> Browser Tools -> Web Developer Tools / Chromium-based: Tools -> Developer -> Javascript Console). Do this only if there's KeePassXC-Browser related output.
  3. Have you tried Username-Only Detection, choosing Custom Fields etc.
  4. Are you using Autofill instead of the manual one.
  5. Does it affect the Username Icon, Autocomplete Menu, Popup Menu?
  6. Version 1.8.0 and later, enable Debug Logging from the settings and inspect the pages's JavaScript console. It should show all input fields detected.

Please note that sites that require credentials to be made are with lower priority.

Separately reported non-working sites:
#803 - Nextcloud timeout password prompt
#879 - Bank of the Philippine Islands: https://online.bpi.com.ph/portalserver/onlinebanking/sign-in
#1269 - Mailgun: https://login.mailgun.com/ (Needs an exception for the password field)
#2045 - https://ibank.bog.ge/
#2047 - Flatex: https://www.flatex.de
#2060 - Runtastic: https://www.runtastic.com/en/login
#2109 - Yahoo new password fill problem

@keunes
Copy link

keunes commented Jul 28, 2021

Not sure if it's a not-working site, or rather a feature request:
https://www.ethias.be/myethias/public/nl/connexion hides the password field by default:
afbeelding
As a consequence, the fill-and-submit button doesn't show up. I can activate the 'Only username option' - then the fill-and-submit button shows up on page load, but only fills the username and it activates the password field which then stays empty because I indicated only a username field should be considered.
So I'm unsure if this is a 'site not working', or if I should create a feature request to fill hidden password fields :)

@varjolintu
Copy link
Member Author

So I'm unsure if this is a 'site not working', or if I should create a feature request to fill hidden password fields :)

We don't want to fill any hidden password fields.

@keunes
Copy link

keunes commented Jul 28, 2021

We don't want to fill any hidden password fields.

Ok, thanks. Guess that makes sense. Still, there's no way I now can auto-fill-and-submit on this site.
From you reply I infer that it's not a 'non-working site' in any case, so I'll create a separate ticket to see how this site can be catered. Thanks again! :)

@stevefalco
Copy link

stevefalco commented Jul 28, 2021

I'm having a problem accessing the CUPS (common unix printing system) admin page on a Fedora Linux system. The URL is https://localhost:631/admin and I've tried specifying this in KeePassXC both with and without the admin part of the URL.

When I browse to this page, there is no initial request for a password, and that is the expected behavior:

Screenshot_20210728_102347

Then, when I click on an action, like "Add Printer", a login box pops up, but KeyPassXC-Browser doesn't appear to notice it, perhaps because the URL stays the same:

Screenshot_20210728_102441

If I attempt to "Choose custom login fields", that tool is shown behind the login box, and there doesn't appear to be any way to select the user name and password fields:

Screenshot_20210728_102508

This is not the only URL with this problem. I also see it on a Raspberry Pi running the "pi-star" Ham radio software. From the pi-star Dashboard page (no password needed), if I click on "Configuration", a login box pops up, the URL doesn't change, and KeyPassXC-Browser doesn't notice the login box.

Is there a way to make this sort of thing work?

Incidentally, when I was using the built-in Firefox password system, it was able to fill in the credentials on these login boxes.

@varjolintu
Copy link
Member Author

@stevefalco Can you use the Web Inspector to check how that dialog is inserted to the page?

@stevefalco
Copy link

Ok, here is what the admin page shows before clicking "Add Printer". I've highlighted the entry for "Add Printer":

Screenshot_20210728_113349

Once I click "Add Printer", the Inspector becomes blank!

Screenshot_20210728_113424

I've never used the inspector before, so I'm probably doing something wrong. Please give me some more "newbie" instructions and I'll get you whatever data you need. :-)

@varjolintu
Copy link
Member Author

varjolintu commented Aug 1, 2021

I've never used the inspector before, so I'm probably doing something wrong. Please give me some more "newbie" instructions and I'll get you whatever data you need. :-)

Are you sure that is not a HTTP Basic Auth dialog?

@keunes
Copy link

keunes commented Aug 1, 2021

Are you sure that is not a HTTP Basic Auth dialog?

That was my thinking also, based on the screenshot (and a touch of memory from using CUPS a long while ago). Maybe we should file a request against CUPS if they could move to an integrated log-in mechanism instead?

@varjolintu
Copy link
Member Author

Are you sure that is not a HTTP Basic Auth dialog?

That was my thinking also, based on the screenshot (and a touch of memory from using CUPS a long while ago). Maybe we should file a request against CUPS if they could move to an integrated log-in mechanism instead?

HTTP Basic Auth should still work, but for now you can only fill credentials from the extension toolbar icon.

@stevefalco
Copy link

I don't know enough about http. How would I test to see if this is a basic auth dialog?

I'm not sure what you mean by "for now you can only fill credentials from the extension toolbar icon". There is a "Redetect login fields" button when I click on the extension icon, but the button doesn't do anything for this dialog - here is what it looks like after clicking "Redetect login fields" :

Screenshot_20210801_102421

I noticed that the KeePassXC app has browser integration settings "Use this entry only with HTTP Basic Auth" and "Do not use this entry with HTTP Basic Auth". Should I select either of those?

Lastly, is there a way to turn on debugging to see what, if anything, is passed to the extension?

@christophehenry
Copy link

The new Synology login page (on v7 OS) makes KeepassXC-browser unusable. In this version, contrary to v6, they adopted a JS-based form where v6 was a plain old HTML form.

So this starts with a form with 1 input for the username:

Synology DiskStation form user

and you have to click to the next arrow to reveal the password <input>:

Synology DiskStation form password

But, somehow, they decided to do something I've never seen in webdev before. They just reuse the same <input> on the password panel and differenciate the two by mutating the syno-id property:

It takes the value username when on the username panel and the value password when on the password panel.

@stevefalco
Copy link

Regarding my issues from a week or two ago with a CUPS URL and a Pi-Star ham radio URL, it turns out these sites are using basic auth. I turned on the keepassxc-browser setting "Automatically fill in HTTP Basic Auth dialogs and submit them" and now both URLs work properly.

So keepassxc-browser doesn't even detect the login/password fields when that setting is off, but does auto-fill/auto-submit the information when that setting is on. In fact, when the setting is on, I don't even see the normal login screen - I see a little popup from keepassxc-browser instead.

Is that the expected behavior?

@varjolintu
Copy link
Member Author

Regarding my issues from a week or two ago with a CUPS URL and a Pi-Star ham radio URL, it turns out these sites are using basic auth. I turned on the keepassxc-browser setting "Automatically fill in HTTP Basic Auth dialogs and submit them" and now both URLs work properly.

So keepassxc-browser doesn't even detect the login/password fields when that setting is off, but does auto-fill/auto-submit the information when that setting is on. In fact, when the setting is on, I don't even see the normal login screen - I see a little popup from keepassxc-browser instead.

Is that the expected behavior?

Yes :) There's already an alternative implementation that shows a proper dialog on the page for HTTP Basic Auth but it's still under work.

@TESTER-sec
Copy link

https://web13.secureinternetbank.com/

Thank You, I will try it.

@jibbers42
Copy link

I can't get login fields detected for Bask Bank.

  1. Exact login URL and the URL of your entry or entries.
    https://secure.baskbank.com/MyAccount/uux.aspx#/login

  2. Dump of console output from the page (Firefox: Tools -> Browser Tools -> Web Developer Tools / Chromium-based: Tools -> Developer -> Javascript Console). Do this only if there's KeePassXC-Browser related output.
    I didn't see any related output.

  3. Have you tried Username-Only Detection, choosing Custom Fields etc.
    Custom Fields is not able to select the fields on the page. I added the site manually and turned on Improved Input Field Detection, but it didn't help.

  4. Are you using Autofill instead of the manual one.
    No autofill

  5. Does it affect the Username Icon, Autocomplete Menu, Popup Menu?
    Yes, it behaves like there are no fields on this page.

  6. Version 1.8.0 and later, enable Debug Logging from the settings and inspect the pages's JavaScript console. It should show all input fields detected.
    I didn't see any listed.

@varjolintu
Copy link
Member Author

@jibbers42 I have no good solution for this site. The input fields are inside Shadow DOM and the Improved Input Field Detection did not help. Also trying to fill manually from the context menu is interrupted by the page scripts that are trying to manipulate or check the input values.
Your best shot here is to use Auto-Type instead.

@jibbers42
Copy link

@varjolintu OK, thanks for having a look

@jibbers42
Copy link

@varjolintu I guess I don't really know what Auto-Type is. I assumed it would auto fill in my user/pass without me doing anything, but I always need to click a field popup or use the extension icon.
The app seems to have screenshot protection, but I was going to show that when I looked for the feature I already have "Enable Auto-Type for this entry" checked.

Is that all I would need to enable to try your suggestion?

@droidmonkey
Copy link
Member

Auto-type is not browser extension. Please read the user guide for more information.

@varjolintu
Copy link
Member Author

@varjolintu I guess I don't really know what Auto-Type is. I assumed it would auto fill in my user/pass without me doing anything, but I always need to click a field popup or use the extension icon. The app seems to have screenshot protection, but I was going to show that when I looked for the feature I already have "Enable Auto-Type for this entry" checked.

Is that all I would need to enable to try your suggestion?

You can try triggering the Global Auto-Type using the browser extension's context menu on the input field.

@jibbers42
Copy link

You can try triggering the Global Auto-Type using the browser extension's context menu on the input field.

Wow that worked great - I didn't know that menu item was there, thanks!

@mrtoikka
Copy link

Using the following:
keepassxc-browser 1.9.3
Firefox 130.0.1

I go to https://www.icloud.com/ and click the keepassxc-browser icon in the 'Email or Phone Number' field and I get the following response:

"Error! No logins found. https://idmsa.apple.com"

I've added https://idmsa.apple.com to the URL field for the entry in KeepassXC, and I have also added https://www.icloud.com as an additional URL in the Browser Integration section for the entry, but no luck.

Did I miss something? or is this a bug?

@TESTER-sec
Copy link

TESTER-sec commented Sep 30, 2024

Using the following: keepassxc-browser 1.9.3 Firefox 130.0.1

I go to https://www.icloud.com/ and click the keepassxc-browser icon in the 'Email or Phone Number' field and I get the following response:

"Error! No logins found. https://idmsa.apple.com"

I've added https://idmsa.apple.com to the URL field for the entry in KeepassXC, and I have also added https://www.icloud.com as an additional URL in the Browser Integration section for the entry, but no luck.

Did I miss something? or is this a bug?

I can replicate this reported issue at-will every single time using Edge.

I even enabled for www.icloud.com via the KeePassXC browser extension, and it does not fix the issue:

image

@varjolintu
Copy link
Member Author

varjolintu commented Sep 30, 2024

@mrtoikka @TESTER-sec For me the automatic allowing of Cross-Origin iframes did the job. I'll add an automatic exception for that to the Predefined Sites feature. https://idmsa.apple.com is the only URL I had on my entry.

EDIT: I've noticed some bugs with PayPal's segmented 2FA and Patreon's login page also. Gonna fix those soon, so no need to report those.

@vbeffa
Copy link

vbeffa commented Sep 30, 2024

This was working until today.

  1. Exact login URL and the URL of your entry or entries.

https://e.sfcu.org/sfcuonline/uux.aspx#/login

Entry: sfcu.org

2. Dump of console output from the page (Firefox: _Tools -> Browser Tools -> Web Developer Tools_ / Chromium-based: _Tools -> Developer -> Javascript Console_). Do this **only** if there's KeePassXC-Browser related output.

No related output.

3. Have you tried _Username-Only Detection_, choosing _Custom Fields_ etc.

Yes.

4. Are you using _Autofill_ instead of the manual one.

I tried both.

5. Does it affect the _Username Icon, Autocomplete Menu, Popup Menu_?

Nothing is detected any more.

6. Version 1.8.0 and later, enable Debug Logging from the settings and inspect the pages's JavaScript console. It should show all input fields detected.

I don't see any logging of detected input fields.

Any updates on this?

@varjolintu
Copy link
Member Author

varjolintu commented Sep 30, 2024

@vbeffa Add https://e.sfcu.org/sfcuonline/ to Site Preferences and enable Improved Input Field Detection for it. The login form is inside Shadow DOM and we support it only partially by default.

@TESTER-sec
Copy link

TESTER-sec commented Sep 30, 2024

@mrtoikka @TESTER-sec For me the automatic allowing of Cross-Origin iframes did the job. I'll add an automatic exception for that to the Predefined Sites feature. https://idmsa.apple.com is the only URL I had on my entry.

EDIT: I've noticed some bugs with PayPal's segmented 2FA and Patreon's login page also. Gonna fix those soon, so no need to report those.

I am unsure what you mean by "automatic allowing of Cross-Origin iframes."

I had to manually add https://idmsa.apple.com and configure Cross-Origin iframes. That worked to fill the User ID, but it does not resolve the fill of the password. I have to manually copy the password and paste it into the password field.

This is the same issue as I reported earlier in this thread for ADP login web pages:

#1358 (comment)

"Right-click -> Fill Password remains not functioning; I must copy the password via the KeePassX GUI and then manually paste the password"

@varjolintu
Copy link
Member Author

@TESTER-sec The URL for allowing Cross-Origin Iframes for Site Preferences is https://www.icloud.com/. What I mean by "automatic" here, is the Predefined Sites feature where we add automatic exceptions for common sites that need rules for Username-Only Detection etc.

@TESTER-sec
Copy link

TESTER-sec commented Sep 30, 2024

@TESTER-sec The URL for allowing Cross-Origin Iframes for Site Preferences is https://www.icloud.com/. What I mean by "automatic" here, is the Predefined Sites feature where we add automatic exceptions for common sites that need rules for Username-Only Detection etc.

Understood.

Because of Shadow DOM the password fill must be done manually?

I also tried various other configuration, such as enhanced field detection in the automatic exceptions, but the only thing that works (for me) is to copy the password from the KeePassXC GUI (Right-Click > Copy Password) and then paste it.

Finally, for www.icloud.com this is the only configuration that works (for me) to make User ID fill possible (but no subsequent password fill):

image

@varjolintu
Copy link
Member Author

varjolintu commented Sep 30, 2024

@TESTER-sec For Shadow DOM every element must be checked on the page to find them first, and then parse each Shadow DOM element's content. It's very time-consuming and that is why it isn't enabled by default.

I have found multiple pages that no longer work with the password fill, and I'm gonna provide a fix for all of them at the same time.

EDIT: With iCloud the password is filled if you press the Username Icon again.

@vbeffa
Copy link

vbeffa commented Sep 30, 2024

@vbeffa Add https://e.sfcu.org/sfcuonline/ to Site Preferences and enable Improved Input Field Detection for it. The login form is inside Shadow DOM and we support it only partially be default.

Thank you.

@varjolintu
Copy link
Member Author

@varjolintu I guess I don't really know what Auto-Type is. I assumed it would auto fill in my user/pass without me doing anything, but I always need to click a field popup or use the extension icon. The app seems to have screenshot protection, but I was going to show that when I looked for the feature I already have "Enable Auto-Type for this entry" checked.

Is that all I would need to enable to try your suggestion?

Actually, try this:

  • Add https://secure.baskbank.com/* to Site Preferences and enable Improved Input Field Detection for it.

@rocketraman
Copy link

rocketraman commented Oct 16, 2024

Just wanted to add a vote to Apple Login password fill no longer working. Username fill works without any issue, but when the password field is added to the form, KeepassXC refuses to fill it, even when explicitly choosing "Fill Password". Have tried the suggestions above, including adding a setting for follow cross-origin frames for https://idmsa.apple.com to no avail. This used to work (without that explicit setting), but has regressed recently.

@varjolintu
Copy link
Member Author

Just wanted to add a vote to Apple Login password fill no longer working. Username fill works without any issue, but when the password field is added to the form, KeepassXC refuses to fill it, even when explicitly choosing "Fill Password". Have tried the suggestions above, including adding a setting for follow cross-origin frames for https://idmsa.apple.com to no avail. This used to work (without that explicit setting), but has regressed recently.

Already fixed for the next version (see #2351). Just wait for the release. Of course you can already add the option manually for Apple's login page.

@rocketraman
Copy link

Already fixed for the next version (see #2351). Just wait for the release. Of course you can already add the option manually for Apple's login page.

@varjolintu I added the option manually and it still does not work.

@rocketraman
Copy link

image

@rocketraman
Copy link

Here is a screencast with KeepassXC debug logging turned on, maybe it can help:

Screencast_20241016_111612.webm

@varjolintu
Copy link
Member Author

Ah, they've changed the login page to include two buttons. I gotta make a new exception for that. Thanks for the info.

@varjolintu
Copy link
Member Author

@rocketraman Those buttons are possibly only seen when you've set a passkey for your Apple login? Have you set up one?

@rocketraman
Copy link

rocketraman commented Oct 16, 2024

@rocketraman Those buttons are possibly only seen when you've set a passkey for your Apple login? Have you set up one?

I have not configured a passkey for my Apple login because Apple's implementation works only with iOS devices (can't use KeepassXC or my Yubikey AFAIK). Perhaps it is using some other signal to display that button. I do have passkeys enabled elsewhere. And I do have a developer account.

@keepassxreboot keepassxreboot deleted a comment from jedenastka Oct 28, 2024
@keepassxreboot keepassxreboot deleted a comment from JakobDev Oct 28, 2024
@keepassxreboot keepassxreboot deleted a comment from Moilleadoir Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests