DEV Community

Discussion on: Quick Guide to ASWebAuthenticationSession API Changes in iOS 13

sshraddha96 profile image

I tried ASWebAuthenticationSession mentioned in the above example, the callback handler is not being called. Hence, the web view doesn't dismiss after the authentication is complete.
The same thing I tried with WKWebView. It works fine.
Could you please help me with this?

robotsquidward profile image
A.J. Kueterman Author

If you're being authenticated but not routed back it sounds like it could be an issue with the callback URL? Just an initial thought, make sure your callbackUrlScheme is correct.

rosatp profile image
Rosat Pierre-Yves

Hello, I have the same problem, have you found a solution?