ASWebAuthenticationSession password autofill iOS 18.5 broken

I have been implementing an sdk for authenticating a user. I have noticed that on iOS 18.5, whether using SFSafariViewController, or the sdk (built on ASWebAuthenticationSession), password autofill does not work. I have confirmed it works on a different device running iOS 18.0.1. Are there any work arounds for this at this time? Specifically for ASWebAuthenticationSession?

Answered by DTS Engineer in 850979022

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports.

Bug Reporting: How and Why? has tips on creating your bug report.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports.

Bug Reporting: How and Why? has tips on creating your bug report.

Accepted Answer

I looked into this further and have some updates. It looks like on iOS 18. 5 does not recognize the autocomplete tags properly within ASWebAuthentication and SFSafariViewController. However, if you add to the autocomplete tag in the website "webauthn" (similar to email field on https://account.apple.com/sign-in), the autofill does work. Example: autocomplete="username webauthn" We have added that tag on our site now and I no longer have concerns. Thank you for your help!

ASWebAuthenticationSession password autofill iOS 18.5 broken
 
 
Q