I have a Symfony project. I used Easyadmin bundle and I used form login for security and authentication. I have some API too and I need a custom authentication for that. I'm not sure how can I change my security.yml to keep both of them.
here is my security yaml:
firewalls:
secured_area:
form_login:
enable_csrf: false
login_path: app_login
check_path: app_login
default_target_path: app_admin_custom_custom_index
logout:
path: app_logout
target: /login
and I need to append the following custom authenticator into it
custom_authenticator: App\Security\ApiKeyAuthenticator
thanks in advance for your supports