File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
How to use Access Token Authentication
2
2
======================================
3
3
4
- Access tokens or API tokens are commonly used as authentication mechanism
4
+ Access tokens or API tokens are a commonly used authentication mechanism
5
5
in API contexts. The access token is a string, obtained during authentication
6
6
(using the application or an authorization server). The access token's role
7
7
is to verify the user identity and receive consent before the token is
@@ -349,7 +349,7 @@ Using OpenID Connect (OIDC)
349
349
`OpenID Connect (OIDC) `_ is the third generation of OpenID technology and it's a
350
350
RESTful HTTP API that uses JSON as its data format. OpenID Connect is an
351
351
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
353
353
an authorization server.
354
354
355
355
1) Configure the OidcUserInfoTokenHandler
@@ -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
@@ -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
You can’t perform that action at this time.
0 commit comments