Closed cralph-bhn closed 3 years ago
Well, what I can see so far, it doesn't look like an issue related to 2fa to me, because I see no indication how 2fa would cause this. I think so because:
No Authentication Provider found for token of class "Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken"
looks very suspicious to me, because if you're using Symfony's username+password authentication (I'd guess so, but I cannot confirm since you didn't post your security configuration) that authentication provider definitely should be there.My guess is, if you'd completely remove/deactivate 2fa, you'd run into the exact same issue. Therefore I'd like to ask you:
1) Please deactivate the bundle in your application and try the same thing without 2fa. If you still have the same issue, it's not related to he bundle. 2) Can you please post your security.yaml? 3) Can you please post a stack trace for that exception?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bundle version: 4.18.4 Symfony version: 3.4.33
Description Upon updating the password of the currently authenticated user, the user is placed into an infinite login loop (ie. user is redirected to /login which in turn redirects to back to itself). The expected result is for the user to be logged out (deauthenticated).
Upon inspecting the logs, I see this error repeated dozens of times (until the browser gives up with TOO_MANY_REDIRECTS):
To Reproduce
Additional Context