Post

Replies

Boosts

Views

Activity

Is there a way to clear Auth cookies in SFSafariViewController?
My iOS application uses WKWebView to login to the application. Recently the application release has been rejected by Apple team for using WKWebView for login. Instead they suggested to go with SFSafariController. I need to clear the cookies before hitting the login url for fresh login. In WKWebView, I can clear cookies before opening an URL. I don't find an option to clear cookies in SFSafariController. If we dont clear auth cookies, user is getting auto logged into the app because of the existing cookie. Is there a way to clear Auth cookies in SFSafariViewController?
1
0
829
Sep ’22