${item.title}
${item.title} ${item.afterBtn.text}
${item.text}
${item.title}
${item.afterBtn.text}

${articleTitle}

How to Connect WooCommerce by OAuth Plugin?

30968 5 mins article
Date Created: May. 14, 2021 11:19:03 Last Edited: Jun. 26, 2026 08:23:41

Connecting your WooCommerce store to CJdropshipping using the OAuth Plugin lets you securely list products and automate order fulfillment even when the Default method is unavailable. This guide walks you through installing the OAuth plugin in WordPress, generating your Client Key & Client Secret, and connecting your store in CJ.

Warning: Use the OAuth Plugin method only when your hosting environment doesn't support HTTPS or when the Default method fails. It requires the WordPress REST API - OAuth 1.0a Server plugin to be installed and activated first.
Step 1Log in to WordPress Admin

Log in to your WordPress/WooCommerce admin dashboard. Ensure the WooCommerce plugin is installed and activated — you should see WooCommerce in the left sidebar.

Step 1
Step 2Key PointInstall the WordPress REST API – OAuth 1.0a Plugin

In the WordPress sidebar, go to Plugins → Add New. In the Search plugins box (top right), search for WordPress REST API - Oauth 1.0a. In the results, find WP REST API – OAuth 1.0a Server (by Joe Hoyle) and click Install Now (if the plugin was installed before, this button shows Update Now instead), then click Activate. Once activated, an Applications entry appears under Users in the sidebar.

Step 2
1Search box — enter "WordPress REST API - Oauth 1.0a"
2WP REST API – OAuth 1.0a Server — click Install Now, then Activate
Step 3Verify WooCommerce is Active

Confirm WooCommerce is installed and activated. In the left sidebar, click Plugins — WooCommerce should appear in the list with status Active.

Step 3
Step 5Go to Users → Applications Key Point

In your WordPress admin dashboard, navigate to Users → Applications. You can open this page directly at: your-site.com/wp-admin/users.php?page=rest-oauth1-apps (replace your-site.com with your actual domain). On this page, click the Add New button to create a new OAuth application.

Step 5
1Add New — click to create a new OAuth application
Step 6Fill in Application Details Key Point

In the Add Application form, fill in the following fields:
Consumer Name: e.g. CJ Dropshipping
Description: e.g. Connect WooCommerce store to CJ Dropshipping
Callback: Enter exactly https://cjdropshipping.com — this exact address is required and must not be changed

Then click Add Consumer.

Step 6
1Consumer Name
2Description
3Callback (must be https://cjdropshipping.com)
4Add Consumer button
Step 7Copy Client Key & Client Secret Key Point

After clicking Add Consumer, the page refreshes and the OAuth Credentials section appears below the form. Copy and save the Client Key and Client Secret — you will need both values when connecting your store in Step 10.

Step 7
1Client Key — copy this value
2Client Secret — copy this value
Step 8WooCommerce App Installation

Log in to CJdropshipping. In the left sidebar click Apps, then click Install App to open the app marketplace. Scroll to the E-commerce Platform section, find WooCommerce and click the download icon on its card. Wait for installation to complete — WooCommerce will then appear in the sidebar under Apps.

Note: If WooCommerce already appears in your left sidebar under Apps, it has been installed previously. You can skip this step and go directly to Step 9.
Step 8
1Apps — left sidebar entry to app management— Click to expand the Apps section
2Install App — opens the app marketplace popup— Find WooCommerce in the E-commerce Platform section here
3WooCommerce app install icon— Click the download icon to install WooCommerce
Step 9Open CJ's WooCommerce Page

Log in to CJ Dropshipping. In the left sidebar, go to Apps → WooCommerce. If no stores are connected, you'll see an empty page with an Add Store button.

Step 9
1Add Store — click to start connecting your WooCommerce store
Step 10Fill OAuth Plugin Credentials in CJ Key Point

Click Add Store. In the dialog, under Authorization, select OAuth Plugin. Fill in the following fields:
Site Url: Enter your WooCommerce site domain (e.g. yourstore.com) — enter your own site address, not the example shown
Client Key: The Client Key from Step 7
Client Secret: The Client Secret from Step 7

Then click Next.

Step 10
1Site URL (enter your own site address)
2Client Key (from Step 7)
3Client Secret (from Step 7)
4Next button
Step 11Authorize on WordPress Key Point

A WordPress authorization page opens showing Connect CJ Dropshipping. The page states that "CJ Dropshipping" would like to connect to your store. Click the Authorize button to approve the connection.

Step 11
1Authorize button — click to approve the connection
Step 12Confirm Store Activation in CJ Key Point

After authorizing, you are redirected back to CJ. Your WooCommerce store now appears in the Store List with Token Verification Results: Authorized and Store Status: Activated. The connection is complete — CJ can now sync products and orders with your WooCommerce store.

Step 12
1Token Verification: Authorized
2Store Status: Activated

Related Questions

QWhen should I use the OAuth Plugin method instead of the Default method?
Use the OAuth Plugin method when your hosting environment doesn't support HTTPS or when the Default method fails. The OAuth Plugin (WordPress REST API - OAuth 1.0a Server) provides a more secure authorization flow that works in environments where standard API key authentication isn't reliable.
QHow do I install the WordPress REST API - OAuth 1.0a Server plugin?
In WordPress admin, go to Plugins → Add New. Search for WordPress REST API - Oauth 1.0a, find WP REST API – OAuth 1.0a Server (by Joe Hoyle) in the results, and click Install Now, then Activate. Once activated, an Applications page appears under Users, where you create the OAuth application.
QWhere do I create the OAuth application, and what Callback URL should I use?
After activating the plugin, go to Users → Applications (or your-site.com/wp-admin/users.php?page=rest-oauth1-apps). Click Add New, enter a Consumer Name and Description, and set the Callback to exactly https://cjdropshipping.com — this exact address is required and must not be changed. Click Add Consumer to generate your Client Key and Client Secret.
QWhy do I need to set the WooCommerce Permalink to 'Post name'?
WooCommerce's REST API requires the Permalink structure to be set to Post name in WordPress Settings → Permalinks. Without this, API calls will fail because WordPress won't route REST API requests correctly.
QHow do I complete the connection in CJ after getting the Client Key and Secret?
In CJ, go to Apps → WooCommerce → Add Store, switch Authorization to OAuth Plugin, then enter your Site URL, Client Key, and Client Secret (from Step 7). Click Next — a WordPress authorization page opens; click Authorize. Your store then appears in the list as Activated.