Daily iOS
Security

OAuth login flow

A PR handles social login by loading the login page inside a WKWebView. Why isn't that approach recommended?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

An app-owned WebView lets the app capture the user's credentials through JS injection, which major identity providers ban by policy, and Safari's cookies aren't shared, so SSO doesn't work.

Share a question