apache / cordova-plugin-inappbrowser

Apache Cordova InAppBrowser Plugin
https://cordova.apache.org/
Apache License 2.0
1.11k stars 2.14k forks source link

Keychain not work with inappbrowser #1027

Closed harishk90 closed 6 months ago

harishk90 commented 7 months ago

I had integrated Keycloak login in my iOS app using inappbrowser.

Login is working correctly without any issues. However Keychain not asking to save username and password during login.

User needs to enter username and password every time because of this issue.

jcesarmobile commented 6 months ago

It's a limitation of the WKWebView the plugin uses, Apple didn't implement password saving for it.

This plugin that uses Safari View Controller should save passwords, but doesn't have the same features InAppBrowser has.

https://www.npmjs.com/package/cordova-plugin-safariviewcontroller