MuleSoft Connector for WooCommerce

Build 21.0.7930

Creating a Custom OAuth App

Installing the plugin

You will need the OAuth2 Plugin in order to authenticate via OAuth2.0. To install the plugin manually, copy the downloaded folder to the wp-content\plugins folder and then Activate the plugin through the 'Plugins' menu in the WordPress admin interface.

Authenticate using Custom OAuth Credentials

To create an OAuth application, log into your site through the admin panel, navigate to OAuth Server and click on Add New Client. After filling in the required fields, you may click "Create Client" and the following Oauth credentials will be displayed:

  • Client Key - This will be your OAuthClientId
  • Client Secret - This will be your OAuthClientSecret

Note that while creating the OAuth application, you will be required to specify a Callback. This is the url the user will be redirected to after explicitly granting access. WooCommerce does not do any validation on this however, so you can input something like http://localhost:33333.

You can now use these credentials to connect to WooCommerce by setting them as the following connection properties:

  • OAuthClientId = Client Id
  • OAuthClientSecret = Client Secret
  • InitiateOAuth = GETANDREFRESH
  • CallbackURL = Callback
  • Url = The URL of your instance

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930