Skip to content

Commit 12402a2

Browse files
committed
Fixed title underline too short
1 parent f743e23 commit 12402a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/sections/tokenintrospection.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.. _tokenintrospection:
22

33
Token Introspection
4-
##################
4+
###################
55

66
The `OAuth 2.0 Authorization Framework <https://tools.ietf.org/html/rfc6749>`_ extends its scope with many other speficications. One of these is the `OAuth 2.0 Token Introspection (RFC 7662) <https://tools.ietf.org/html/rfc7662>`_ which defines a protocol that allows authorized protected resources to query the authorization server to determine the set of metadata for a given token that was presented to them by an OAuth 2.0 client.
77

88
Client Setup
9-
====
9+
============
1010
In order to enable this feature, some configurations must be performed in the ``Client``.
1111

1212
- The scope key:``token_introspection`` must be added to the client's scope.
@@ -16,7 +16,7 @@ If ``OIDC_INTROSPECTION_VALIDATE_AUDIENCE_SCOPE`` is set to ``True`` then:
1616
- The ``client_id`` must be added to the client's scope.
1717

1818
Introspection Endpoint
19-
====
19+
======================
2020
The introspection endpoint ``(/introspect)`` is an OAuth 2.0 endpoint that takes a parameter representing an OAuth 2.0 token and returns a JSON document representing the meta information surrounding the token.
2121

2222
The introspection endpoint its called using an HTTP POST request with parameters sent as *"application/x-www-form-urlencoded"* and **Basic authentication** (``base64(client_id:client_secret``).
@@ -47,7 +47,7 @@ Example Response::
4747
}
4848

4949
Introspection Endpoint Errors
50-
====
50+
=============================
5151
In case of error, the Introspection Endpoint will return a JSON document with the key ``active: false``
5252

5353
Example Error Response::

0 commit comments

Comments
 (0)