I installed the OpenID extension and everything seems to work fine. But when I choose a provider to login, all the pre-configured providers are failing. For example, Google says:
Fehler:invalid_request Error in parsing the OpenID auth request.
Also Yahoo! doesn't works:
Sorry! There is an error with the request we received from the website you are trying to use. Please try again in a few minutes. If this error persists please contact the site administrator.
At least, I want to allow login only for users comming from our own Drupal installation (which acts as an OpenID provider). Also this doesn't works, when I choose "OpenID" and enter my own URL, I got the error:
Verification error An unspecified authentication response/request error occurred during the verification of the OpenID URL https://rd-alliance.org/user/1341/identity.
I actgivated the logs and get the output:
Start request POST /dft/index.php/Special:OpenIDLogin HTTP HEADERS: HOST: smw-rda.esc.rzg.mpg.de USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 ACCEPT-LANGUAGE: de,en-US;q=0.7,en;q=0.3 ACCEPT-ENCODING: gzip, deflate REFERER: http://XXXX/dft/index.php?title=Special:OpenIDLogin&returnto=Main_Page COOKIE: dftwiki_openid_provider=Google; dftwiki_openid_provider_param_OpenID=https%3A%2F%2Frd-alliance.org%2Fuser%2F1341%2Fidentity; dftwiki_openid_provider_param_AOL=; dftwiki_openid_provider=OpenID; dftwiki_openid_provider_param_OpenID=https%3A%2F%2Frd-alliance.org%2Fuser%2F1341%2Fidentity; mediawikiUserName=Tom; mediawikiUserID=1; vector-nav-p-tb=true; vector-nav-p-Help=true; dftwikiUserName=Tom; dftwikiLoggedOut=1397119404; dftwiki_session=o8h4jasm6smrb0m2td0iq07iup74n7uhvnshhbbgqkbs2c68nk50 CONNECTION: keep-alive CONTENT-TYPE: application/x-www-form-urlencoded CONTENT-LENGTH: 132 CACHES: EmptyBagOStuff[main] SqlBagOStuff[message] SqlBagOStuff[parser] [cookie] session_set_cookie_params: "0", "/", "", "", "1" LocalisationCache: using store LCStore_DB Fully initialised IP: 126.96.36.199 Connected to database 0 at localhost Connected to database 0 at localhost MessageCache::load: Loading en... got from global cache Unstubbing $wgParser on call of $wgParser::firstCallInit from MessageCache::getParser Parser: using preprocessor: Preprocessor_DOM Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct OpenID: Attempting login with url: https://XXXX/user/1341/identity OpenID: no auth_request for https://XXXX/user/1341/identity Use of User::getSkin was deprecated in MediaWiki 1.18. [Called from OpenIDHooks::onPersonalUrls in /srv/www/htdocs/dft/extensions/OpenID/OpenID.hooks.php at line 90] OutputPage::sendCacheControl: no caching ** wfShellExec: /bin/bash '/srv/www/htdocs/dft/includes/limit.sh' ''\''/usr/bin/php'\'' '\''/srv/www/htdocs/dft/maintenance/runJobs.php'\'' '\''--maxjobs'\'' '\''1'\'' &' 'MW_INCLUDE_STDERR=;MW_CPU_LIMIT=180; MW_CGROUP='\'''\''; MW_MEM_LIMIT=307200; MW_FILE_SIZE_LIMIT=102400; MW_WALL_CLOCK_LIMIT=180'
This is the configuration I have in LocalSettings so far:
require_once ("$IP/extensions/OpenID/OpenID.php"); $wgTrustRoot = "http://XXXX/dft/"; $wgOpenIDOnly = true; $wgOpenIDMode = array( 'consumer'); $wgDebugLogFile = "/tmp/wiki.log";
Any idea whats going wrong?