daneden / Twift

🐦 An async Swift library for the Twitter v2 API 🚧 WIP
MIT License
111 stars 24 forks source link

Support for prefersEphemeralWebBrowserSession #61

Open arbyruns opened 1 year ago

arbyruns commented 1 year ago

iOS 13 introduces the new prefersEphemeralWebBrowserSession property on ASWebAuthenticationSession.

Setting this property to true indicates you don't want to share any cookies or browsing data between this authentication session and the user's normal browser session in Safari. More importantly, to us, it skips the '"App" Wants to use "domain" to Sign In' prompt which many of our users have complained about.

Can you provide an optional on authenticateUser to set this as true or false?