MediaWiki plugin to authenticate users with their MyRadio credentials.
Originally written by Lloyd Wallis and Charles Pigott, updated to newer MediaWiki and PluggableAuth by Ash.
- Clone into the MediaWiki
extensions/directory. - Install PluggableAuth
- Load both plugins in
LocalSettings.php
wfLoadExtension('PluggableAuth');
wfLoadExtension('URYAuthenticator');
$wgPluggableAuth_Config = [
"Log in with MyRadio" => [
"plugin" => "URYAuthenticator",
"data" => [
"ApiKey" => "lol",
"ApiBase" => "https://ury.org.uk/api/"
],
],
];