cordova-plugin-ionic-webview icon indicating copy to clipboard operation
cordova-plugin-ionic-webview copied to clipboard

iOS will not offer saved credentials for associated domains

Open sjregan opened this issue 4 years ago • 2 comments

When filling in a username and password on iOS, if you have setup an associated domain with 'webcredentials', iOS should display your saved credentials as an autofill option. This does not happen regardless of whether you use plain HTML, Angular forms or Ionic input elements.

iOS will display the 'passwords' button allowing you to search keychain for the relevant saved credentials however it will never offer the previously saved credentials.

https://forum.ionicframework.com/t/how-to-autofill-password-on-ios/199744

sjregan avatar Feb 04 '21 22:02 sjregan

I'm having the same problem. The "save credentials" dialog is never shown when filling a register form. But if you run the app in Safari desktop (through ionic serve) it works correctly and saves the credentials. I guess it's because the ionic:// protocol. Does anyone have any kind of workaround?

fana605 avatar Feb 18 '21 12:02 fana605

Could the Ionic team please have a look at this? This seems to be going on for a long time now. In my project I have everything configured according to the Capacitor deep linking guide and Apple's guidelines for supporting associated domains. I face the same issues described in this issue.

And while we are at it; I have also configured the association files and filter intents for Android, but there the passwords seem to get saved under 'localhost' (atleast with Google's password manager). Other password managers like Lastpass and Dashlane don't seem to work at all.

dbrils avatar May 19 '21 21:05 dbrils