Last modified: 2012-08-16 04:37:50 UTC
I installed the OpenID Extension for the first time. When I want to log in using OpenID (MediaWiki as OpenID consumer), I select Google as OpenID server. I am then forwarded to Special:OpenIDLogin/Finish. On this page only the following option is shown to create an account: - "An existing account on this wiki". However, the respective user doesn't have a an existing account on the wiki yet. To make sure the other options that usually exist are not deactivated by default, I set the following variables in LocalSettings.php: $wgOpenIDProposeUsernameFromSREG = true; $wgOpenIDAllowNewAccountname = true; $wgOpenIDAllowExistingAccountSelection = true; $wgOpenIDAllowAutomaticUsername = true; Below are the versions I use: OpenID (Version 1.004 20120427) MediaWiki 1.19.1 PHP 5.3.3 (apache2handler) MySQL 5.0.95 The prerequisists are all fulfilled.
1. Please make sure to set your parameters _after_ the require_once("$IP/extensions/OpenID/OpenID.php"); call, otherwise it overwrites them with its built-in defaults. 2. Make sure to have also $wgGroupPermissions['*' ]['createaccount'] = true; // set to false to disallow account creation
Thanks, your second suggestion resolved the issue. I didn't read about the requirement of having the $wgGroupPermissions parameter set like that. Maybe that would be good to have on beneath the first aid checklist..