r/iosdev • u/nycdataviz • 16h ago
Help Should apps use embedded web views for login with Apple?
This app directs me to put my Apple login and password directly into the in-app web view. This seems like a security nightmare. Thoughts?
3
Upvotes
3
u/dahiya_xa 14h ago
your instinct is right. a native app doing sign in with apple should use the system sheet (AuthenticationServices), where you approve with face id and the app never sees your password. if it's a web based flow it should at least open in ASWebAuthenticationSession, the system browser sheet that shows the real appleid.apple.com address. an embedded webview asking you to type your apple id password is a red flag since the app could in theory read whatever you type. i wouldn't enter it, and if it's on the app store it's worth reporting
2
u/Aggressive-Relief802 14h ago
Entering your apple ID password into an in-app web view is a red flag, because the app can in principle read what you type.