Implementing an OAuth2 login flow in WKWebView
Nicholas Solter

I get only “http” or “about:blank” scheme and that is not useful when dealing with redirects, as you understand. Try that site: It has many redirects at start so you can test your code and see that it is working/not working whether it is a redirect or user click. Your code doesn’t distinguish them. To distinguish that solution will work. It’s not universal, but I didn’t find anything else on it. WIll be glad if you share something else on how to distunguish user click and internal navigation (redirect for example)

Like what you read? Give Mikhail Tokarev a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.