From 3822c9fe63772fcdcf850d64b11ec89b26928fa5 Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Thu, 29 Jan 2026 19:57:56 +0100 Subject: [PATCH] feat: switch main firewall custom authentication by ouath2 --- config/packages/security.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 92747af..37f5c35 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -19,14 +19,9 @@ security: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: - lazy: true + security: true stateless: true - provider: app_user_provider - - access_token: - token_handler: App\Security\AccessTokenHandler - custom_authenticators: - - App\Security\CookieAuthenticator + oauth2: true # activate different ways to authenticate # https://symfony.com/doc/current/security.html#the-firewall