Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stoping propagation of AUTHENTICATION_SUCCESS before dispatching it. #89

Closed
pawaclawczyk opened this issue Aug 31, 2015 · 1 comment · Fixed by #92
Closed

Stoping propagation of AUTHENTICATION_SUCCESS before dispatching it. #89

pawaclawczyk opened this issue Aug 31, 2015 · 1 comment · Fixed by #92

Comments

@pawaclawczyk
Copy link

Here https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Security/Http/Authentication/AuthenticationSuccessHandler.php#L52 is called setResponse method which internally calls Symfony\Component\HttpKernel\Event\GetResponseEvent::stopPropagation then the event is dispatched and stopped on first listener it reaches.

Is this expected beahavior?

@slashfan
Copy link
Contributor

Hello.

This is indeed not the way it should work and it is not the way it worked at the beginning of the project.
I'll try to fix it, in the meantime feel free to make a PR.

gzim324 pushed a commit to gzim324/LexikJWTAuthenticationBundle that referenced this issue Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants