Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[SecurityBundle] Do not replace authenticators service by their traceable version#59278
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
ac1a9c5
toe4c66eb
CompareThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Unfortunate but 👍 Thanks. Hope you checked everything keeps working as expected in the profiler 😇
MatTheCat commentedDec 23, 2024 • 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.
Hm there shouldn’t be anything unfortunate here; did I miss something? 😅 The |
Just the fact we cannot stick with regular service decoration. |
e4c66eb
toffbd82c
Comparesrc/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
c9c19ab
to111913e
Compare111913e
tod44b7af
CompareThank you@MatTheCat. |
5280da9
intosymfony:7.2Uh oh!
There was an error while loading.Please reload this page.
…security.helper` (MatTheCat)This PR was merged into the 7.2 branch.Discussion----------[SecurityBundle] Do not pass traceable authenticators to `security.helper`| Q | A| ------------- | ---| Branch? | 7.2| Bug fix? | yes| New feature? | no| Deprecations? | no| Issues |Fix#59341| License | MITSince#59278 authenticators are no longer aliases for their traceable version, which means calling `Security::login` with an authenticator ID won’t match its traceable ID, and fail.Plus, `Security::login` using the traceable authenticators meant the profiler could show them as successful while not supporting the request:This PR fixes these issues by passing the original authenticators to `security.helper`, using their ID as name.Commits-------c5a2360 [SecurityBundle] Do not pass traceable authenticators to `security.helper`
Uh oh!
There was an error while loading.Please reload this page.