Extension:AuthFlarum

The AuthFlarum extension allows to connect to MediaWiki from an account based on the Flarum forum solution.

Requirements

 * MediaWiki 1.36+ (Need features added in 1.36).
 * Flarum 1.0.0.

Configuration parameters

 * $wgAuthFlarumUri
 * URI of your Flarum instance.


 * $wgAuthFlarumAutoCreate
 * Allows auto creation of MediaWiki account from Flarum? Becarrefull, also need:

$wgGroupPermissions['*']['autocreateaccount'] = true; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['sysop']['createaccount'] = false;
 * $wgAuthFlarumAutoCreateMinPost
 * Need a minimum number of posts to allow auto creation of MediaWiki account.

User rights
Need: $wgGroupPermissions['*']['autocreateaccount'] = true; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['sysop']['createaccount'] = false;