I want to login through an API, based on my entity App\\Entity\\User.
Here is the security.yaml file:
security.yaml
security: encoders: App\