Social Logins > WordPress App Setup

This document provides instructions on properly setting up social login with WordPress.com accounts using the WP ULike Pro plugin. This feature allows users to log in/register on your site using their WordPress.com credentials.

Please note that enabling WordPress.com social login requires the  WP ULike Pro version.

Step 1: Create a WordPress.com App

  1. Go to the WordPress.com Developer Console: https://developer.wordpress.com/apps.
  2. Click on "Create a new application."
  3. Fill in the necessary information:
    • Name: Give your application a name (e.g., "WP ULike Social Login").
    • Description: Provide a brief description of your application.
    • Website URL: Enter the URL of your WordPress site.
    • Redirect URLs: Enter the callback URL provided by WP ULike: (You can find this URL in "Step 2" settings)
      https://yourdomain.com/?ulp-api=auth&provider=WordPress
    • Javascript Origins: Enter the same URL as the Website URL.
  4. Click "Create" to generate your WordPress.com app.
  5. After creating the app, you'll receive the "Client ID" and "Client Secret." Keep these credentials handy for the next steps.

Step 2: Configure WP ULike Social Login

  1. In your WordPress admin dashboard, go to "ULike ᴾᴿᴼ" > "Configuration" > "Social Logins."
  2. Enable the "Social Logins" option.
  3. Add a new social network and choose "WordPress.com" for the network option.
  4. Enter the "Client ID" and "Client Secret" from the WordPress.com app you created earlier.
  5. Choose your styling configurations and set an option for "Auto Display."
  6. Optionally, create a new profile tab and add the [wp_ulike_pro_social_login] shortcode to allow existing users to connect their WordPress.com accounts.
  7. Save your settings.

Step 3: Test the WordPress.com Social Login

  1. On your WordPress site, go to your login page (or profile page if you added the shortcode).
  2. Click on the "WordPress.com" login option.
  3. You'll be redirected to the WordPress.com login page. Log in with your WordPress.com account credentials.
  4. After successful authentication, you'll be redirected back to your profile with a success message.

Step 4: Verify Functionality

  1. After logging in with WordPress.com, ensure that your user profile is updated with the appropriate WordPress.com information.
  2. Test the social login multiple times to ensure consistent functionality.

Congratulations! You've successfully set up WordPress.com social login for the WP ULike Pro plugin.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us