DEV Community

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

Collapse
 
mehdis profile image
Mehdi

Thank you for your kind and detailed answer,
Indeed, maybe my wish to fully disconnect after logout is related to my dev role and I would find this annoying as a user.
I’m still curious if there is a possibility or if it’s intended in the design of ASWebAuthenticationSession

Thread Thread
 
robotsquidward profile image
A.J. Kueterman

You could try prefersEphemeralWebBrowserSession, a new feature in iOS 13, to at least block your web view from sharing session with Safari and be a bit more explicit about making your user login. I'm not sure it speaks to your specific issue, but might be worth exploring.