PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.87k stars 394 forks source link

[BUG] Login on Firefox never works the first time #2682

Open jampy opened 1 month ago

jampy commented 1 month ago

Checks

Describe the bug you encountered:

Possibly related to #2422

I recently switched to Keepass2Android but autologin doesn't works reliably. I consistently experience the following:

  1. Open a page in Firefox Mobile that requires HTTP BASIC Auth (over https)

  2. Login form appears and I can choose to fill the form using Keepass2Android:

    image
  3. I unlock Keepass2Android and choose the correct entry

  4. back to firefox it looks like Firefox being busy with the second server request but no request is sent the server at all. I can say that because I run the server myself and observed all traffic to it. Normally the authenticated request should be sent to the server at this point

    image
  5. About 30 seconds later the server message appears that the client did not authenticate successfully. I'm pretty sure that's the HTTP response for the first (any only) request (where Firefox learned that a password is required).

    image
  6. I tap on reload in Firefox and the login form appears again but this time the keyboard offers to fill in specific login credentials (along with the generic "fill with Keepass2Android"):

    image
  7. Tapping on these credentials fills the form and submits it, then the page is correctly authenticated

Additional info:

Versions:

Describe what you expected to happen:

I expect the page to be authenticated at the first try

What version of Keepass2Android are you using?

1.10-pre

Which version of Android are you on?

14