Skip to content

Commit

Permalink
Start session when binding changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vsanthanam committed Aug 19, 2023
1 parent 8a40fc3 commit f5f1075
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/SafariUI/WebAuthentication.swift
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ public struct WebAuthentication {
session.presentationContextProvider = contextProvider
session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession

session.start()

self.session = session
}

Expand Down Expand Up @@ -273,6 +275,8 @@ public struct WebAuthentication {
session.presentationContextProvider = contextProvider
session.prefersEphemeralWebBrowserSession = parent.prefersEphemeralWebBrowserSession

session.start()

self.session = session
}

Expand Down

0 comments on commit f5f1075

Please sign in to comment.