How to Configure Apple Sign-In

2022/11/032 min read
bookmark this
Responsive image

Table of Contents

  1. Introduction
  2. Requirements
  3. Enable Apple ID for Apple Sign In
  4. Create Service ID
  5. Create Key
  6. Register Email Sources
  7. Conclusion

Introduction

This tutorial shows how to integrate Sign in with Apple into your application, including setting up the Apple ID, creating a Service ID, and generating a key.

Requirements

  • An Apple Developer account
  • Knowledge of using the Apple Developer portal

Enable Apple ID for Apple Sign In

Here, we'll create a new Apple ID for our Apple Sign In. Create new Apple ID

  • Choose "Register a new identifier"
  • Choose a type and select "App"
  • Enter the Bundle ID. For this example, we use com.technoapple.signin as the Bundle ID

Enter Bundle ID

  • Choose "Sign In with Apple"
  • Click Continue and Register as an Apple ID

Create Service ID

  • Go back to the "Register a new identifier" page and choose "Services IDs" Choose Services IDs
  • Enter the service ID as com.technoapple
  • Click Continue and Register
  • Now click the service ID you just created and go to the detail page
  • Check "Sign In with Apple" and go to the Web Authentication Configuration
  • Make sure the Primary App ID is the one we created earlier
  • Enter the domain at Register Website URLs as technoapple.com (this domain must use HTTPS)
  • For the Return URLs, enter the URL that will handle the POST from Apple once sign-in is successful
  • For instance, https://technoapple.com/redirect-for-apple

Create Key

  • Navigate to Keys and start creating the key Create key
  • Check "Sign in with Apple"
  • Configure the key and choose the Primary Apple ID
  • Download the key. Once downloaded, Apple's server will no longer keep it, so make sure to store it in a secure place.

Register Email Sources

Choose App IDs and click Identifiers to register your email sources for Apple Sign In.

Conclusion

By following the steps above, you can configure Apple Sign-In for your application. The key steps include creating an Apple ID, setting up a Service ID with the correct return URLs, and generating a key for authentication.