@@ -434,7 +434,8 @@ Next, configure the ``base_uri`` and ``discovery`` options:
434
434
oidc_user_info :
435
435
base_uri : https://www.example.com/realms/demo/
436
436
discovery :
437
- cache : cache.app
437
+ cache :
438
+ id : cache.app
438
439
439
440
.. code-block :: xml
440
441
@@ -473,7 +474,7 @@ Next, configure the ``base_uri`` and ``discovery`` options:
473
474
->oidcUserInfo()
474
475
->baseUri('https://www.example.com/realms/demo/')
475
476
->discovery()
476
- ->cache(' cache.app')
477
+ ->cache(['id' => ' cache.app'] )
477
478
;
478
479
};
479
480
@@ -482,7 +483,7 @@ Next, configure the ``base_uri`` and ``discovery`` options:
482
483
Support for OpenID Connect Discovery was introduced in Symfony 7.3.
483
484
484
485
Following the `OpenID Connect Specification `_, the ``sub `` claim is used as user
485
- identifier by default. To use another claim, specify it on the configuration :
486
+ identifier by default. To use another claim, specify it using the `` claim `` option :
486
487
487
488
.. configuration-block ::
488
489
@@ -744,7 +745,8 @@ from the OpenID Connect Discovery), and configure the ``discovery`` option:
744
745
issuers : ['https://oidc.example.com']
745
746
discovery :
746
747
base_uri : https://www.example.com/realms/demo/
747
- cache : cache.app
748
+ cache :
749
+ id : cache.app
748
750
749
751
.. code-block :: xml
750
752
@@ -790,7 +792,7 @@ from the OpenID Connect Discovery), and configure the ``discovery`` option:
790
792
->issuers(['https://oidc.example.com'])
791
793
->discovery()
792
794
->baseUri('https://www.example.com/realms/demo/')
793
- ->cache(' cache.app')
795
+ ->cache(['id' => ' cache.app'] )
794
796
;
795
797
};
796
798
0 commit comments