You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have same issue with v3.1.2 (last supporting 5.4 with new authentication).
I figured out the same that Oauth2Authenticator creates UserBadge with Oauth client_public_id and then mine Userprovider is failing to find user.
What i am missing from documentation ?
I get the very same problem : UserBadge with Oauth client_public_id instead of getting user's identifier (email in my case) so auth fails... any ideas (with v4.0.3)
Any improved docs to get it work or how to configure my firewalls?
I have several firewalls configured, and they worked fine with old "vanilla" FOSOAuthServerBundle.
But with this bundle, I do get working access-token (regardless of
grant_type
I use) but authentication with this token fails →UserNotFoundException
FOS\OAuthServerBundle\Security\Authenticator\Oauth2Authenticator::authenticate()
get hit and returns a validnew SelfValidatingPassport()
but then, for some reason,EntityUserProvider
fromSymfony\Bridge\Doctrine\Security\User
comes into play and, of course, do not find any User in UserRepo by client_public_id ( https://github.com/klapaudius/FOSOAuthServerBundle/blob/3.0/Security/Authenticator/Oauth2Authenticator.php#L90 )In my case, I could not step in into
FOS\OAuthServerBundle\Security\Authentication\Provider\OAuthProvider
while debugging.Do I miss something?
The text was updated successfully, but these errors were encountered: