Allow password manager app to auto-fill the login form
On other apps or in the Browser, when clicking a field of the login form (username or password), the password manager adds a sort of modal box allowing to select the account to auto-fill the login form with:
Tested with Bitwarden only (maybe it works with others).
Samsung Pass is working fine on my mobile.
Update: If I go in the settings -> Accessibility -> Installed services -> Bitwarden and turn it to "on", the dropdown menu with Bitwarden appear on the login form (strangely this is not required for other apps and it's not the default setting). But after clicking on the login/password pair of Bitwarden to autofill, the fields stay blank and I have the message "No password field detected".
Update: On the iOS it works as expected. Tested with Google password manager and Bitwarden. The problem persists on Android. Looking into it.
@PrimozRatej FYI, when I login on a Humhub instance via an SSO, when I'm on the SSO page (so I'm not in Humhub), Bitwarden autofill works with Android. So the problem is only on Humhub form.
Hey @marc-farre, I found there's still an open issue regarding this in the flutter_inappwebView repo that we use for WebView. However, the actual bug might be within an official Flutter/engine issue. Although it has been merged, it doesn't seem like it has been released yet according to the Flutter release CHANGELOG. I'll upgrade Flutter to the latest version so we can test it.
I updated the version of Flutter to the latest stable release f-flutter-upgrade-3.24.0, but it looks like everything is the same on this topic. It seems that they fixed the Google password manager autofill, but Bitwarden still doesn't work. At this point, I assume the problem is with the Bitwarden implementation for Android.
@PrimozRatej Thanks for trying. What's weird, is that it's the only app I have where Bitwarden doesn't work. It even works in small and not very well-known apps.
Maybe these links can help?
- https://github.com/flutter/flutter/issues/61301
- https://1password.community/discussion/127475/autofill-password-field-not-triggering-on-android-devices-for-flutter
The problem isn't with Flutter itself. If this were a native view, you would define a base URL environment and use [AutofillHints.email, AutofillHints.username] & [AutofillHints.password]. However, since we're running it inside a web view, an additional layer is added. It appears that Bitwarden's autofill implementation does not recognize those input fields or the envirionment itself. I assume it's one of those 2 things.
@PrimozRatej FYI, when I log in with an SSO (inside HumHub mobile app), Bitwarden works well. So it seems to be possible to make it work.
when I log in with an SSO (inside HumHub mobile app), Bitwarden works well.
@marc-farre - With which provider did you log in with, or does it not matter?
Anyone. You can test here: https://community.humhub.com/dashboard
Fixed in v1.1.3