Skip to main content

3.2. Confirmation Method for Token Introspection

OAuth 2.0 Token Introspection [RFC7662] defines a method for a protected resource to query an authorization server about the active state of an access token as well as to determine metainformation about the token.

For a mutual-TLS client certificate-bound access token, the hash of the certificate to which the token is bound is conveyed to the protected resource as metainformation in a token introspection response. The hash is conveyed using the same cnf with x5t#S256 member structure as the certificate SHA-256 thumbprint confirmation method, described in Section 3.1, as a top-level member of the introspection response JSON. The protected resource compares that certificate hash to a hash of the client certificate used for mutual-TLS authentication and rejects the request if they do not match.

The following is an example of an introspection response for an active token with an x5t#S256 certificate thumbprint confirmation method. The new introspection response content introduced by this specification is the cnf confirmation method at the bottom of the example that has the x5t#S256 confirmation method member containing the value that is the hash of the client certificate to which the access token is bound.

HTTP/1.1 200 OK
Content-Type: application/json

{
"active": true,
"iss": "https://server.example.com",
"sub": "[email protected]",
"exp": 1493726400,
"nbf": 1493722800,
"cnf":{
"x5t#S256": "bwcK0esc3ACC3DB2Y5_lESsXE8o9ltc05O89jdN-dg2"
}
}

Figure 3: Example Introspection Response for a Certificate-Bound Access Token