Compare commits
No commits in common. "3b4e0762c232ffe4682c3ccae2b36e16366ea44d" and "ba63c271f986f7d3e56e6d9186724bae2c6137ef" have entirely different histories.
3b4e0762c2
...
ba63c271f9
|
@ -37,7 +37,6 @@ security:
|
|||
access_control:
|
||||
- { path: ^/login, roles: PUBLIC_ACCESS }
|
||||
- { path: ^/connect, roles: ROLE_USER }
|
||||
- { path: ^/health, roles: PUBLIC_ACCESS }
|
||||
# - { path: ^/connect, roles: [IS_AUTHENTICATED_FULLY, ROLE_USER] }
|
||||
|
||||
when@test:
|
||||
|
|
|
@ -8,7 +8,6 @@ use App\Hydra\HydraService;
|
|||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
|
@ -30,14 +29,6 @@ class MainController extends AbstractController
|
|||
{
|
||||
return $this->hydra->handleLoginRequest($request);
|
||||
}
|
||||
/*
|
||||
* Route de Healthcheck (notament pour kubernetes)
|
||||
*/
|
||||
#[Route('/health', name: 'health')]
|
||||
public function health(Request $request)
|
||||
{
|
||||
return new Response('healthy', 200);
|
||||
}
|
||||
|
||||
#[Route('/connect/login-accept', name: 'app_login_accept')]
|
||||
public function loginAccept(Request $request)
|
||||
|
|
Loading…
Reference in New Issue