@@ -411,15 +411,15 @@ and retrieve the user info:
411
411
;
412
412
};
413
413
414
- To enable the `OpenID Connect Discovery `_, the ``OidcUserInfoTokenHandler ``
414
+ To enable `OpenID Connect Discovery `_, the ``OidcUserInfoTokenHandler ``
415
415
requires the ``symfony/cache `` package to store the OIDC configuration in
416
- cache. If you haven't installed it yet, run this command:
416
+ the cache. If you haven't installed it yet, run the following command:
417
417
418
418
.. code-block :: terminal
419
419
420
420
$ composer require symfony/cache
421
421
422
- Then , configure the ``base_uri `` and ``discovery `` keys :
422
+ Next , configure the ``base_uri `` and ``discovery `` options :
423
423
424
424
.. configuration-block ::
425
425
@@ -477,6 +477,10 @@ Then, configure the ``base_uri`` and ``discovery`` keys:
477
477
;
478
478
};
479
479
480
+ .. versionadded :: 7.3
481
+
482
+ Support for OpenID Connect Discovery was introduced in Symfony 7.3.
483
+
480
484
Following the `OpenID Connect Specification `_, the ``sub `` claim is used as user
481
485
identifier by default. To use another claim, specify it on the configuration:
482
486
@@ -691,16 +695,16 @@ it and retrieve the user info from it:
691
695
The support of multiple algorithms to sign the JWS was introduced in Symfony 7.1.
692
696
In previous versions, only the ``ES256 `` algorithm was supported.
693
697
694
- To enable the `OpenID Connect Discovery `_, the ``OidcTokenHandler ``
695
- requires the ``symfony/cache `` package to store the OIDC configuration in
696
- cache. If you haven't installed it yet, run this command:
698
+ To enable `OpenID Connect Discovery `_, the ``OidcTokenHandler `` requires the
699
+ ``symfony/cache `` package to store the OIDC configuration in the cache. If you
700
+ haven't installed it yet, run the following command:
697
701
698
702
.. code-block :: terminal
699
703
700
704
$ composer require symfony/cache
701
705
702
- Then, you can remove the ``keyset `` configuration key (it will be imported from
703
- the OpenID Connect Discovery), and configure the ``discovery `` key :
706
+ Then, you can remove the ``keyset `` configuration option (it will be imported
707
+ from the OpenID Connect Discovery), and configure the ``discovery `` option :
704
708
705
709
.. configuration-block ::
706
710
0 commit comments