passbolt / mobile-passbolt-android

Android mobile app for Passbolt, the open source password manager for teams.
https://play.google.com/store/apps/details?id=com.passbolt.mobile.android&hl=en&gl=US
GNU Affero General Public License v3.0
42 stars 11 forks source link

Autofill not working on Android #9

Closed dbergloev closed 4 months ago

dbergloev commented 1 year ago

Hi.

I am running Android 13 with the latest Firefox browser and are having issues with Passbolt autofill. I recently switched from KeyPassXC which was working fine on Android, but I wanted to rid myself of the static database file and sync with a centralized server instead.

When I go to a login page on Android, I get a small Passbolt popup button next to the input field. Clicking it will launch the passbolt app and ask for my fingerprint. After verifying I get a list of my login sites, I click the one I need which returns me to the browser and then, nothing. The username and password fields does not get autofilled with the selected credentials. It works fine on my PC with the browser plugin, but not on Android using the app.

marcin-michalek-miquido commented 1 year ago

Hello @dbergloev, the expected flow is that after selecting the login item from the list and coming back to the web browser another popup (similar to the initial "Select with Passbolt") should appear (but now saying "Fill with Passbolt"). After clicking on "Fill with Passbolt" the credentials should be autofilled. If that is not happening, can you provide the website URL and additionally which language you use on that website? We will investigate it with Firefox.

dbergloev commented 1 year ago

That last step ("Fill with Passbolt") does not happen for me. When it returns to Firefox I just get the same ("Select with Passbolt") again. This is every website, including github. I have not chosen any specific language on any website and my device is set to US English.

marcin-michalek-miquido commented 1 year ago

@dbergloev I tested the behavior using the latest Play Store Passbolt app and the latest Firefox. I was able to reproduce the issue initially. I fixed it by going to Firefox settings -> Logins and passwords and changing Save logins and passwords to Never save and turning off Autofill in Firefox switch. After changing I closed all the cards and restarted Firefox (removed from the system's Recent apps list and launched again) I got it working as expected. Could you verify if it helps? We verified this also on a couple of other devices with Firefox and it seems to be working fine. Seeing "Select with Passbolt" means that the autofill service is set up correctly - only after returning from the Passbolt app something is interfering and restarting state. If it does not help could you share what device are you using so we can investigate more?

dbergloev commented 1 year ago

There is definitely something interfering. After doing what you said and restarting the device, I got it working once. After that it stops again. The "Fill with Passbolt" seams to appear, but only for a split second before it gets replaced with "Select with Passbolt".

I am using the Motorola Edge 30 Neo with the latest Android 13 build. I have a few older OnePlus devices laying around. I will try it on some of those and also try various other browsers on the Moto. Maybe this is a Firefox issue. Passbolt is using Android's native Autofill feature which apps should support without hiccups.

marcin-michalek-miquido commented 1 year ago

hello @dbergloev, did you have a chance to test on other browsers or devices?

dbergloev commented 1 year ago

Yes sorry, have been busy with other things and forgot about this. I did a lot of testing and it seams that Firefox is the only affected browser on Android. Tried a multitude of browsers on 3 different phones and two different Android version (11, 13). They all worked except Firefox. However other Password Managers works fine with Firefox, like Proton and KeePassXC. But they do it differently and some how works through the keyboard it seams.

cedricalfonsi commented 4 months ago

Closing this issue due to inactivity, we would need more information in order to reproduce the bug and schedule a fix. Feel free to reopen if you have additional information.