How to implement a Custom Authentication with a Custom User Provider with an external Entity Manager on Symfony 5.4

Follow the Symfony docs instrutions The hard thing is to add manager_name on security.yml like below

<pre>
 

app_user_provider:
    entity:
        class: App\Entity\Anysolabs\User
        manager_name: 'doctrine_external_entity_manager_name'
        property: email

</pre>

Free Tags: