File tree Expand file tree Collapse file tree 1 file changed +8
-30
lines changed
Expand file tree Collapse file tree 1 file changed +8
-30
lines changed Original file line number Diff line number Diff line change @@ -628,16 +628,13 @@ identity provider serves keys without any usage designation (no ``use`` or
628628
629629 .. code-block :: yaml
630630
631- # config/packages/security.yaml
632631 security :
633632 firewalls :
634633 main :
635634 access_token :
636635 token_handler :
637636 oidc :
638- algorithms : ['ES256', 'RS256']
639- audience : ' api-example'
640- issuers : ['https://oidc.example.com']
637+ # ...
641638 discovery :
642639 base_uri : https://www.example.com/realms/demo/
643640 cache :
@@ -646,33 +643,14 @@ identity provider serves keys without any usage designation (no ``use`` or
646643
647644 .. code-block :: php
648645
649- // config/packages/security.php
650- namespace Symfony\Component\DependencyInjection\Loader\Configurator;
651-
652- return App::config([
653- 'security' => [
654- 'firewalls' => [
655- 'main' => [
656- 'access_token' => [
657- 'token_handler' => [
658- 'oidc' => [
659- 'algorithms' => ['ES256', 'RS256'],
660- 'audience' => 'api-example',
661- 'issuers' => ['https://oidc.example.com'],
662- 'discovery' => [
663- 'base_uri' => 'https://www.example.com/realms/demo/',
664- 'cache' => [
665- 'id' => 'cache.app',
666- ],
667- 'enforce_key_usage_verification' => false,
668- ],
669- ],
670- ],
671- ],
672- ],
673- ],
646+ // ...
647+ 'discovery' => [
648+ 'base_uri' => 'https://www.example.com/realms/demo/',
649+ 'cache' => [
650+ 'id' => 'cache.app',
674651 ],
675- ]);
652+ 'enforce_key_usage_verification' => false,
653+ ],
676654
677655 When disabled, keys are still filtered: those explicitly marked for encryption
678656only (``"use": "enc" `` or ``"key_ops" `` containing only encryption operations)
You can’t perform that action at this time.
0 commit comments