feat: switch main firewall custom authentication by ouath2

This commit is contained in:
2026-01-29 19:57:56 +01:00
parent 09a2f71a83
commit 3822c9fe63
+2 -7
View File
@@ -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