major update

This commit is contained in:
2026-03-04 15:56:58 +01:00
parent 16759a2732
commit 8f4dd5840d
478 changed files with 24313 additions and 8201 deletions

View File

@@ -4,15 +4,15 @@ use MintyPHP\Router;
use MintyPHP\Service\Auth\AuthServicesFactory;
use MintyPHP\Support\Flash;
$authServicesFactory = new AuthServicesFactory();
$authServicesFactory = app(AuthServicesFactory::class);
$authService = $authServicesFactory->createAuthService();
$ssoUserLinkService = $authServicesFactory->createSsoUserLinkService();
$tenantSsoService = $authServicesFactory->createTenantSsoService();
$microsoftOidcService = $authServicesFactory->createMicrosoftOidcService();
$state = trim((string) ($_GET['state'] ?? ''));
$code = trim((string) ($_GET['code'] ?? ''));
$error = trim((string) ($_GET['error'] ?? ''));
$state = trim((string) (requestInput()->queryAll()['state'] ?? ''));
$code = trim((string) (requestInput()->queryAll()['code'] ?? ''));
$error = trim((string) (requestInput()->queryAll()['error'] ?? ''));
if ($error !== '') {
Flash::error(t('Microsoft login was cancelled or failed'), 'login', 'microsoft_login_error');