FriendsOfSymfony / FOSOAuthServerBundle

A server side OAuth2 Bundle for Symfony
1.09k stars 451 forks source link

Q: how to plug in multiple user entity? #615

Open meshenka opened 5 years ago

meshenka commented 5 years ago

Sf4.3 with an old legacy code base and db. We want to setup Oauth Server, the issue is the legacy code base got 3, may be 4 "user" entities (in different tables, using different login process : login+ pass, email+pass, phone+pass).

I can't see a clean way to setup my AccessToken entity to make this thing work.

So far i see 2 "ways":

Any other/cleaner way to acheave this?

Thanks