Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Security] Allow configuring a target url when switching user#46338
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedMay 13, 2022
Hey! I think@edefimov has recently worked with this code. Maybe they can help review this? Cheers! Carsonbot |
94noni commentedJun 23, 2022
chalasr commentedJun 23, 2022
Thanks for the ping@94noni, this looks sensible to me. Should we throw an error if both |
94noni commentedJun 28, 2022
@chalasr I appreciate the fast feedback!
I will check this part as I know a little bit on this side |
chalasr commentedJun 29, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@94noni It's just about DX: setting a |
94noni commentedJul 6, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@chalasr Indeed it makes sens, I will have a deeper look at it soon, thx status: needs work |
94noni commentedJul 19, 2022
@chalasr I've tried to implement yourrequest comment feel free to give me feedbacks :) |
src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
chalasr commentedJul 20, 2022
Thank you@94noni. |
… user (94noni)This PR was squashed before being merged into the 6.2 branch.Discussion----------[Security] Allow configuring a target url when switching userDocumentssymfony/symfony#47343Supersedsymfony/symfony#46338 (feature changed)Close#17021Commits-------90dc3c8 [Security] Allow configuring a target url when switching user
Uh oh!
There was an error while loading.Please reload this page.
When using theuser switch feature, I sometime found myself needing to redirect to a specific url (I took as example the logout target config)
Tests will be checked as well as doc if PR is acceptable
Thus I am proposing this feature, thank you,
PR reworked after merge at#47343