Matthew J. Kellett

Website Architect and Developer

Wordpress Soap Authentication Plugin 1.0

Download the SOAP Authentication Plugin

This page contains an outline of the Wordpress Soap Authentication Plugin that I have recently developed. If you have any comments to make regarding this plugin please contact me or leave a comment below

Plugin Overview

Several large companies utilise an internal user management system, this plugin allows you to utilise this system to authenticate users with your Wordpress sites. There are several HTML based authentication scripts but there isn't one to use SOAP, hence why I wrote this one.

The Settings

When uploaded a menu will be added to the settings menu (or Super Admin menu if using WPMU) which allows the customisation of the plugin. This menu allows the full customisation of the SOAP Authentication plugin along with mappings for user details to ensure easier user integration.

The settings page is broken down into several aspect which are outlined below:

Webservice Settings

These are the main settings for the authentication script

  • WSDL Path - The path to the SOAP file that will handle the authentication
  • Auth Funciton - The function which will handle the authentication
  • Encryption Method - The encryption method for sending the password across the internet
  • Auth Repsonse Field - The field that contains the authorisation message
  • Expected Response - The expected response if a user is authenticated i.e. yes / 1/ true
  • Response Message - The field which contains a message if authentication fails
  • Port Number - An override for the port number if different than 80

Field Mappings

These are the user mappings from the response to the WP database

  • Response User Section - The field which contains the main user data if not in the root response
  • First Name - The field which contains a users first name
  • Last Name - The field which contains a users first name
  • Display Name - The field which contains a users display name (defaults to username if blank)
  • Email - The field which contains a users email address
  • URL - The field which contains a users website URL

Role Mappings

These are the user mappings from the response to the WP database

  • Response Role Field - The field which contains the user role for mappings purposes
  • The Roles - The roles which are currently set up within WP installation are listed here, you can then assign a users role to a specific WP role
  • Super Admin - If WPMU is installed then an extra option will appear to map users to Super Administrators

Custom Messages

This section allows you to specify messages throughout the system (including HTML)

  • Message for Login - The message which appears on the login screen to inform users about the login

Manual Configs

There are a couple of sections which need to be manually edited before using the plugin (until options are built). These are as follows:

  • Help Tip Image Path - admin.js:5 - At the top of the file there is a path which may or not need updating to the correct path of the plugin (defaults to root path: "/wp-content/plugins/soap-auth/images/help.png"
  • Auth Call - soap_auth.php:331 - This is the call to the main authentication, add additional parameters to this line i.e. system identifiers


There have been no recent changes

Future Changes

There are a couple of additional settings that I am working on at the moment including additional paramaters for the authentication call i.e. system identifier

Download the SOAP Authentication Plugin


  • Settings Page


    This screenshot shows the settings page for the plugin. The page includes JavaScript based tooltips to guide you through each of the settings.

  • Login Page


    This screenshot shows the message entered into the settings page for informaing users about the authentication process.


Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you need official support, you'll need to restore the unmodified files.


There are no comments for this article


If you like this plugin or use it then please donate something to me so I can continue updating this as well as creating new ones

About Me

I am a website architect and developer working as a senior developer for BT Customerstreet in Lancaster.

I specialise in PHP and MySQL but I also utilise several technologies and techniques including XML, XSLT, MVC, DAO and SOA to name a few.

More info

Latest Updates

The latest additions to my development portfolio