Jump to content

Extension:NaylorAMS

From mediawiki.org
This extension requires the PluggableAuth extension to be installed first.
MediaWiki extensions manual
NaylorAMS
Release status: stable
Implementation User identity
Description Allows authentication using Naylor Association Management Software (Timberlake)
Author(s) Jeffrey Wang for MyWikis LLC
Maintainer(s) MyWikis LLC
Latest version 0.2.0 (2024-08-10)
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.39+
PHP 7.4+
Database changes No
License GNU General Public License 2.0
Download
README
Quarterly downloads 0
Translate the NaylorAMS extension if it is available at translatewiki.net

The Naylor AMS extension extends PluggableAuth to provide authentication for organizations using Naylor Association Management Software (codename Timberlake).

This extension will take the username, first and last name, and email address of a user from your organization's Naylor database and create a local MediaWiki account with the same username, email, and full name if one doesn't exist; otherwise, if a user with the same username exists, it logs them back into the local MediaWiki account.

Installation

This extension requires PluggableAuth 7.x or 8.x to be installed first, as well as PHP's cURL extension.
  • Download and move the extracted NaylorAMS folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NaylorAMS
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'NaylorAMS' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

For more information about these terms, please refer to the Naylor AMS API documentation.

$wgNaylorAMS_BaseUrl
The base URL for your login system, provided by Naylor. Do not add a trailing slash at the end of the string. (required)
$wgNaylorAMS_SecurityKey
The security key provided by Naylor. (required)
$wgNaylorAMS_UsernameDenyList
An array of strings, with each string containing a local username. Used to prevent login via SSO to local-only accounts. Case sensitive; needs to follow MediaWiki username conventions.

By default, the log in button says Log in with Naylor AMS. To change the label, edit MediaWiki:Naylorams-loginbtn-text.

Disclaimer

This extension is not maintained by Naylor, nor has it been sponsored by Naylor. It was written by and is maintained by MyWikis LLC for the purpose of serving its customers who use Naylor AMS.

See also