p2 / OAuth2

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

Integrate ASWebAuthenticationSession #336

Closed gregcotten closed 4 years ago

gregcotten commented 4 years ago

Apple has recently provided a cross-platform UX for handling web service authentication. ASWebAuthenticationSession looks like a great replacement for the WebViewController for modern OS versions (iOS 12+, macOS 10.15+).

More info on the authentication flow can be found in their docs.

ossus-lib commented 4 years ago

Implemented in #305

gregcotten commented 4 years ago

I would generally agree with your closing of the issue, but OAuth2 only supports ASWebAuthenticationSession for iOS, when it actually is supported by Apple on iOS, iPadOS, macOS, and watchOS.