@@ -411,15 +411,15 @@ and retrieve the user info:
411411 ;
412412 };
413413
414- To enable the `OpenID Connect Discovery `_, the ``OidcUserInfoTokenHandler ``
414+ To enable `OpenID Connect Discovery `_, the ``OidcUserInfoTokenHandler ``
415415requires 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:
417417
418418.. code-block :: terminal
419419
420420 $ composer require symfony/cache
421421
422- Then , configure the ``base_uri `` and ``discovery `` keys :
422+ Next , configure the ``base_uri `` and ``discovery `` options :
423423
424424.. configuration-block ::
425425
@@ -477,6 +477,10 @@ Then, configure the ``base_uri`` and ``discovery`` keys:
477477 ;
478478 };
479479
480+ .. versionadded :: 7.3
481+
482+ Support for OpenID Connect Discovery was introduced in Symfony 7.3.
483+
480484Following the `OpenID Connect Specification `_, the ``sub `` claim is used as user
481485identifier by default. To use another claim, specify it on the configuration:
482486
@@ -691,16 +695,16 @@ it and retrieve the user info from it:
691695 The support of multiple algorithms to sign the JWS was introduced in Symfony 7.1.
692696 In previous versions, only the ``ES256 `` algorithm was supported.
693697
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:
697701
698702.. code-block :: terminal
699703
700704 $ composer require symfony/cache
701705
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 :
704708
705709.. configuration-block ::
706710
0 commit comments