mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Password autofill doesn’t work on iOS

Open zbsI9HLyNyCVPQcOhx5VT5r6SBwYj1zlw1ALWKr opened this issue 1 year ago • 31 comments

Steps To Reproduce

  1. In safari, Go to a website login page with a stored password in BW
  2. Ios keyboard pops up with detected password autofill option
  3. Tap on the option to fill with stored PW
  4. Password field remains empty

Expected Result

Password is filled in

Actual Result

Password doesn’t fill and remains empty

Screenshots or Videos

No response

Additional Context

No response

Operating System

iOS

Operating System Version

No response

Device

iPhone 13

Build Version

2024.4.2 (7528)

Beta

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

Can reproduce, iOS 15.

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Could you confirm the version of iOS you have installed, and if all websites appear to be affected?

Thanks!

sammbw avatar May 06 '24 05:05 sammbw

2024.4.2 on iOS 16.7.7, autofill suggestion doesn’t work anymore.

Video recording on https://mobile.free.fr/account/ below:

https://github.com/bitwarden/mobile/assets/20094890/6a5e2897-df4e-48be-9aa5-7bd3b626043b

Hello everyone,

Thank you all for your input. Could you all please detail your KDF configuration? I ask because it sounds like you could be encountering this.

Thank you in advance,

SergeantConfused avatar May 07 '24 08:05 SergeantConfused

Mine is current set to PBKDF2 SHA-256

PBKDF2 SHA-256 @ 600000 iterations

I am using an iPhone X (quite old now…)

Experiencing the same problem as everyone else in this issue. It started happening after installing the latest update (v2024.4.2). I'm on an iPhone 15 Pro, iOS 17.4.1. I'm currently using the Argon2id KDF algorithm with 4 KDF iterations and 48 MB KDF memory. KDF parallelism is set to 4. These were the recommended settings mentioned in this reddit thread.

Thank you all for the reports. We have a fix in place that will be included in an upcoming release. You can track the progress of that fix here.

micahblut avatar May 09 '24 12:05 micahblut

Has this been released into the AppStore version that was just updated? myself and others are still having this issue even with today's new release. https://www.reddit.com/r/Bitwarden/comments/1csdho7/ios_auto_fill_not_working/l4fobia/

So with this morning's update (Version 2024.5.1) the bugs seemed to have been fixed.

I've just retested with the applications I'm 100% sure didn't work 2 days ago, and now I've got no worries, it's back to the way it was before.

Maybe update iOS to 17.5 ? an update appear today.

I am on 17.5, but what's weird is that AppStore says my app is up to date but the app version was 2024.4.2. When I force killed it and went back to AppStore it prompted an update. So far this seems to be good.

i'm on iOS 16.5 and 16.6.1 latest 2024.5.1 still has the bug, the only version that works on me is 2024.4.0, hope this could be fixed, as this really bad for functionality

I am on 2024.5.1, ios 17.5 does not autofill inside apps (from longpress on text field->autofill, only shows icloud), but does autofill inside safari.

Yes, it is still present on Version: 2024.5.1 (7674) iOS: 17.5 iPhone 12

by re-enable autofill in iOS Settings it’s working again only 2FA Code isn’t copied into clipboard. Has been done manually until now…

Same here. Cannot autofill username and password. Tapping on the button nothing happens like the video above.

iPhone 7 iOS 15.8.2 Bitwarden App version 2024.5.1 (7674).

EDIT: Here is a "temporary" fix that worked for me: Tapped in "Settings" > "Passwords" > "AutoFill Passwords" > turned the "AutoFill Passwords" feature off and on again, checked only Bitwarden on the list and then hard restarted the iPhone. It started working again, but somewhat bugged: the email autofill only appears if I click on the key icon that appears above the keyboard, and this makes it open Bitwarden and list the site's credential. Before, the shortcut to Bitwarden would appear without needing to click on the key and it would automatically select the credential.

It seems the above mentioned fix was merged and will be in version 2024.5.2; currently the AppStore is at the previous one, 2024.5.1. Fingers crossed!

It seems the above mentioned fix was merged and will be in version 2024.5.2; currently the AppStore is at the previous one, 2024.5.1. Fingers crossed!

Kinda doubt that, i tried the auto build and the issue still persist, i do hope i'm wrong

Hi all, we expected this to be fixed in 2024.5.1, so if you continue to see the issue please do log your details here. Things like iOS version and how you have configured your autofill settings will help us track this down. Thank you!

micahblut avatar May 28 '24 06:05 micahblut

iOS 16.5 and 16.6.1 iPhone 13 Pro Max

setup like this : IMG_0438

here's fail in action :

https://github.com/bitwarden/mobile/assets/15857763/5203f2be-e231-4b54-b543-d32f0fddccca

@micahblut

iOS 16.5 and 16.6.1

iPhone 13 Pro Max

setup like this :

IMG_0438

here's fail in action :

https://github.com/bitwarden/mobile/assets/15857763/5203f2be-e231-4b54-b543-d32f0fddccca

@micahblut

iOS 17.5.1 Bitwarden 2024.5.1

All work perfectly :)

image

https://github.com/bitwarden/mobile/assets/1043650/df05faa8-1476-4a13-9891-8042bca9e2ca

I am on 2024.5.1, ios 17.5 does not autofill inside apps (from longpress on text field->autofill, only shows icloud), but does autofill inside safari.

Was this flow (long press > autofill) working in a previous version of the Bitwarden app?

micahblut avatar May 28 '24 12:05 micahblut

I am on 2024.5.1, ios 17.5 does not autofill inside apps (from longpress on text field->autofill, only shows icloud), but does autofill inside safari.

Was this flow (long press > autofill) working in a previous version of the Bitwarden app?

I am not sure. I could try different password provider apps and see if any provide this flow. Any suggestions?

I am on 2024.5.1, ios 17.5 does not autofill inside apps (from longpress on text field->autofill, only shows icloud), but does autofill inside safari.

Was this flow (long press > autofill) working in a previous version of the Bitwarden app?

I am not sure. I could try different password provider apps and see if any provide this flow. Any suggestions?

I don't believe this is expected to work for any third party password providers, so I was surprised to see it mentioned.

micahblut avatar May 28 '24 12:05 micahblut

2024.4.2 on iOS 16.7.7, autofill suggestion doesn’t work anymore.

Video recording on mobile.free.fr/account below:

RPReplay_Final1714974030.mp4

Same setup, last app version and still having the same issue. I went back to iCloud Keychain.

After connecting my iPhone to my Mac, I get this error in the Console when I try the autofill

iOS.Autofill (AuthenticationServices)
com.apple.AuthenticationServices
CredentialProviderExtension

Class CredentialProviderViewController must override -provideCredentialWithoutUserInteractionForIdentity:. Canceling extension request.

Maybe the app is now using https://developer.apple.com/documentation/authenticationservices/ascredentialproviderviewcontroller/4172628-providecredentialwithoutuserinte which is only available on iOS 17+ while the previous versions relied on https://developer.apple.com/documentation/authenticationservices/ascredentialproviderviewcontroller/2977554-providecredentialwithoutuserinte ?

After connecting my iPhone to my Mac, I get this error in the Console when I try the autofill

iOS.Autofill (AuthenticationServices)
com.apple.AuthenticationServices
CredentialProviderExtension

Class CredentialProviderViewController must override -provideCredentialWithoutUserInteractionForIdentity:. Canceling extension request.

Maybe the app is now using https://developer.apple.com/documentation/authenticationservices/ascredentialproviderviewcontroller/4172628-providecredentialwithoutuserinte which is only available on iOS 17+ while the previous versions relied on https://developer.apple.com/documentation/authenticationservices/ascredentialproviderviewcontroller/2977554-providecredentialwithoutuserinte ?

Yes i believe this is the problem, i do have this error log too while pressing the autofill button (iOS 16.5) IMG_6654

Seems the app itself use this extension at 2024.4.2 and up (bcs of passkey implementation ?), the only autofill that works on me on iOS 16.5 is 2024.4.0 and below

2024.5.2 Still not working in iOS 16.3.1

I'm having issues on one of the devices I was using. iPhone 12 using iOS 17.5.1. Gives the KDF memory error when trying to auto fill on safari, and even apps that support auto filling. KDF memory is set to 64. It was at 128 a few months ago but I decreased it when I went to autofill on my 2nd device which was a generation behind. (iPhone 12 vs 13)

wohooo this fixed the issue #3282

resuming my subscriptions rn

iOS 16 QuickType (keyboard autofill suggestions) should be fixed in our next release, thank you @NextFire and @4rtz1z for the troubleshooting info! 🙏🏾

vvolkgang avatar Jun 07 '24 18:06 vvolkgang