Skip to content

Latest commit

 

History

History
76 lines (44 loc) · 2.18 KB

identifiers-and-keys.md

File metadata and controls

76 lines (44 loc) · 2.18 KB

Identifiers and Keys on Apple's Developer Portal

Add Sign In with Apple to your app's capabilities

  1. Go to Xcode's project navigator
  2. Select your Xcode project
  3. Select your target
  4. Go to the Signing & Capabilities tab
  5. Click the + Capability button
  6. Select Sign In with Apple

A) Automatic Signing

Done. Xcode will add it to the entitlements, sync the capabilities to the Developer Portal and generate new provisioning profiles for you.

B) Manual Signing

Add Sign In With Apple to the app ID

  1. Go to the Developer Portal and select Identifiers.
  2. Select your app your want to add Sign In with Apple to.
  3. Scroll down to Sign In with Apple and tick the checkbox.
  4. Click Save

By default this app ID is enabled to be the primary app ID.
Optionally: If you're using multiple apps or web authentication you might want to assign them to this app ID as a group.

Re-generate provision profiles

Changing the app ID invalidates the provisioning profiles associated with it, so we need to generate them again.

  1. Go to Profiles.
  2. Click on each profile associated with this app ID and just save it again.
  3. Either download it from the portal manually or through Xcode.

Now you can continue with the iOS implementation.

Create a key for your backend

Go to "Keys" and click "Create a key"

Give it a name, tick the Sign In with Apple checkbox and click "Configure"

Select you app ID, and click "Save"

Click "Continue"

Click "Register" to generate the key

Download the key file by clicking "Download", then click "Done"

Click on the key in the list to see the details including key ID again

You'll need key ID later in the backend implementation.

Use the key in your backend

Now you can continue with the backend implementation.