-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[SecurityBundle] Add missing fixXmlConfig()
calls for OIDC token handler arrays
#60996
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
base: 8.0
Are you sure you want to change the base?
Conversation
223af63
to
a887d78
Compare
Isn't this relevant for older Symfony releases as well? |
I would say yes for the issuer and one of the algorithms |
->scalarPrototype()->end() | ||
->end() | ||
->arrayNode('algorithms') | ||
->info('Algorithms used to sign the token.') | ||
->isRequired() | ||
->fixXmlConfig('algorithm') |
There 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.
this is wrong. It needs to be set on the parent
There 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.
Same for issuer then, right?
There 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.
yes, all of them
…ler arrays Add fixXmlConfig() calls for 'issuers' and 'algorithms' arrays to allow using singular XML tags that get automatically converted to plural form. This improves XML configuration ergonomics. As requested in PR symfony#60929
a887d78
to
256bee4
Compare
...y/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php
Outdated
Show resolved
Hide resolved
…/AccessToken/OidcTokenHandlerFactory.php
Add
fixXmlConfig()
calls for'issuers'
and'algorithms'
arrays to allow using singular XML tags that get automatically converted to plural form. This improves XML configuration ergonomics.