Skip to content

Apple

This how-to configures Sign in with Apple for LootLocker's Unified Player Accounts, letting your users authenticate with Sign in with Apple on https://auth.game to start remote sessions or link their accounts to other accounts.

Prerequisites

Configure a Service ID in Apple

Go to your Apple Developer Dashboard and click Identifiers.

Apple Developer Dashboard with the Identifiers link highlighted

Create a new Service ID to use with LootLocker. Click the magnifying glass next to App IDs in the top right corner and choose Service IDs:

Identifiers page with the magnifying glass filter for switching to Service IDs

Click the + next to Identifiers to create a new Service ID:

Service IDs list with the + button to create a new Service ID

Select Services ID and click Continue. Enter a description and an identifier for your Services ID, then click Continue:

Registering a new Services ID with a description and identifier

Verify your information and click Register:

Confirmation screen for registering a new Services ID

Back in the list of Services IDs, click your newly created Service ID:

Newly created Service ID shown in the list of Services IDs

Enable Sign in with Apple by checking the checkbox, then click Configure:

Sign in with Apple checkbox and Configure button on the Service ID

Select your existing App ID from the dropdown list. In Domains & Subdomains, enter:

  • auth.game (without https://)

In Return URLs, enter:

  • https://auth.game/return/apple

Click Next.

Web Authentication configuration with App ID, Domains, and Return URLs fields

On the next screen, press Done:

Confirmation screen after adding domains and return URLs, with the Done button

Create a Key

With the Service configured, next create a Key shared between LootLocker and Apple.

Click All Identifiers in the top left corner, then select Keys in the list (or go to https://developer.apple.com/account/resources/authkeys/list). Click the + icon to create a new Key.

Keys list in the Apple Developer Portal with the + button to create a new key

Enter a name for the Key and an optional description. Check Sign In With Apple and press Configure.

Registering a new key with a name and Sign In with Apple checked

Select the same App ID as your app from the dropdown list and click Save.

Configuring the key's Primary App ID to match your app

You're taken back to the previous screen — press Continue.

Continue screen after configuring a new key

Click Register.

Final Register screen for the new key

Download the key and store it locally, then press Done.

Download button for the newly created key

Configure Apple in the Web Console

With setup on Apple's side complete, enable External Authentication and Sign in with Apple in the LootLocker Web Console.

External Authentication and Sign in with Apple toggles in the LootLocker Web Console

With this enabled, input the information from your Apple Developer Account.

Client ID: go to the Apple Developer Console and copy the Identifier of your app:

Copying the app's Identifier from the Apple Developer Console

Paste it into the Client ID field in LootLocker:

Pasting the Client ID into the LootLocker Web Console

Bundle ID and Team ID: click the entry for your app that had the Client ID you copied, and copy the Team ID and Bundle ID:

Team ID and Bundle ID shown for the app in the Apple Developer Console

Paste them into LootLocker:

Pasting the Bundle ID and Team ID into the LootLocker Web Console

Press Choose File and upload the file you downloaded previously from Apple:

Choose File button for uploading the downloaded Apple key certificate

Conclusion

You've enabled and configured Sign in with Apple for Unified Player Accounts. With Sign in with Apple available in your game, you're prepared to start remote sessions with Apple, and by adding more platforms to Unified Player Accounts, you unlock the ability for players to connect all their accounts together — syncing their game saves, progressions, and more.