diff --git a/Sources/SafariUI/WebAuthentication.swift b/Sources/SafariUI/WebAuthentication.swift index 3db137b85..9b0350b53 100644 --- a/Sources/SafariUI/WebAuthentication.swift +++ b/Sources/SafariUI/WebAuthentication.swift @@ -142,6 +142,8 @@ public struct WebAuthentication { session.presentationContextProvider = contextProvider session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession + session.start() + self.session = session } @@ -273,6 +275,8 @@ public struct WebAuthentication { session.presentationContextProvider = contextProvider session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession + session.start() + self.session = session }