Apple Authorisation
Instructions for setting up authorisation via Apple
Apple Developer Account Setup for Apple Sign-In Authorisation
Sign In: Access your Apple Developer account at https://developer.apple.com/account.
Note: You need an Apple Developer account with access to Certificates, Identifiers & Profiles to obtain keys for Apple authorization setup.
For guidance on setting up a developer account and joining the "Apple Developer Program" visit: https://developer.apple.com/programs/enroll/
Create App ID:
In the Certificates, Identifiers & Profiles section, click "".
On the "Identifiers" page the "+" icon.
In "Register a new identifier," select App IDs and click "".
In "Select a type," select App and click "".
а) On the next step "Register an App ID", enter the name of your project in the "Description" field -> for the "Bundle ID" field, select "Explicit" -> in the "Bundle ID" field, enter the reverse domain name of your service in the format:
domainZone.domain.oauth
(examplenet.boxexchanger.oauth
). In case your OP is located on a subdomain, you need to specify in the formatdomainZone.subDomain.domain.oauth
. The example of the filled fields "Description" and "Bundle ID" is shown in the . b) Below on the page, in the "Capabilities" section, check the box next to "Sign in with Apple," click "Continue," and then click "Register."The App ID has been successfully created.
Create Service ID:
On the Certificates, Identifiers & Profiles page, under the Identifiers section, click the "+" icon.
On the Register a new identifier page, select Services IDs -> click "".
In the Register a Services ID step: Enter your project name in the Description field -> In the "Identifier" field input the reverse domain name of your application in the format
domainZone.domain.service
(examplenet.boxexchanger.service
). If your application is hosted on a subdomain, use the formatdomainZone.subDomain.domain.service
. Refer to the example on the for correctly filled Description and Identifier fields -> click "Continue" -> then click "" to complete the registration.After successfully creating the Service ID, on the Certificates, Identifiers & Profiles page in the Identifiers section, use the filter in the top-right to select "" -> and click on the name of the previously created "Service ID".
On the Edit your Services ID Configuration page, check the box for Sign in with Apple and click "".
a) In the pop-up window for Web Authentication Configuration, the previously created App ID will be selected by default. b) In the Register Website URLs section "Register Website URLs" - For Domains and Subdomains, specify your domain in the following format: - If your domain includes "www":
www.domain.domainZone
If your app is on a subdomain, usew.subDomain.domain.domainZone
- If your domain does not include "www":domain.domainZone
If on a subdomain, format it assubDomain.domain.domainZone
c) In Return URLs, provide the callback URL in this format:https://www.domain.domainZone/service/auth/apple/callback
Example:https://www.boxexchanger.net/service/auth/apple/callback
A example illustrates completed fields. d) After filling in the fields, click Next. e) In the following step, Confirm your web authentication configuration, and click "".After closing the window from step 6, on the Edit your Services ID Configuration page, click "" in the upper-right corner -> then click "".
The Service ID has now been successfully created and configured.
Creating Authorisation Keys
In Certificates, Identifiers & Profiles, under Keys, "Keys" k the "+" icon.
On the Register a New Key page: Enter a Key Name , e.g.,
oauthKey
-> Check the box for "Sign in with Apple" -> click "".At the next step, "Configure Key," for the "Primary App ID" field, select the previously created "App ID" and click "".
On the "Register a New Key" page, click "" in the top-right corne -> then click "".
At the next step, "Download Your Key," copy the "Key ID" value to a secure location, click "Download" to download the secret key file, and then click "Done."
In the top-right corner of the page, copy the "Team ID" value to a secure location as shown in the .
On the "Certificates, Identifiers & Profiles" page, in the "Identifiers" section, select "Services IDs" from the filter in the top-right corner, then copy the "IDENTIFIER" value for the previously created "Service ID" to a secure location, as shown in the .
Configuration in the Admin Panel
Go to the BoxExchanger admin panel, open the "Authentication System" page, and find the "Apple" authentication method.
In the "" field enter the "Key ID" copied from step 5 of the previous section of the instructions.
In the "" field enter the "Team ID" copied from step 6 of the previous section of the instructions.
In the "" field enter the "IDENTIFIER" copied from step 7 of the previous section of the instructions.
In the "" field, enter the secret key from the downloaded file in step 5 of the previous section of the instructions. You can open the downloaded secret key file using a text editor of your choice.
Toggle the switch next to the "Apple" authentication method to the active position, as shown in .
In the admin panel, go to the "Site Settings" page, open the "" section -> and restart the "api-http" processes following the instructions below.
As a result, the Apple authentication method will be available in the client login and registration window.
Last updated