18declare(strict_types=1);
42 if (str_contains($redirection_target,
'goto.php/')) {
43 $redirection_target = ltrim(str_replace(
'goto.php',
'', $redirection_target),
'/');
44 $redirection_target = str_replace(
'/',
'_', $redirection_target);
47 $this->
logger->info(
'Redirect to oidc authentication');
48 $this->
ctrl->redirectToURL(
'openidconnect.php?target=' . $redirection_target);
Component logger with individual log levels by component id.
__construct(private readonly ilCtrlInterface $ctrl, private readonly ilLogger $logger)
handleLogin(string $redirection_target)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...