Methods that perform some of this logic for you.
Where you need to perform your own token exchanges, as well as convenience Otherwise, add AppAuth.xcodeprojĪppAuth supports both manual interaction with the Authorization Server
With your own OAuth client (you need to update 3 configuration points with your Want to try out AppAuth? Just run: pod try AppAuthįollow the instructions in Example/README.md to configure Authorization Server RequirementsĪppAuth for macOS supports both custom schemes, a loopback HTTP redirectsĮither through custom URI scheme, or loopback HTTP redirects.Ĭonfidentiality of the client secrets may not work well. macOS Supported VersionsĪppAuth supports macOS (OS X) 10.8 and above. In general, AppAuth can work with any Authorization Server (AS) that supportsĮither through custom URI scheme redirects, or universal links.ĪS's that assume all clients are web-based or require clients to maintainĬonfidentiality of the client secrets may not work well. Authorization Server Requirementsīoth Custom URI Schemes (all supported versions of iOS) and Universal Links (via SFSafariViewController), and falls back to the system browser (mobile IOS 9+ uses the in-app browser tab pattern The library is friendly to otherĮxtensions (standard or otherwise) with the ability to handle additional params OAuth which was created to secure authorization codes in public clients whenĬustom URI scheme redirects are used.
Reason, UIWebView is explicitly not supported due to usability and security Including using SFSafariViewController on iOS for the auth request. It follows the best practices set out in OAuth 2.0 for Native Apps Tasks like performing an action with fresh tokens. Raw protocol flows, convenience methods are available to assist with common The idiomatic style of the implementation language. It strives toĭirectly map the requests and responses of those specifications, while following View the Project on GitHub openid/AppAuth-iOSĪppAuth for iOS and macOS is a client SDK for communicating with OAuth 2.0 and OpenID Connect providers.