Closed josephquigley closed 1 year ago
Thank you, this is great! The repo uses tab indentation, can you change your spaces so indentation matches? Then I'm happy to accept.
@ossus-lib Done!
@ossus-lib I've adjusted the whitespace and removed the dead code.
Many legacy authentication methods that OAuth2 supports are unavailable on visionOS. The only supported method is
ASWebAuthenticationSession
.This PR compiles out the incompatible code, such as the
OAuth2WebViewController
andSFSafariViewControllerDelegate
, allowing the visionOS app to compile and run. It also forces theASWebAuthenticationSession
method even if the configuration suggests otherwise.