Sign in with Apple
Requires apple developer account
-
Get an apple developer account & login
-
Navigate to account & click on "Certificates, IDs & Profiles"
-
Navigate to the identifiers page, click the plus sign to create a new identifier:
-
On the Register a New Identifier page, select "App IDs" and then click Continue
-
On the Register a new identifier page, select App and then click Continue:
-
Enter description and bundle ID. Apple recommends using a reverse-domain name string as the bundle ID. For example, if your domain is xootix.com then your bundle ID would be com.xootix.applelogin
-
Under capabilites, scroll down & select "Sign In with Apple" and then click "Configure"
-
Verify that Enable as a primary App ID is selected and then click Save
-
Click Register, your new app ID appears in the list of identifiers.
-
On the Identifiers page, click the plus sign to create a new identifier.
-
Select Service IDs and then click Continue:
-
Enter a services ID in the Identifier field. It cannot be same as your bundle ID. For example, you can add com.xootix.appleloginservice
-
Click on continue and then register. The new service identifier appears in your list of identifiers.
-
Click on your new service identifier and then, on the Edit your Services ID Configuration page, click "Configure" next to "Sign in with Apple".
-
On the Web Authentication Configuration page, click the Primary App ID dropdown list and select your application.
-
Under domains and subdomains, add your domain name.
-
Under "Return URLs", copy your website URL from your wp-admin -> settings -> general page and paste it here
-
Click next and done.
-
On the Certificates, Identifiers & Profiles page, click Keys
-
Click the blue and white plus sign to create a new key:
-
Enter the key name and check "Sign in with apple", click on configure button next to it.
-
Select the Primary app id and click on save, continue and register.
-
Download your key & Open this key file in text editor such as notepad
-
Navigate to wp-admin -> social login plugin settings -> apple tab
-
Copy all the text from your key file and paste it in the "Private key" option under plugin settings.
-
Navigate to your apple keys and select the created key. You will find the KEY ID there, copy and paste it in the "KEY ID" option under plugin settings.
-
Navigate to identifiers, select the created identifier and copy the "Team ID/APP ID" from there and paste it in the "Team ID" option under plugin settings.
-
Navigate to identifiers -> services IDS , copy the "Identifier" value from there and paste it in the "Client ID" option under plugin settings.