Skip to content

Commit 739e44a

Browse files
Update UPGRADE-8.0.md
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
1 parent 2ede3d1 commit 739e44a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

UPGRADE-8.0.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -336,18 +336,17 @@ SecurityBundle
336336
* Remove the deprecated `algorithm` and `key` options from the OIDC token handler configuration, use `algorithms` and `keyset` instead
337337

338338
```diff
339-
# config/packages/security.yaml
340-
security:
341-
firewalls:
342-
main:
343-
access_token:
344-
token_handler:
345-
oidc:
339+
# config/packages/security.yaml
340+
security:
341+
firewalls:
342+
main:
343+
access_token:
344+
token_handler:
345+
oidc:
346346
- algorithm: 'RS256'
347347
- key: 'https://example.com/.well-known/jwks.json'
348348
+ algorithms: ['RS256']
349349
+ keyset: 'https://example.com/.well-known/jwks.json'
350-
```
351350

352351
Serializer
353352
----------

0 commit comments

Comments
 (0)