Share session from ASWebAuthenticationSession with WKWebView

Hello everyone,

In my application, i have implemented authentication using ASWebauthenticationSession. However, when redirecting the user to a WKWebView, no cookies are shared, causing the session to be lost and requiring the user to log in again.

Is there a way to share cookies between the two? If not, what would be the best approach to set up authentication that ensures SSO when switching to a WebView ?

Thank you very much for your help !

Share session from ASWebAuthenticationSession with WKWebView
 
 
Q