Skip to content

Apple

Integrate Sign In with Apple with Sngine in a few easy steps to let your users log in with their Apple accounts.

Step 1 — Create an App ID

  1. Go to https://developer.apple.com/account/resources/identifiers/list and sign in with your Apple Developer account. Click the + button next to Identifiers, select App IDs and click Continue

    Go to https://developer.apple.com/account/resources/identifiers/list and sign in with your Apple Developer account. Click…

  2. Select App as the type and click Continue

    Select App as the type and click Continue

  3. Fill in a Description and a reverse-domain Bundle ID (e.g. com.yourdomain.sngine). Under Capabilities search for Sign In with Apple, enable it and click Continue then Register

    Fill in a Description and a reverse-domain Bundle ID (e.g. com.yourdomain.sngine). Under Capabilities search for Sign In…

  4. Open the newly created App ID, find Sign In with Apple in the Capabilities list and click Edit

    Open the newly created App ID, find Sign In with Apple in the Capabilities list and click Edit

  5. Select Enable as a primary App ID and click Save

    Select Enable as a primary App ID and click Save

Step 2 — Create a Services ID

  1. Go back to Identifiers, switch the filter to Services IDs and click Register a Services ID

    Go back to Identifiers, switch the filter to Services IDs and click Register a Services ID

  2. Select Services IDs and click Continue. Fill in a Description and a unique Identifier (e.g. com.yourdomain.sngine.siwa) then click Continue and Register

    Select Services IDs and click Continue. Fill in a Description and a unique Identifier (e.g. com.yourdomain.sngine.siwa) then…

  3. Click on the newly created Services ID to edit it

    Click on the newly created Services ID to edit it

  4. Enable Sign In with Apple and click Configure

    Enable Sign In with Apple and click Configure

  5. In the Web Authentication Configuration panel, select your Primary App ID created in Step 1. Then add your domain under Domains and Subdomains and add the callback URL under Return URLs as follows:

    If you installed Sngine in your domain directly like domain.com the Return URL should be:
    https://www.domain.com/connect/apple

    If you installed Sngine without www:
    https://domain.com/connect/apple

    If you installed Sngine in a sub-domain like sub.domain.com:
    https://sub.domain.com/connect/apple

    If you installed Sngine in a directory like domain.com/directory:
    https://www.domain.com/directory/connect/apple

    Click Next then Done, then click Continue and Save

    Click Next then Done, then click Continue and Save

Step 3 — Create a Private Key

  1. Go to Keys in the left sidebar and click the + button to register a new key

    Go to Keys in the left sidebar and click the + button to register a new key

  2. Enter a Key Name, enable Sign In with Apple and click Edit to associate it with the App ID created in Step 1. Click Continue then Register. Download the .p8 key file and note the Key ID — the file can only be downloaded once

    Enter a Key Name, enable Sign In with Apple and click Edit to associate it with the App ID created in Step 1. Click Continue…

Step 4 — Configure Sngine

  1. Go to Sngine Admin Panel → Settings → Registration Settings → Social Login and fill in the following fields:

    • Services ID — the Identifier of the Services ID created in Step 2
    • Team ID — your 10-character Apple Developer Team ID (visible in the top-right of the Developer portal)
    • Key ID — the Key ID noted when downloading the .p8 file
    • Private Key — the contents of the downloaded .p8 file

    Apple — screenshot 13