How to Integrate Apple Social Login on WordPress

LoginPress Pro Social Login Add-on has now introduced the Apple Social Login integration for your WordPress site.

The Apple Social Login allows users to log in and register to your WordPress site using their existing Apple accounts.

Learn how to integrate it into your login/register form using LoginPress.

Create an App for Apple Social Login in LoginPress

Note: See our complete guide on Social Login to learn how to activate LoginPress Social Login Add-on. 

Apple provider requires an active subscription to the Apple Developer Program, which costs $99 annually. You must enroll in the developer program to proceed. 

The steps for creating an app to use Apple Login in a web application are as following:

Step 1: Create an Apple ID

1. Navigate to Identifiers.

2. Click the blue + icon next to Identifiers, then select the App IDs option and click the Continue button.

Register App IDs
Register App ID Option

3. Choose the App option as type and click the Continue button.

Choose App Identifier
App Identifier Type

4. Enter a description for your APP ID.

5. In the Bundle ID field, select the Explicit option and enter your domain name in reverse-domain name style, with the app's name on its end. (i.e., com.domainname.appname)

New App ID Settings
App ID Settings

6. Under the Capabilities section, tick the Sign In with Apple option.

Sign in with Apple under capabilities section
Sign in with Apple (capability)

7. Scroll up and press the Continue button and then the Register button.

Step 2: Create the Apple Key

1. Navigate to the Keys tab.

2. Click the blue + icon next to Keys.

3. Enter a name in the Key Name field.

Add New Key Name
Add New Key Name

4. Tick the Sign In with Apple option, then click on Configure.

Select Sign in with Apple
Select Sign in with Apple

5. Select the app you just created from the Primary App ID dropdown, then click Save.

Configure App ID Key
App ID Key Configuration

6. Finally, press the Continue button and then the Register button.

Register New Apple Key
Register New Apple Key

7. Don’t download the key yet, we will do that later in the coming steps.

Download Key Option
Key Download Option

Step 3: Create the Apple Service

1. Navigate to Identifiers again. 

2. Click the blue + icon next to Identifiers, then select the Services IDs option and click the Continue button.

Register Services ID
Register Apple Services ID

3. Enter a description for your Services ID.

4. In the Identifier field, enter your domain name in reverse-domain name style, with the name of the client at its end. (i.e., com.domainname.clientname)

Apple Services ID Settings
Apple Services ID Settings

Note:  Keep the “com.domainname” part same as set previously in Step 1 but change the clientname part here, otherwise, you may face this error: “An attribute in the provided entity has invalid value. An App ID with Identifier is not available. Please enter a different string.”

5. Now click the Continue button and then the Register button.

6. In the Services IDs section, click the service you just created.

7. Tick the Sign In with Apple option and click the Configure button next to it.

Edit Services ID
Edit Apple Services ID

7.1. Select the App from Primary App ID dropdown you created in Step 1

7.2. Fill in the Domains and Subdomains field with your domain name. For example: loginpress.pro.

7.3. Add the following URL to the Return URLs field:

https://yourdomainname.com/wp-login.php?lpsl_login_id=apple_check

Note: Make sure to replace “yourdomainname.com” with your domain name, as in our example: loginpress.pro.

Web Authentication Configuration - Apple
Web Authentication Configuration - Apple Login

8. Click the Next button. Before proceeding with Done, review the Primary Bundle ID and Website URLs, as these settings can not be edited later. 

9. Finally, click the Continue button and then the Save button.

Configure Apple Services ID
Configure Apple Services ID

Step 4: Apple Social Login Settings

Now, follow the steps below to add keys to the LoginPress Social Login settings for Apple.

Go to LoginPress > Settings and open the Providers tab from the Social Login tab. Click the Configure button for Apple. After enabling Apple login, you will see four fields. 

1. Service ID: Navigate to the Identifiers tab in the Apple Developer account. You will find the Service ID under the IDENTIFIER column. Copy it and paste it into the Service ID field. 

2. Key ID: Navigate to the Keys tab. Click on the name of your Key and you will see the Key ID. Copy and paste it into the Key ID field. 

3. Team ID: It is a 10-character long identifier that you can find in the top-right corner under your name. Copy it and paste it into the Team ID field.

4. Private Key: Now, click the Download button for the Key you have generated in Step 2. Once this file is downloaded, it will no longer be available, so keep it safe! Open the downloaded file with a text editor like Notepad, copy all of its contents, and paste it into the Private Key field.

Make sure you copied everything from the key file you downloaded, including the following parts:

—–BEGIN PRIVATE KEY—–

—–END PRIVATE KEY—–

Service ID Identifier
Service ID Identifier
View Key Details - Apple
View Key Details - Apple

After saving your changes, verify your app settings. This will generate a token that validates the authorization grant code provided to your app. Please note that this token cannot be edited directly. This indicates that your configuration for Apple social login is successful. 

You should now see this screen that ensures the token has been generated successfully.

Apple Social Login Settings
Apple Social Login Settings

If you need to reset the settings and use some other keys, click the Reconfigure button and follow the same steps again. 

Once finalized, you can see the Apple Social Login button on your WordPress Login forms as shown below:

Apple Social Login Button
Apple Social Login Button

Conclusion

We hope you now understand how to integrate Apple Social Login into your WordPress login and registration form.

That’s all for this guide.

Looking to add more social logins to your WordPress site with LoginPress? Check the following docs:

Feel free to contact us if you have any further questions or need help.

Still stuck? How can we help?

Updated on March 10, 2025

Documentation
triangular shape yellowish icon

Frequently Asked Questions (FAQs)

These FAQs answer the most common questions about our WordPress custom login page plugin.

after animated element
three shapes icon

Where can I get support for LoginPress?

If you need help with LoginPress, you can contact us here. We’ll be happy to answer any questions about the plugin.

Do you have an affiliate program?

Yes, we have an affiliate program that you can sign up for here. As an affiliate, you’ll earn a commission on every sale you refer to us.

Do you offer refunds?

Yes, we offer a 14-day money-back guarantee on all of our plans. If you’re unsatisfied with LoginPress, simply contact us within 14 days of your purchase, and we’ll process a refund.

Can I upgrade my license after my initial purchase?

Yes, you can upgrade your LoginPress license at any time. Simply log into your account and go to the My Downloads page. From here, you can upgrade your license and download the latest version of the plugin.

Will LoginPress slow down my website?

No, LoginPress will not slow down your website. The plugin is lightweight and only loads the necessary files when someone tries to access your login page.

three shapes icon

If you Still have Questions?

Get In Touch