Simple Apple Sign-in

Simple Apple Sign-In provides “Sign in with Apple” using OAuth 2.0 for Android, iOS, Windows, M ...

by Hippo

Price History +

Simple Apple Sign-In provides "Sign in with Apple" using OAuth 2.0 for Android, iOS, Windows, Mac, Universal Windows Platform (UWP) and WebGL apps made with Unity. You can also get access tokens for further API calls.

Need sign-in for Google, Facebook, X (Twitter), Telegram or VK?

Important notice
The asset doesn't utilize native SDK that is available for iOS only. Users are redirected to Apple ID website to perform sign-in. If your app is primary for iOS, consider using native SDK.

● Cross-platform user auth for cross-platform games and apps
● No plugins, no 3rd party auth libs, no dependencies
● Get access tokens for further API calls
● More security for client-server apps (it's possible to get all user data on a server to avoid tampering)
● SFSafariViewController is used on iOS (required by App Store review)
● Deep linking for Windows (UNITY_STANDALONE_WIN)
● JWT signing with p8 private key (ES256)

Setup steps
Please visit our GitHub for setup instructions.

How does it work?
● Your app navigates users to Apple Authorization Endpoint in a web browser
● Users perform sign-in using their login and password
● Apple Authorization Endpoint redirects users to Return URL (which is Authorization Middleware, or may be your website as well) and provides an authorization code (which can be later exchanged for access_token), id_token (if requested) and user info like first_name, last_name and email (if requested and only once at first sign-in)
● Authorization Middleware transmits the authorization code and user info to your app (using deep linking when possible, or with a web request made by the app when not)
● The app exchanges the code for access_token (and may receive id_token as well) by creating JWT signed with p8 private key (ES256)

Known issues
Please refer to the section on GitHub

GitHub - Wiki
GitHub - Bugs & requests
Discord - Questions, live chat with developers

Unity Forums - Discussion