You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SecurityBundle] Remove deprecated OIDC token handler options algorithm and key
Remove the deprecated algorithm and key options from the OIDC token handler configuration,
use algorithms and keyset instead.
- Add CHANGELOG entry
- Add UPGRADE-8.0.md entry with before/after examples
- Remove legacy test for deprecated options
- No need to remove symfony/deprecation-contracts (not present)
->thenInvalid('You must set either "discovery" or "keyset".')
124
101
->end()
125
102
->children()
126
103
->arrayNode('discovery')
@@ -155,19 +132,11 @@ public function addConfiguration(NodeBuilder $node): void
155
132
->isRequired()
156
133
->scalarPrototype()->end()
157
134
->end()
158
-
->arrayNode('algorithm')
159
-
->info('Algorithm used to sign the token.')
160
-
->setDeprecated('symfony/security-bundle', '7.1', 'The "%node%" option is deprecated and will be removed in 8.0. Use the "algorithms" option instead.')
161
-
->end()
162
135
->arrayNode('algorithms')
163
136
->info('Algorithms used to sign the token.')
164
137
->isRequired()
165
138
->scalarPrototype()->end()
166
139
->end()
167
-
->scalarNode('key')
168
-
->info('JSON-encoded JWK used to sign the token (must contain a "kty" key).')
169
-
->setDeprecated('symfony/security-bundle', '7.1', 'The "%node%" option is deprecated and will be removed in 8.0. Use the "keyset" option instead.')
170
-
->end()
171
140
->scalarNode('keyset')
172
141
->info('JSON-encoded JWKSet used to sign the token (must contain a list of valid public keys).')
0 commit comments