Category: symfony-security

How to configured multiple user entity with JWT token?

I have multiple user entities (multiple tables): AppEntityCustomer AppEntityDealer How to configured multiple user entity with JWT token? encoders: AppEntityDealer: algorithm: bcrypt AppEntityCustomer: algorithm: bcrypt providers: dealer: entity: class: AppEntityDealer property: username customer: entity: class: AppEntityCustomer property: username Source: Symfony…

Symfony access handling for specific folders dependend on logged in user

In a symfony 5.0 application I need to integrate a filemanager that provides basic file handling for users. Each user is only allowed to manage files in his specific user folder which (obviously) is not in the public folder but…