Skip to content

Commit 39fbf02

Browse files
Address cache as array, not string
Per the blog post https://symfony.com/blog/new-in-symfony-7-3-security-improvements
1 parent ffca523 commit 39fbf02

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

security/access_token.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
How to use Access Token Authentication
22
======================================
33

4-
Access tokens or API tokens are commonly used as authentication mechanism
4+
Access tokens or API tokens are a commonly used authentication mechanism
55
in API contexts. The access token is a string, obtained during authentication
66
(using the application or an authorization server). The access token's role
77
is to verify the user identity and receive consent before the token is
@@ -349,7 +349,7 @@ Using OpenID Connect (OIDC)
349349
`OpenID Connect (OIDC)`_ is the third generation of OpenID technology and it's a
350350
RESTful HTTP API that uses JSON as its data format. OpenID Connect is an
351351
authentication layer on top of the OAuth 2.0 authorization framework. It allows
352-
to verify the identity of an end user based on the authentication performed by
352+
verification of the identity of an end user based on the authentication performed by
353353
an authorization server.
354354

355355
1) Configure the OidcUserInfoTokenHandler
@@ -434,7 +434,8 @@ Next, configure the ``base_uri`` and ``discovery`` options:
434434
oidc_user_info:
435435
base_uri: https://www.example.com/realms/demo/
436436
discovery:
437-
cache: cache.app
437+
cache:
438+
id: cache.app
438439
439440
.. code-block:: xml
440441
@@ -744,7 +745,8 @@ from the OpenID Connect Discovery), and configure the ``discovery`` option:
744745
issuers: ['https://oidc.example.com']
745746
discovery:
746747
base_uri: https://www.example.com/realms/demo/
747-
cache: cache.app
748+
cache:
749+
id: cache.app
748750
749751
.. code-block:: xml
750752

0 commit comments

Comments
 (0)