FOSOAuthServerBundle
FOSOAuthServerBundle copied to clipboard
Q: how to plug in multiple user entity?
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":
- Multiple AccessToken entities, but cannot see how to configure this
- One AccessToken with references to thoses 3-4 users entities and test type with instanceof
Any other/cleaner way to acheave this?
Thanks