Extension:NaylorAMS

From Linux Web Expert

File:PluggableAuth Icon.svg This extension requires the PluggableAuth extension to be installed first.
MediaWiki extensions manual
NaylorAMS
Release status: beta
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.1.0 (2021-3-24)
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.31+
PHP 7.0+
Database changes No
License GNU General Public License 2.0
Download
README
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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 5.x to be installed first, as well and PHP's cURL extension.
  • <translate> [[<tvar name=2>Special:ExtensionDistributor/NaylorAMS</tvar>|Download]] and move the extracted <tvar name=name>NaylorAMS</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/NaylorAMS
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'NaylorAMS' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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 <span class="nowrap" title="<translate nowrap> This is not a clickable button; it illustrates the button one should find.</translate>" style="padding:.2em .6em; border:1px solid; border-color:#AAA #555 #555 #AAA; border-radius: 3px; background-color: #F2F2F2; background-image: linear-gradient(to bottom, #FCFCFC, #E0E0E0); ">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.

In addition, the extension is currently not compatible with PluggableAuth 6.0 and above. Use the latest version of PluggableAuth 5.x in the meantime.

See also