Hello,
i have some problems to connect my mediawiki with my wso2 identity server. I've installed all extensions, see below. but I don't know, how url I must configure to connect.
the identity server works with apache websites (openid connect).
which url I must use?
I get this error message:
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection.
[DBConnection] Connected to database 0 at 'localhost'.
[session] Session "c4d8r1571peld5sl7sufoaq6mm086ds6" requested without UserID cookie
OpenIDConnectClientException: Curl error: Failed to connect to server_fqdn port 443: Connection refused in /var/www/html/mw/vendor/jumbojett/openid-connect-php/OpenIDConnectClient.php:834
Stack trace:
#0 /var/www/html/mw/vendor/jumbojett/openid-connect-php/OpenIDConnectClient.php(350): OpenIDConnectClient->fetchURL('https://xx-xx-x...')
#1 /var/www/html/mw/vendor/jumbojett/openid-connect-php/OpenIDConnectClient.php(440): OpenIDConnectClient->getProviderConfigValue('authorization_e...')
#2 /var/www/html/mw/vendor/jumbojett/openid-connect-php/OpenIDConnectClient.php(286): OpenIDConnectClient->requestAuthorization()
#3 /var/www/html/mw/extensions/OpenIDConnect/OpenIDConnect.class.php(151): OpenIDConnectClient->authenticate()
#4 /var/www/html/mw/extensions/PluggableAuth/PluggableAuthLogin.php(46): OpenIDConnect->authenticate(NULL, NULL, NULL, NULL, NULL)
#5 /var/www/html/mw/includes/specialpage/SpecialPage.php(522): PluggableAuthLogin->execute(NULL)
#6 /var/www/html/mw/includes/specialpage/SpecialPageFactory.php(578): SpecialPage->run(NULL)
#7 /var/www/html/mw/includes/MediaWiki.php(287): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#8 /var/www/html/mw/includes/MediaWiki.php(862): MediaWiki->performRequest()
#9 /var/www/html/mw/includes/MediaWiki.php(523): MediaWiki->main()
#10 /var/www/html/mw/index.php(43): MediaWiki->run()
#11 {main}
# End of automatically generated settings.
# Add more configuration options below.
wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'OpenIDConnect' );
$wgPluggableAuth_Class = "OpenIDConnect";
$wgGroupPermissions['*']['autocreateaccount'] = true;
$wgGroupPermissions['*']['createaccount'] = true;
$wgPluggableAuth_EnableLocalLogin = true;
$wgOpenIDConnect_Config['https://server_fqdn'] = [
'clientID' => 'xxxxxxxxxxxxxxxxxxxx',
'clientsecret' => 'xxxxxxxxxxxxxxxxxxxx',
'scope' => [ 'openid' ]
];
Software | Version |
---|---|
MediaWiki | 1.29.1 |
PHP | 7.0.19-1 (apache2handler) |
MariaDB | 10.1.26-MariaDB-0+deb9u1 |
ICU | 57.1 |
Erweiterungen mit Spezialseiten | ||||
---|---|---|---|---|
Sonstige Erweiterungen | ||||
OpenID Connect | 4.0 (a6d9f08)20:07, 19. Apr. 2017 | Ermöglicht eine Authentifizierung mithilfe OpenID Connect in Verbindung mit PluggableAuth | Cindy Cicalese | |
PluggableAuth | 4.0 (51af0f3)17:48, 22. Apr. 2017 | Ergänzt ein Framework zur Authentifikation und Autorisierung | Cindy Cicalese |
Bibliothek | Version | Lizenz | Beschreibung | Autoren |
---|---|---|---|---|
jumbojett/openid-connect-php | 0.3.0 | Bare-bones OpenID Connect client | ||