Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3924

How to configured multiple user entity with JWT token?

$
0
0

I have multiple user entities (multiple tables):

  1. App\Entity\Customer

  2. App\Entity\Dealer

How to configured multiple user entity with JWT token?

encoders:    App\Entity\Dealer:        algorithm: bcrypt    App\Entity\Customer:        algorithm: bcryptproviders:    dealer:        entity:          class: App\Entity\Dealer          property: username    customer:        entity:            class: App\Entity\Customer            property: username

Viewing all articles
Browse latest Browse all 3924

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>