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
- Go to the WordPress.com Developer Console: https://developer.wordpress.com/apps.
- Click on "Create a new application."
- 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)
- Click "Create" to generate your WordPress.com app.
- 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
- In your WordPress admin dashboard, go to "ULike ᴾᴿᴼ" > "Configuration" > "Social Logins."
- Enable the "Social Logins" option.
- Add a new social network and choose "WordPress.com" for the network option.
- Enter the "Client ID" and "Client Secret" from the WordPress.com app you created earlier.
- Choose your styling configurations and set an option for "Auto Display."
- 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.
- Save your settings.
Step 3: Test the WordPress.com Social Login
- On your WordPress site, go to your login page (or profile page if you added the shortcode).
- Click on the "WordPress.com" login option.
- You'll be redirected to the WordPress.com login page. Log in with your WordPress.com account credentials.
- After successful authentication, you'll be redirected back to your profile with a success message.
Step 4: Verify Functionality
- After logging in with WordPress.com, ensure that your user profile is updated with the appropriate WordPress.com information.
- 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.