Make signing in easy with Apple
- November 4, 2019
- Posted by: Aelius Venture
- Category: Innovation
Provide a fast, secure, and privacy-friendly way for users to set up an account and start using your apps and websites.
Planning
Sign in with Apple allows you to set up a user account in your system, complete with name, verified email address, and unique stable identifiers that allow the user to sign in to your app with their Apple ID. It works on iOS, macOS, tvOS, and watchOS. You can also add Sign in with Apple to your website or versions of your app running on other platforms. Once a user sets up their account, they can sign in anywhere you deploy your app.
Examples of Use Cases
With Sign in with Apple, it’s easy to:
Allow users to create an account early in your app experience if your app has limited functionality without an account.
Allow users to create an account after interacting with features of your app. For example, to save progress or set up a profile.
Allow users to create an account after completing a purchase as a guest.
Allow users with existing accounts to sign in or reauthenticate to any version of your app or website.
Configuration
You’ll need to use Certificates, Identifiers & Profiles to set up identifiers and keys in your Apple Developer account before you can implement Sign in with Apple.
To enable an App ID for a related app, (for example, an App ID for the iOS version of your Mac app), group it with the existing primary. This is helpful if your app has versions for multiple Apple platforms or the web that you want to enable with Sign In with Apple. App IDs that are enabled by grouping with an existing primary cannot be used to enable additional identifiers through grouping. You’ll need to ungroup the App ID and enable it as a primary.
Apps
Use the AuthenticationServices framework to let users set up accounts and sign in to your native iOS, macOS, tvOS, and watchOS apps.
Use the Authentication Services framework to improve the experience of users when they enter credentials to establish their identity.
- Give users the ability to sign into your services with their Apple ID.
- Enable users to look up their stored passwords from within the sign-in flow of an app.
- Share data between an app and a web browser using technologies like OAuth to leverage existing web-based logins in the app.
- Create a single sign-on (SSO) experience in an enterprise app.
Simple and straightforward sign-up and sign-in flows reduce the burden on the user to remember passwords. This encourages the use of strong passwords, which improves security.
Unity Tools
Easily integrate Sign in with Apple into games and apps built with Unity using a new Unity Asset Store package.
Web and Other Platforms
Use Sign in with Apple JS to let users set up accounts and sign in to your website and apps on other platforms.
Service API
Use the Sign in with Apple API to validate the authorization code provided to your app and check a user’s status directly with Apple servers.
Private Email Relay Service
Some privacy-conscious users will choose to keep their personal email address private and use Apple’s private email relay service when setting up an account. To send email messages through the relay service to the users’ personal inboxes, you will need to register your outbound email domains.
-
How did DevOps reduce deployment problems and downtime?
July 12, 2024