Simple Sign-In with Apple
Hippo
$21.89
(no ratings)
Date |
Price |
---|---|
日時 |
価格($) |
05/12(2024) |
21.89 |
11/25(2024) |
21.89 |
Jump AssetStore
Simple Sign-In with Apple 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 REST API calls.
Need sign-in for other platforms?
● Google
● Apple
● Facebook
● X (Twitter)
● Telegram
● Microsoft
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.
Features
● 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 visit our GitHub for known issues.
Support
● GitHub - Wiki
● GitHub - Bugs & requests
● Discord - Questions, live chat with developers
● Unity Forums - Discussion