prelim openid settings
This commit is contained in:
parent
41e5650d32
commit
13bd2b3937
1 changed files with 12 additions and 1 deletions
|
@ -324,7 +324,18 @@ require_once "$IP/extensions/Auth_FAS.php";
|
||||||
$wgAuth = new Auth_FAS();
|
$wgAuth = new Auth_FAS();
|
||||||
{% else %}
|
{% else %}
|
||||||
require_once "$IP/extensions/OpenID/OpenID.php";
|
require_once "$IP/extensions/OpenID/OpenID.php";
|
||||||
# add openid config here.
|
$wgOpenIDLoginOnly = true;
|
||||||
|
$wgOpenIDMode = 'consumer';
|
||||||
|
$wgOpenIDTrustRoot = 'https://fedoraproject.org/wiki/';
|
||||||
|
$wgOpenIDConsumerDenyByDefault = true;
|
||||||
|
$wgOpenIDServerForceAllowTrust = 'https://id.fedoraproject.org/openid/';
|
||||||
|
$wgOpenIDProposeUsernameFromSREG = true;
|
||||||
|
$wgOpenIDAllowNewAccountname = false;
|
||||||
|
$wgOpenIDAllowExistingAccountSelection = false;
|
||||||
|
$wgOpenIDTrustEmailAddress = true;
|
||||||
|
$wgOpenIDAllowAutomaticUsername = true;
|
||||||
|
// $wgOpenIDConsumerStorePath;
|
||||||
|
$wgOpenIDForcedProvider = 'https://id.fedoraproject.org/openid/';
|
||||||
{% endif %}
|
{% endif %}
|
||||||
require_once "$IP/extensions/fedmsg-emit.php";
|
require_once "$IP/extensions/fedmsg-emit.php";
|
||||||
require_once "$IP/extensions/HTTP302Found/HTTP302Found.php";
|
require_once "$IP/extensions/HTTP302Found/HTTP302Found.php";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue