How to Add WordPress.com Social Login to Your Site

The social login addon lets you add WordPress.com Social Login so users can register and log in to your site with their WordPress.com account.

You must create an application to add a WordPress.com social login to your site.

Creating a WordPress.com Application

Go to https://developer.wordpress.com/apps/. You will be asked to log in to your WordPress.com account if you aren’t already logged in.

Click on the “Create New Application” button in the top right corner.

 

Enter a name, description, and your website URL for the application.

Enter into the “Redirect URLs” field, https://yoursite.com/ppauth/wordpresscom. Don’t forget to replace “yoursite.com” with your website domain name.

At the “Type” setting, ensure you select the “Web” option.

When you are done, submit the form by clicking the “Create” button.

After the app is created, you will find the necessary “Client ID” and “Client Secret” in the Oauth information section of the application page.

Save them somewhere, as we need them shortly.

Integrating WordPress.com App With the Social Login Addon

Login to your WordPress dashboard. Go to ProfilePress >> Settings >> Social Login.

Save the Client ID and Client Secret to the WordPress.com Settings.

To complete the WordPress.com social login integration, we need to create a custom WordPress login and registration form and add the WordPress.com login button.

You will need to use the forms as your login and user registration pages.

Follow this article to learn how to add the social login button to checkout, registration, and login forms.

The end!

Get ProfilePress & The Social Login Addon