p2 / OAuth2

OAuth2 framework for macOS and iOS, written in Swift.
Other
1.14k stars 276 forks source link

Issue #359: Access to ASWebAuthenticationSession-prefersEphemeralWebBrowserSession #366

Closed hoereth closed 3 years ago

hoereth commented 3 years ago

This property has been introduced in iOS 13 (https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/3237231-prefersephemeralwebbrowsersessio?language=objc)

and we would like to set it to true in our project. This pull requests make it accessible.

hoereth commented 3 years ago

This pull request has been tested on our project. It works as expected. If set to "true", there will be no system warning about sending private information (cookies) to the OAuth login page.