mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Autofill in android does not identify url port

Open panoskpv opened this issue 1 year ago • 6 comments

Steps To Reproduce

  1. Open a single word local domain (e.g. server:8080) in any browser
  2. Click to auto fill pop up
  3. App opens and site name in app is -- instead of site url

Expected Result

App opens and present password for server:8080

Actual Result

App opens and site name in app is -- instead of site url and no passwords are returned

Screenshots or Videos

No response

Additional Context

No response

Operating System

Android

Operating System Version

Android 14

Device

No response

Build Version

2024.1.1

Beta

  • [ ] Using a pre-release version of the application.

panoskpv avatar Jan 31 '24 16:01 panoskpv

Hi, may I ask if you are encountering basic auth prompts: https://bitwarden.com/help/basic-auth-autofill/ ?

jtodddd avatar Feb 05 '24 22:02 jtodddd

Hello, as I can understand, this article is for computer version of Bitwarden. In my case, I have the issue with android version. I do not know if android version works that way. Also, Bitwarden Firefox extension works as expected.

panoskpv avatar Feb 06 '24 12:02 panoskpv

As an update on the above (I do not know if I should edit my initial report), the actual issue is that Bitwarden does not recognize url port. More specifically, when I visit http://server:123, -- is presented in the app as I described above, and password saved only for http://server are returned.

panoskpv avatar Feb 06 '24 16:02 panoskpv

Hi,

On the website that you're trying to autofill, is it doing a basic auth prompt and dropping you a prompt from the top or in the middle of the screen? Or are you just trying to fill a regular form on the website?

Apologies, I'm still trying to understand the issue. Is it possible that you share a screenshot of the prompt you're getting?

jtodddd avatar Feb 06 '24 16:02 jtodddd

In the below you can see that when I am at portainer (http://fileserver:9000), bitwarden returns result only for wallabag (http://fileserver(:80)). My match detection setting is starting with. Screenshot_20240207-095937_Fennec You can see also the screen when I tap to my vault where "Items for --" appears instead of the url. Screenshot_20240207-095918_Bitwarden

panoskpv avatar Feb 07 '24 08:02 panoskpv

As far as I know, it's not a "bug" but rather a limitation of the Android autofill API.

There are details about it in this issue : https://github.com/bitwarden/mobile/issues/578

Seedthis avatar Feb 08 '24 13:02 Seedthis

Is there not another, more modern approach that can be made to fix this issue?

Even setting it to exact doesn't autofill for hostname:port

uniquePWD avatar Apr 04 '24 16:04 uniquePWD

Hi, may I ask if you are encountering basic auth prompts: https://bitwarden.com/help/basic-auth-autofill/ ?

jtodddd avatar Feb 05 '24 22:02 jtodddd

Hello, as I can understand, this article is for computer version of Bitwarden. In my case, I have the issue with android version. I do not know if android version works that way. Also, Bitwarden Firefox extension works as expected.

As an update on the above (I do not know if I should edit my initial report), the actual issue is that Bitwarden does not recognize url port. More specifically, when I visit http://server:123, -- is presented in the app as I described above, and password saved only for http://server are returned.

Hi,

On the website that you're trying to autofill, is it doing a basic auth prompt and dropping you a prompt from the top or in the middle of the screen? Or are you just trying to fill a regular form on the website?

Apologies, I'm still trying to understand the issue. Is it possible that you share a screenshot of the prompt you're getting?

jtodddd avatar Feb 06 '24 16:02 jtodddd

In the below you can see that when I am at portainer (http://fileserver:9000), bitwarden returns result only for wallabag (http://fileserver(:80)). My match detection setting is starting with. Screenshot_20240207-095937_Fennec You can see also the screen when I tap to my vault where "Items for --" appears instead of the url. Screenshot_20240207-095918_Bitwarden

As far as I know, it's not a "bug" but rather a limitation of the Android autofill API.

There are details about it in this issue : https://github.com/bitwarden/mobile-maui/issues/578

Is there not another, more modern approach that can be made to fix this issue?

Even setting it to exact doesn't autofill for hostname:port

This is an issue in the beta too.

uniquePWD avatar Jul 11 '24 12:07 uniquePWD