Skip to main content

Documentation

IMPORTANT

This is the outdated SI-documentation which will be adapted soon. A huge part may be obsolete!

Apple App Configuration

Apple Application Configuration

In order to use Apple Sign In, you will require to have membership in the Apple Developer Program. In this guide, we'll guide you configure Apple Application to be implemented on your site.

Creating App ID

  1. You will need to go login to Apple Developer Portal and click on Certificates, Identifiers and Profiles.

    EasySocial Apple App Configuration

  2. From the sidebar, choose Identifiers then click the blue plus icon.

    EasySocial Apple App Configuration

  3. Choose App IDs in the first step and click continue and choose type App in the next screen.

  4. Click Continue and you will want to enter the Description and Bundle ID.

    EasySocial Apple App Configuration

  5. Next, scroll down until you see Sign In with Apple. Tick on the checkbox next to it. Then, click Continue.

    EasySocial Apple App Configuration

  6. Click Register to proceed.

Creating Services ID

  1. Again, choose Identifiers on the sidebar then click the blue plus icon.
  2. Choose Services IDs.
  3. In the next step, define the name of the app as well as the identifier which will become the Oauth client_id. This client_id is needed later in EasySocial Back-end.

    EasySocial Apple App Configuration

  4. Click Continue, then click Register on the next page.

  5. Go back to Identifiers listing page and filter by Services IDs. You will see the identifier you just created. Click on it.

    EasySocial Apple App Configuration

  6. On the next page, tick Sign In with Apple and click on Configure button.

    EasySocial Apple App Configuration

  7. This is where you’ll define the domain your app is running on, as well as defining the redirect URLs used during the OAuth authentication.

    EasySocial Apple App Configuration

  8. Make sure your associated App ID is selected as the Primary App ID and enter the domain name your app will be running at.

  9. For the Redirect URL, you may want to copy it from your EasySocial Backend > Settings > Social > Apple Sign-In

    EasySocial Apple App Configuration

  10. Go ahead and click Next and then Done. Once all the details are confirmed click Save on the previous page.

Creating Private Key

  1. Back in the main Certificates, Identifiers & Profiles screen, choose Keys from the side navigation.
  2. Click the blue (+) icon.
  3. Enter a name for the key and tick Sign In with Apple checkbox.
  4. Click on Configure next to the checkbox and select your primary App ID that you created earlier. Click Save.
  5. Click Continue button to proceed and click Register.
  6. On the next page, you will be able to download .p8 key. Download it for later use.

    EasySocial Apple App Configuration

  7. You will also be given a Key ID which will be used later in EasySocial Back-end.

Generate Client Secret

  1. Go to EasySocial Backend > Settings > Social > Apple Sign-In.
  2. Client ID: Enter the client_id that was created earlier in Creating Services ID step.
  3. Team ID: You can get your Team ID from the Apple Developer Portal - Certificates List

    EasySocial Apple App Configuration

  4. Key ID: This is the Key ID generated from the Creating Private Key section.

  5. Key File: Upload .p8 key file that you downloaded earlier.
  6. Click Save button.
  7. Once the setting is saved, you will see Client Secret field appeared.
  8. Click on the Generate button to generate token. Then Save the settings.

Important

This token will be generated using Json Web Tokens Generator by StackIdeas. An active EasySocial subscription is required to use the service.

The token generator will get executed every 6 months via cronjobs before it gets expired. Please remember to setup the cronjobs for your site.

Extra: Register Domains with Apple

There are cases where user chose to Hide Email when registering to your site. Private relay email addresses will be used intead of real email.

To be able to send email to this addresses, you need to register your domain with Apple.

  1. First, you will need to add a Sender Policy Framework (SPF) DNS TXT record to your domain. You can consult with your hosting provider about this.
  2. Next, go to Apple Developer Portal and click on Certificates, Identifiers and Profiles.
  3. Select More from the sidebar and click on Configure button.
  4. Click on + next to the Email Sources.
  5. Add your SPF enabled domain under Domains and Subdomains section.

    EasySocial Apple App Configuration

    EasySocial Apple App Configuration

We use cookies
We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience. You can decide whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.