---
title: "Set up Apple login"
description: "Create Sign in with Apple identifiers and keys, then add Team ID, Login ID, private key, and Bundle ID in Ordering.co."
canonical: https://docs.ordering.co/docs/products/dashboard/settings/pro/social-login-options/apple/
---

# Set up Apple login

[Back to the main guide](https://docs.ordering.co/docs/products/dashboard/settings/pro/social-login-options/)

Give customers a Sign in with Apple button on the website and Customer App. Apple issues the App ID, Services ID, and private key. Ordering.co stores those values under **Social login options** → **Apple Sign-in**.

## Configure Sign in with Apple

Open [Certificates, Identifiers & Profiles](https://developer.apple.com/account/resources/certificates/list) in the Apple Developer account.

[![Apple Developer account with Certificates, Identifiers \&amp; Profiles](https://docs.ordering.co/assets/images/e208a8835ff07aa329c0753e-2d2a556c7d0b269aba0422f3e6770b7e.png)](https://docs.ordering.co/assets/files/e208a8835ff07aa329c0753e-2d2a556c7d0b269aba0422f3e6770b7e.png)

Apple documents the web side of this setup in [Configure Sign in with Apple for the web](https://developer.apple.com/help/account/capabilities/configure-sign-in-with-apple-for-the-web/).

### Step 1. Register an App ID

Do this step if you have not created the app identifier yet, or if you only operate a website. If the App ID already exists with **Sign in with Apple**, skip to Step 2.

[![Certificates, Identifiers \&amp; Profiles Identifiers list](https://docs.ordering.co/assets/images/2d8a6b8f4054d85c7d71243b-7494b06c1f80e1c45908847bb2027572.png)](https://docs.ordering.co/assets/files/2d8a6b8f4054d85c7d71243b-7494b06c1f80e1c45908847bb2027572.png)

In the left menu, open **Identifiers** and select the blue **+** button.

[![Add identifier plus button](https://docs.ordering.co/assets/images/9845e1275a286481f13c0eae-2a8069a6c0a9ec16bed105d3b140b781.jpg)](https://docs.ordering.co/assets/files/9845e1275a286481f13c0eae-2a8069a6c0a9ec16bed105d3b140b781.jpg)

Select **App IDs**, then **Continue**.

[![Register a new identifier with App IDs selected](https://docs.ordering.co/assets/images/9780baaad71bfabb49f09b88-5d19a02e857e58cfd5202f23934e2ed3.png)](https://docs.ordering.co/assets/files/9780baaad71bfabb49f09b88-5d19a02e857e58cfd5202f23934e2ed3.png)

Select **App**, then continue.

[![App ID type App](https://docs.ordering.co/assets/images/36d261bd6a04cab17abf0664-37403c4a615e61e7d7e696c7dd802af3.png)](https://docs.ordering.co/assets/files/36d261bd6a04cab17abf0664-37403c4a615e61e7d7e696c7dd802af3.png)

Enter a **Description** (example: `newtestingapporder`) and a **Bundle ID**. One documented pattern appends `.login` to the app bundle, for example `com.newtestingapporder.app.login`. Another documented example uses the app bundle itself, for example `com.newtestingapporder.app`. Use the identifier that matches the Customer App you will publish.

[![App ID description and Bundle ID](https://docs.ordering.co/assets/images/27ff60cfeaa7b23d99361893-e359051d8b2a03a6dc2f1264770f4586.png)](https://docs.ordering.co/assets/files/27ff60cfeaa7b23d99361893-e359051d8b2a03a6dc2f1264770f4586.png)

Enable **Sign in with Apple** and select **Edit**.

[![Sign in with Apple capability with Edit](https://docs.ordering.co/assets/images/dcc656c5579da085c6a9966a-60911630280946c106a1ea2234193511.png)](https://docs.ordering.co/assets/files/dcc656c5579da085c6a9966a-60911630280946c106a1ea2234193511.png)

Leave **Enable as a primary App ID** selected, leave the following field empty, and select **Continue**.

[![Enable as a primary App ID](https://docs.ordering.co/assets/images/1a760a2ded3320ed9ea36048-5e4b640577f0c84ec0546f355626e3ca.png)](https://docs.ordering.co/assets/files/1a760a2ded3320ed9ea36048-5e4b640577f0c84ec0546f355626e3ca.png)

Select **Register**.

[![Register the App ID](https://docs.ordering.co/assets/images/7a5bb96746eb7426b7ffe8f8-82c16ce587f26adfcdc59c2adc9f9868.png)](https://docs.ordering.co/assets/files/7a5bb96746eb7426b7ffe8f8-82c16ce587f26adfcdc59c2adc9f9868.png)

The new App ID appears in the list.

[![New App ID in the Identifiers list](https://docs.ordering.co/assets/images/9c414613c23dfe9b20b214ff-71cca354288e7ab3ea1bc2261dfbd2cb.jpg)](https://docs.ordering.co/assets/files/9c414613c23dfe9b20b214ff-71cca354288e7ab3ea1bc2261dfbd2cb.jpg)

### Step 2. Register a Services ID

Select **+** again.

[![Add identifier plus button for a Services ID](https://docs.ordering.co/assets/images/d808c3cfb871f074e2c436aa-2a8069a6c0a9ec16bed105d3b140b781.jpg)](https://docs.ordering.co/assets/files/d808c3cfb871f074e2c436aa-2a8069a6c0a9ec16bed105d3b140b781.jpg)

Select **Services IDs**, then **Continue**.

[![Register a new identifier with Services IDs selected](https://docs.ordering.co/assets/images/4091bf1876219d3e54eb17f9-adfed0cb8a5890dd08f4357e9a732b55.png)](https://docs.ordering.co/assets/files/4091bf1876219d3e54eb17f9-adfed0cb8a5890dd08f4357e9a732b55.png)

Enter a description and a unique identifier, then **Continue**.

[![Services ID description and identifier](https://docs.ordering.co/assets/images/20d84f44a36009964a79e362-2a35b86037506bea26a977f6fa0a50da.png)](https://docs.ordering.co/assets/files/20d84f44a36009964a79e362-2a35b86037506bea26a977f6fa0a50da.png)

Register the Services ID.

[![Register the Services ID](https://docs.ordering.co/assets/images/d2ac85801693bf8d6787241d-a499f78820f26c326266fc6aea33505d.png)](https://docs.ordering.co/assets/files/d2ac85801693bf8d6787241d-a499f78820f26c326266fc6aea33505d.png)

[![Confirm the new Services ID](https://docs.ordering.co/assets/images/1705cee5b39a401d9ed07b43-dd2af4df55b51b8e2f373dcd113400a0.png)](https://docs.ordering.co/assets/files/1705cee5b39a401d9ed07b43-dd2af4df55b51b8e2f373dcd113400a0.png)

Open the identifier, select **Sign in with Apple**, then **Configure**.

[![Services ID with Sign in with Apple selected](https://docs.ordering.co/assets/images/7be12fb649095f0501aa885d-739a086054738d8815348a481cd75236.png)](https://docs.ordering.co/assets/files/7be12fb649095f0501aa885d-739a086054738d8815348a481cd75236.png)

[![Configure Sign in with Apple on the Services ID](https://docs.ordering.co/assets/images/ad4c1ab32cb9d9fde6491a6a-c1cbf0461ae1ecd2f322d4ef8713f570.png)](https://docs.ordering.co/assets/files/ad4c1ab32cb9d9fde6491a6a-c1cbf0461ae1ecd2f322d4ef8713f570.png)

In the popup, select the app you registered in Step 1.

[![Primary App ID dropdown for Sign in with Apple](https://docs.ordering.co/assets/images/ddf596922442e3cf216b69a6-8f20090fd33f6d4603352f89183fb868.png)](https://docs.ordering.co/assets/files/ddf596922442e3cf216b69a6-8f20090fd33f6d4603352f89183fb868.png)

Under Website URLs, enter the **domain** and the **return URL**. The return URL is the domain plus `/login/apple/callback` and must include `https://`. Example:

`https://sourcedemo.tryordering.com/login/apple/callback`

For a franchise website, use `/searchlogin/apple/callback` instead:

`https://sourcedemo.tryordering.com/searchlogin/apple/callback`

[![Sign in with Apple domains and return URLs including the franchise callback](https://docs.ordering.co/assets/images/94654eb0db0696fd7fe8d75f-807273e5454f4d0169e40faee501fc8b.png)](https://docs.ordering.co/assets/files/94654eb0db0696fd7fe8d75f-807273e5454f4d0169e40faee501fc8b.png)

[![Return URL with https and /login/apple/callback](https://docs.ordering.co/assets/images/9bb63fcf3a5e206b1203a33e-56f12cf07b757b3c046283a59b666b48.png)](https://docs.ordering.co/assets/files/9bb63fcf3a5e206b1203a33e-56f12cf07b757b3c046283a59b666b48.png)

Save the confirmation. Apple requires an absolute return URL with scheme, host, and path.

### Step 3. Create a Sign in with Apple key

Open **All Identifiers**.

[![All Identifiers after saving the Services ID](https://docs.ordering.co/assets/images/b36f64992e96ea21d73934ce-fc129d362d8542c03527c74604a20152.png)](https://docs.ordering.co/assets/files/b36f64992e96ea21d73934ce-fc129d362d8542c03527c74604a20152.png)

Open **Keys** and select the blue **+** button.

[![Add a new key](https://docs.ordering.co/assets/images/136dd61648ff69b0f9484d51-faafe3872d3b4d9f4b4ea1dbf2ef93f5.png)](https://docs.ordering.co/assets/files/136dd61648ff69b0f9484d51-faafe3872d3b4d9f4b4ea1dbf2ef93f5.png)

Enter a key name.

[![Key name for Sign in with Apple](https://docs.ordering.co/assets/images/17603ede2c0b13369d60452b-7317ae404428e745c37ca49fa9247f74.png)](https://docs.ordering.co/assets/files/17603ede2c0b13369d60452b-7317ae404428e745c37ca49fa9247f74.png)

Select **Sign in with Apple**, then **Configure**.

[![Create a key with Sign in with Apple](https://docs.ordering.co/assets/images/53821d062d1eef86716eb1a1-eb007bba51f41b05f08398b5d8aab51a.png)](https://docs.ordering.co/assets/files/53821d062d1eef86716eb1a1-eb007bba51f41b05f08398b5d8aab51a.png)

Select the app registered in Step 1, then continue and **Register**.

[![Configure the key with the primary App ID](https://docs.ordering.co/assets/images/02ef7f649f38106380953d71-a045d6fd4474ad38e847c691e24946d6.png)](https://docs.ordering.co/assets/files/02ef7f649f38106380953d71-a045d6fd4474ad38e847c691e24946d6.png)

Download the key file and store it. Apple lets you download it once.

[![Download the Sign in with Apple key](https://docs.ordering.co/assets/images/eb729be7ce5ef6154c8dd936-46eab15606c0f685d1fa5debb2d54a9e.png)](https://docs.ordering.co/assets/files/eb729be7ce5ef6154c8dd936-46eab15606c0f685d1fa5debb2d54a9e.png)

## Add Apple Merchant ID on the Customer App

In the Ordering.co Dashboard, open **Products** → **Customer App** and add **Apple Merchant ID**. Use the format **Team ID + app identifier**, for example `LXXXXXXXXF.com.demo.orders`.

[![Customer App Apple Merchant ID](https://docs.ordering.co/assets/images/bb4a0d4fc8ab51ced2d6a4eb-f02bc57d603b7150c9be26427dba7279.png)](https://docs.ordering.co/assets/files/8c7701f9e2fc160e6e4b1c88-4434109fedc538e5f5d7de3366040f14.png)

## Prepare the private key file

Open the downloaded `.p8` file.

[![Downloaded Sign in with Apple private key file](https://docs.ordering.co/assets/images/22a95dbc249ddf740a424f1a-615d6d496a9417bce3da21ff4e03288e.png)](https://docs.ordering.co/assets/files/22a95dbc249ddf740a424f1a-615d6d496a9417bce3da21ff4e03288e.png)

Delete the first and last lines (the `BEGIN` and `END` wrapper).

[![Private key with the first and last lines removed](https://docs.ordering.co/assets/images/a6f7c0ee8b27260433b8da75-9d6fb2386dfb8964e4af61679f866a96.png)](https://docs.ordering.co/assets/files/a6f7c0ee8b27260433b8da75-9d6fb2386dfb8964e4af61679f866a96.png)

Collapse the remaining lines into a single line (remove the spaces between lines) and copy it.

[![Private key collapsed into one line](https://docs.ordering.co/assets/images/7a616aca29bc2634bd81d95a-73612bdf39a214dedc130f3b4e94502d.png)](https://docs.ordering.co/assets/files/7a616aca29bc2634bd81d95a-73612bdf39a214dedc130f3b4e94502d.png)

Treat that string as a secret. Do not paste it into tickets or chat.

## Add the keys in Social login options

Open **Settings** → **Pro** → **Social login options** → **Apple Sign-in**.

[![Apple Sign-in fields in Social login options](https://docs.ordering.co/assets/images/328de765567f6ceee1481890-fb94086b147fd001acd3eaf6e8d92b30.png)](https://docs.ordering.co/assets/files/03f12c72ad271d514353ccc0-f5c961a4272e1547362b90c81cb2d864.png)

[![Apple Sign-in with Team ID, Login ID, Private Key, Private ID, and Bundle ID](https://docs.ordering.co/assets/images/17291d699a9779f50d578c12-11d97035e30f01ab0498cefe03bf10e3.png)](https://docs.ordering.co/assets/files/17291d699a9779f50d578c12-11d97035e30f01ab0498cefe03bf10e3.png)

[![Apple Sign-in settings ready for the converted private key](https://docs.ordering.co/assets/images/7933f8fbb8bcf05e2f6372f2-f0f118f38055226dd8a923f3be888a18.png)](https://docs.ordering.co/assets/files/d768992ce15572e65f40f49e-e511b0d0aff3f4b0d472a8f557722384.png)

### Apple Private Key

Paste the single-line contents of the downloaded key into **Apple Private Key**.

### Apple Private ID

In Apple Developer, open **Keys**, select the key you created, copy **Key ID**, and paste it into **Apple Private ID**.

### Apple Bundle ID

This is the identifier of the app package. In **Identifiers**, open the app you created, copy **Bundle ID**, and paste it into **Apple Bundle ID**.

### Apple Login ID

Copy the **Identifier** from the **Services ID** and paste it into **Apple Login ID**.

Also enter **Apple Team ID** from the Apple Developer membership details.

### Enable Apple Login

Set **Enable Apple Login** to **Yes** so the Customer App can show Sign in with Apple. Saving the credential fields without this toggle leaves the button hidden. Enabling the toggle does not by itself complete an Apple sign-in.

For the product overview, see [Sign in with Apple on Ordering.co](https://www.ordering.co/integrations/apple-sign-in/).

---

[Back to the main guide](https://docs.ordering.co/docs/products/dashboard/settings/pro/social-login-options/)
