Hi,
I am trying to use google as the authentication provider. Even after the successful authentication, i do not see logged in status at the top of the page. And its keep asking for the login.
versions i use are,
MediaWiki | 1.31.0 |
OpenID Connect | 4.1 (baea47f) |
Settings that i use to configure are,
wfLoadExtension( 'PluggableAuth' );
$wgPluggableAuth_ButtonLabel = "Login using Google Id";
$wgPluggableAuth_EnableLocalLogin = false;
$wgPluggableAuth_Class = "OpenIDConnect";
wfLoadExtension( 'OpenIDConnect' );
$wgOpenIDConnect_Config['https://accounts.google.com'] = [
'clientID' => '<id>.apps.googleusercontent.com',
'clientsecret' => '<secret>',
'scope' => [ 'openid', 'profile', 'email' ]
];
$wgOpenIDConnect_UseEmailNameAsUserName = true;
$wgOpenIDConnect_MigrateUsersByUserName = true;
$wgOpenIDConnect_MigrateUsersByEmail = true;
$wgOpenIDConnect_ForceLogout = false;
What i think is wrong is,
My url structure is like this,
http://example.org/w/index.php?title=Page_title
But i read from the known bug section that it may not work for openid connect. But there is no clear guidance on how to achieve shorturl.
Please help! Thanks.