JDBC Driver for WordPress

Build 23.0.8839

Creating a Custom OAuth Application

Creating a Custom OAuth Application

WordPress uses the OAuth authentication standard, which requires the authenticating user to interact with WordPress via the browser. The driver facilitates the OAuth exchange in various ways, as described in "Connecting to WordPress".

Procedure

The following steps install the OAuth 2.0 plug-in and registers the driver in the WordPress admin console, creating what WordPress calls a "connected app". They also generate the OAuth credentials that are configured to connect via a Desktop, Web, or Headless Server.

  1. Log into your site through the WordPress adin panel.
  2. Install the OAuth2 Plugin.
    To install the plugin manually:
    1. Download the plugin folder.
    2. Copy the downloaded folder to the wp-content\plugins folder.
    3. In the WordPress admin interface, use the Plugins menu to activate the plugin.
  3. Navigate to OAuth Server > Add New Client.
  4. Fill in all required fields. Set CallbackURL to http://localhost:portnumber.
  5. Click Create Client. The admin panel displays the Client Id, Client Key, and Client Secret. Record these values for future reference.
  6. Navigate to Users > Applications > YourAppName and approve your new application.

You are now ready to connect and authenticate to WordPress, as described in the OAuth 2.0 Authentication section of "Connecting to WordPress".

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839