Skip to content

[SecurityBundle] Remove deprecated OIDC token handler options algorithm and key #60929

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

Merged

Conversation

OskarStark
Copy link
Contributor

Q A
Branch? 8.0
Bug fix? no
New feature? no
Deprecations? no
Issues --
License MIT

@OskarStark OskarStark force-pushed the remove-oidc-deprecated-options branch 2 times, most recently from 3b3362f to 3ae1f9f Compare June 27, 2025 21:32
@OskarStark OskarStark force-pushed the remove-oidc-deprecated-options branch from 739e44a to 4412c83 Compare June 29, 2025 19:54
@nicolas-grekas nicolas-grekas force-pushed the remove-oidc-deprecated-options branch from 88009ec to e011b0f Compare June 30, 2025 12:43
@nicolas-grekas
Copy link
Member

Thank you @OskarStark.

@nicolas-grekas nicolas-grekas merged commit 307de33 into symfony:8.0 Jun 30, 2025
4 of 9 checks passed
@OskarStark OskarStark deleted the remove-oidc-deprecated-options branch June 30, 2025 12:47
->arrayNode('algorithm')
->info('Algorithm used to sign the token.')
->setDeprecated('symfony/security-bundle', '7.1', 'The "%node%" option is deprecated and will be removed in 8.0. Use the "algorithms" option instead.')
->end()
->arrayNode('algorithms')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need fixXmlConfig('algorithm') to convert the single to plural for the XML format for the prototyped node

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OskarStark added a commit to OskarStark/symfony that referenced this pull request Jun 30, 2025
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants