diff --git a/lib/base.php b/lib/base.php index 86005a96954a8..f619864acb63b 100644 --- a/lib/base.php +++ b/lib/base.php @@ -1027,6 +1027,7 @@ public static function handleRequest(): void { // Always load authentication apps OC_App::loadApps(['authentication']); + OC_App::loadApps(['extended_authentication']); // Load minimum set of apps if (!\OCP\Util::needUpgrade() diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 45c22dc89bcb0..2ca4c662a85e2 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -331,7 +331,7 @@ protected function doCoreUpgrade(): void { */ protected function doAppUpgrade(): void { $apps = \OC_App::getEnabledApps(); - $priorityTypes = ['authentication', 'filesystem', 'logging']; + $priorityTypes = ['authentication', 'extended_authentication', 'filesystem', 'logging']; $pseudoOtherType = 'other'; $stacks = [$pseudoOtherType => []]; diff --git a/ocs/v1.php b/ocs/v1.php index 3fba48b13c86d..055398993729a 100644 --- a/ocs/v1.php +++ b/ocs/v1.php @@ -50,6 +50,7 @@ try { OC_App::loadApps(['session']); OC_App::loadApps(['authentication']); + OC_App::loadApps(['extended_authentication']); // load all apps to get all api routes properly setup // FIXME: this should ideally appear after handleLogin but will cause diff --git a/public.php b/public.php index d9d15d7d5424f..2956d7f79dd81 100644 --- a/public.php +++ b/public.php @@ -66,6 +66,7 @@ // Load all required applications \OC::$REQUESTEDAPP = $app; OC_App::loadApps(['authentication']); + OC_App::loadApps(['extended_authentication']); OC_App::loadApps(['filesystem', 'logging']); if (!\OC::$server->getAppManager()->isInstalled($app)) { diff --git a/remote.php b/remote.php index 43376424af8ff..0c33fabc762aa 100644 --- a/remote.php +++ b/remote.php @@ -153,6 +153,7 @@ function resolveService($service) { // Load all required applications \OC::$REQUESTEDAPP = $app; OC_App::loadApps(['authentication']); + OC_App::loadApps(['extended_authentication']); OC_App::loadApps(['filesystem', 'logging']); switch ($app) { diff --git a/resources/app-info-shipped.xsd b/resources/app-info-shipped.xsd index c11264142ebfb..ddf8a010f3e4b 100644 --- a/resources/app-info-shipped.xsd +++ b/resources/app-info-shipped.xsd @@ -340,6 +340,7 @@ + +