Last modified: 2012-08-16 04:37:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41360, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39360 - Account creation limited to existing accounts
Account creation limited to existing accounts
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OpenID (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: T. Gries
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-15 05:22 UTC by simone.hinterseher
Modified: 2012-08-16 04:37 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description simone.hinterseher 2012-08-15 05:22:13 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.
Comment 1 T. Gries 2012-08-15 05:54:39 UTC
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
Comment 2 simone.hinterseher 2012-08-16 04:37:50 UTC
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..

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links