> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/other-topics/apple/service-id.md).

# Service ID

Use [Sign in with Apple](https://developer.apple.com/sign-in-with-apple/) to let your users sign in to your app’s accompanying **website** with their Apple ID. To configure web authentication, you must create a Services ID and associate your website to an existing primary iOS, macOS, tvOS, or watchOS App ID enabled for [Sign in with Apple](https://developer.apple.com/sign-in-with-apple/).

1. [Create Service ID](#create-service-id)
2. [Find Service ID using Apple Developer Portal](#find-service-id-using-apple-developer-portal)

## Create Service ID

1. In [Certificates, Identifiers & Profiles](https://developer.apple.com/account/resources), click Identifiers in the sidebar, then click the add button (+) on the top left.
2. Select Services ID, then click Continue.

   <figure><img src="/files/TDUSi1P5kgnSWiiSZRj6" alt="Select Services ID, then click Continue"><figcaption><p>Select Services ID, then click Continue</p></figcaption></figure>
3. Enter the Services ID description and provide a unique identifier.

   <figure><img src="/files/ElficV7I1EAniwSGkINR" alt="Use unique identifier not Bundle ID of any app"><figcaption><p>Use unique identifier not Bundle ID of any app</p></figcaption></figure>
4. Register the Services ID and select it from the list to start configuration.
5. Select Sign in with Apple, then click Configure.
6. Select your app from the list of primary App IDs related to your website in the modal that appears.
7. Under Website URLs, provide **api.codemash.io** in the *Somains and Subdomains* section, and set **<https://api.codemash.io/auth/apple>** as *Return URLs*.

   <figure><img src="/files/aZWtVWE1sFvTFLKVTRUp" alt="Under Website URLs, provide api.codemash.io in the Somains and Subdomains section, and set https://api.codemash.io/auth/apple as Return URLs."><figcaption></figcaption></figure>
8. Click Done to store your configuration.
9. Click Continue.
10. Review the configuration, then click Save.

## Find Service ID using Apple Developer Portal

1. Go to the [Apple Developer Portal](/other-topics/apple/developer-portal.md) and sign in with your Apple ID.
2. From the home page, click on the "Identifiers" link.

   <figure><img src="/files/e6sggCbJsuki10EzvI7T" alt=""><figcaption><p>Press "Identifiers" link</p></figcaption></figure>
3. You will see a list of all registered identifiers to your account. Please ensure that the "**Services IDs"** filter is selected on the right side of the screen.

   <figure><img src="/files/C48AggLdRDMMrw3u2IRd" alt=""><figcaption></figcaption></figure>
4. Filter and find services by description or identifier.
5. The identifier is your Service ID

{% hint style="info" %}
Here is the original Apple documentation - <https://developer.apple.com/help/account/configure-app-capabilities/configure-sign-in-with-apple-for-the-web>
{% endhint %}
