Context: For our private wiki we want to exclusively login via GoogleLogin. For now some administrative accounts have been in use.
Problem: Having set the following to make sure GoogleLogin is the only authentication provider, according to the older comment below:
$wgAuthManagerConfig = [
'primaryauth' => [
GooglePrimaryAuthenticationProvider::class => [
"class" => GooglePrimaryAuthenticationProvider::class,
"sort" => 0
]
],
'preauth' => [],
'secondaryauth' => [],
];
And all other requirements put in place as well, there is still an error:
Uncaught GoogleLogin\\ConfigurationError: GoogleLogin runs in authoritative mode, but multiple primary authentication providers where found.
How can this be approached? Is there a way to call the getPrimaryAuthenticationProviders() function from AuthManager.php? I was not able to successfully do that due to "LoggerAwareInterface not found".
Any help is very appreciated!