<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" docName="draft-ietf-oauth-jwt-introspection-response-12" number="9701" ipr="trust200902" obsoletes="" updates="" submissionType="IETF" category="std" consensus="true" xml:lang="en" tocInclude="true" tocDepth="4" symRefs="true" sortRefs="true" prepTime="2025-01-30T14:22:56" indexInclude="true" scripts="Common,Latin">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-oauth-jwt-introspection-response-12" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9701" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="JWT Response">JSON Web Token (JWT) Response for OAuth Token Introspection</title>
    <seriesInfo name="RFC" value="9701" stream="IETF"/>
    <author fullname="Torsten Lodderstedt" initials="T." role="editor" surname="Lodderstedt">
      <organization showOnFrontPage="true">yes.com AG</organization>
      <address>
        <email>torsten@lodderstedt.net</email>
      </address>
    </author>
    <author fullname="Vladimir Dzhuvinov" initials="V." surname="Dzhuvinov">
      <organization showOnFrontPage="true">Connect2id Ltd.</organization>
      <address>
        <email>vladimir@connect2id.com</email>
      </address>
    </author>
    <date month="01" year="2025"/>
    <area>SEC</area>
    <workgroup>oauth</workgroup>
    <keyword>token introspection</keyword>
    <keyword>JWT</keyword>
    <keyword>oauth2</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">This specification proposes an additional response secured by JSON Web Token (JWT) 
      for OAuth 2.0 Token Introspection.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9701" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2025 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requirements-notation">Requirements Notation</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-resource-server-management">Resource Server Management</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requesting-a-jwt-response">Requesting a JWT Response</xref></t>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-jwt-response">JWT Response</xref></t>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-client-metadata">Client Metadata</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-authorization-server-metada">Authorization Server Metadata</xref></t>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-cross-jwt-confusion">Cross-JWT Confusion</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-token-data-leakage">Token Data Leakage</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-privacy-considerations">Privacy Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="10" format="counter" sectionFormat="of" target="section-10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2">
              <li pn="section-toc.1-1.10.2.1">
                <t indent="0" pn="section-toc.1-1.10.2.1.1"><xref derivedContent="10.1" format="counter" sectionFormat="of" target="section-10.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-oauth-dynamic-client-regist">OAuth Dynamic Client Registration Metadata Registration</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2.1.2">
                  <li pn="section-toc.1-1.10.2.1.2.1">
                    <t indent="0" pn="section-toc.1-1.10.2.1.2.1.1"><xref derivedContent="10.1.1" format="counter" sectionFormat="of" target="section-10.1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-registry-contents">Registry Contents</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.10.2.2">
                <t indent="0" pn="section-toc.1-1.10.2.2.1"><xref derivedContent="10.2" format="counter" sectionFormat="of" target="section-10.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-oauth-authorization-server-">OAuth Authorization Server Metadata Registration</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2.2.2">
                  <li pn="section-toc.1-1.10.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.10.2.2.2.1.1"><xref derivedContent="10.2.1" format="counter" sectionFormat="of" target="section-10.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-registry-contents-2">Registry Contents</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.10.2.3">
                <t indent="0" pn="section-toc.1-1.10.2.3.1"><xref derivedContent="10.3" format="counter" sectionFormat="of" target="section-10.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-media-type-registration">Media Type Registration</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2.3.2">
                  <li pn="section-toc.1-1.10.2.3.2.1">
                    <t indent="0" pn="section-toc.1-1.10.2.3.2.1.1"><xref derivedContent="10.3.1" format="counter" sectionFormat="of" target="section-10.3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-registry-contents-3">Registry Contents</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.10.2.4">
                <t indent="0" pn="section-toc.1-1.10.2.4.1"><xref derivedContent="10.4" format="counter" sectionFormat="of" target="section-10.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-jwt-claim-registration">JWT Claim Registration</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2.4.2">
                  <li pn="section-toc.1-1.10.2.4.2.1">
                    <t indent="0" pn="section-toc.1-1.10.2.4.2.1.1"><xref derivedContent="10.4.1" format="counter" sectionFormat="of" target="section-10.4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-registry-contents-4">Registry Contents</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="11" format="counter" sectionFormat="of" target="section-11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.11.2">
              <li pn="section-toc.1-1.11.2.1">
                <t indent="0" pn="section-toc.1-1.11.2.1.1"><xref derivedContent="11.1" format="counter" sectionFormat="of" target="section-11.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.2">
                <t indent="0" pn="section-toc.1-1.11.2.2.1"><xref derivedContent="11.2" format="counter" sectionFormat="of" target="section-11.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="Introduction" numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1"><xref target="RFC7662" format="default" sectionFormat="of" derivedContent="RFC7662">"OAuth 2.0 Token Introspection"</xref> specifies a 
      method for a protected resource to query an OAuth 2.0 authorization server 
      to determine the state of an access token and obtain data associated with
      the access token. This enables deployments to implement opaque access
      tokens in an interoperable way.</t>
      <t indent="0" pn="section-1-2">The introspection response, as specified in <xref target="RFC7662" format="default" sectionFormat="of" derivedContent="RFC7662">"OAuth
      2.0 Token Introspection"</xref>, is a plain JSON object.
      However, there are use cases where the resource server requires stronger
      assurance that the authorization server issued the token introspection 
      response for an access token, including cases where the authorization server 
      assumes liability for the content of the token introspection response. 
      An example is a resource server using verified personal data to create certificates, 
      which in turn are used to create qualified electronic signatures.</t>
      <t indent="0" pn="section-1-3">In such use cases, it may be useful or even required to return a
      signed <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519">JWT</xref> as the introspection response. 
      This specification extends the token introspection endpoint with the capability 
      to return responses as JWTs.</t>
    </section>
    <section anchor="RNC" numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-requirements-notation">Requirements Notation</name>
      <t indent="0" pn="section-2-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
    "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>",
    "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
    "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be
    interpreted as described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> when, and only when, they appear in all capitals, as
    shown here.
      </t>
    </section>
    <section anchor="as-rs-relationship" numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-resource-server-management">Resource Server Management</name>
      <t indent="0" pn="section-3-1">The authorization server (AS) and the resource server (RS) maintain a strong, two-way trust relationship.
    The resource server relies on the authorization server to obtain authorization,
    user, and other data as input to its access control decisions and service delivery.
    The authorization server relies on the resource server to handle the provided data
    appropriately.</t>
      <t indent="0" pn="section-3-2">In the context of this specification, the token introspection endpoint is used to convey
    such security data and potentially also privacy-sensitive data related to an access
    token.</t>
      <t indent="0" pn="section-3-3">In order to process the introspection requests in a secure and
    privacy-preserving manner, the authorization server <bcp14>MUST</bcp14> be able to identify, 
    authenticate, and authorize resource servers.</t>
      <t indent="0" pn="section-3-4">The AS <bcp14>MAY</bcp14> additionally encrypt the token introspection response JWTs.
    If encryption is used, the AS is provisioned with encryption keys and
    algorithms for the RS.</t>
      <t indent="0" pn="section-3-5">The AS <bcp14>MUST</bcp14> be able to determine whether an RS is the
    audience for a particular access token and what data it is entitled to receive;
    otherwise, the RS is not authorized to obtain data for the access token.
    The AS has the discretion of how to fulfill this requirement. The AS could, for example,
    maintain a mapping between scope values and RSs.</t>
      <t indent="0" pn="section-3-6">The requirements given above imply that the AS
    maintains credentials and other configuration data for each RS.</t>
      <t indent="0" pn="section-3-7">One way is by utilizing dynamic client registration <xref target="RFC7591" format="default" sectionFormat="of" derivedContent="RFC7591"/>
    and treating every RS as an OAuth client. In this case, the AS
    is assumed to at least maintain a "client_id" and a "token_endpoint_auth_method"
    with complementary authentication method metadata, such as "jwks" or "client_secret".
    In cases where the AS needs to acquire consent to transmit data to an RS, the following
    client metadata fields are recommended: "client_name", "client_uri", "contacts",
    "tos_uri", and "policy_uri".</t>
      <t indent="0" pn="section-3-8">The AS <bcp14>MUST</bcp14> restrict the use of client credentials by an RS to the calls
    it requires, e.g., the AS <bcp14>MAY</bcp14> restrict such a client to call
    the token introspection endpoint only. How the AS implements this restriction
    is beyond the scope of this specification.</t>
      <t indent="0" pn="section-3-9">This specification further introduces client metadata to manage the
    configuration options required to sign and encrypt token introspection 
    response JWTs.</t>
    </section>
    <section anchor="jwt_request" numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-requesting-a-jwt-response">Requesting a JWT Response</name>
      <t indent="0" pn="section-4-1">An RS requests a JWT introspection response by sending an introspection request
    with an <tt>Accept</tt> HTTP header field set to
      "application/token-introspection+jwt".</t>
      <t indent="0" pn="section-4-2">The AS <bcp14>MUST</bcp14> authenticate the caller at the token introspection endpoint. Authentication can
    utilize client authentication methods or a separate access token that is issued to the RS
    and identifies the RS as the subject.</t>
      <t indent="0" pn="section-4-3">The following is a non-normative example request, with the RS authenticating with a private key JWT:</t>
      <sourcecode name="" type="http-message" markers="false" pn="section-4-4">
POST /introspect HTTP/1.1
Host: as.example.com
Accept: application/token-introspection+jwt
Content-Type: application/x-www-form-urlencoded

token=2YotnFZFEjr1zCsicMWpAA&amp;
client_assertion_type=
 urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&amp;
 client_assertion=PHNhbWxwOl[...omitted for brevity...]ZT
</sourcecode>
    </section>
    <section anchor="jwt_response" numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-jwt-response">JWT Response</name>
      <t indent="0" pn="section-5-1">The introspection endpoint responds with a JWT, setting the
     <tt>Content-Type</tt> HTTP header field to
     "application/token-introspection+jwt" and the JWT <tt>typ</tt>
     ("type") header parameter to "token-introspection+jwt".</t>
      <t indent="0" pn="section-5-2">The JWT <bcp14>MUST</bcp14> include the following top-level claims:
      </t>
      <dl newline="true" spacing="normal" indent="3" pn="section-5-3">
        <dt pn="section-5-3.1">iss</dt>
        <dd pn="section-5-3.2">
          <bcp14>MUST</bcp14> be set to the issuer URL of the authorization
         server.</dd>
        <dt pn="section-5-3.3">aud</dt>
        <dd pn="section-5-3.4">
          <bcp14>MUST</bcp14> identify the resource server receiving the token
         introspection response.</dd>
        <dt pn="section-5-3.5">iat</dt>
        <dd pn="section-5-3.6">
          <bcp14>MUST</bcp14> be set to the time when the introspection response
         was created by the authorization server</dd>
        <dt pn="section-5-3.7">token_introspection</dt>
        <dd pn="section-5-3.8">
          <t indent="0" pn="section-5-3.8.1">A JSON object containing the members of the token introspection response, as specified
	 in <xref target="RFC7662" section="2.2" sectionFormat="comma" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7662#section-2.2" derivedContent="RFC7662"/>.
         The separation of the introspection response members into
         a dedicated JSON object containing a JWT claim is intended to prevent conflict and confusion
         with top-level JWT claims that may bear the same name.
          </t>
          <t indent="0" pn="section-5-3.8.2">
         If the access token is invalid, expired, revoked, or not intended for the
         calling resource server (audience), the authorization server <bcp14>MUST</bcp14> set the value of the
         <tt>active</tt> member in the <tt>token_introspection</tt>
         claim to <tt>false</tt> and <bcp14>MUST NOT</bcp14> include other members.
         Otherwise, the <tt>active</tt> member is set to <tt>true</tt>.
          </t>
          <t indent="0" pn="section-5-3.8.3">
         The AS <bcp14>SHOULD</bcp14> narrow down the <tt>scope</tt> value to the scopes
         relevant to the particular RS.
          </t>
          <t indent="0" pn="section-5-3.8.4">
         As specified in <xref target="RFC7662" section="2.2" sectionFormat="of" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7662#section-2.2" derivedContent="RFC7662"/>, implementations <bcp14>MAY</bcp14> extend the
         token introspection response with service-specific claims. In the context of this
         specification, such claims will be added as top-level members of the
         <tt>token_introspection</tt> claim.
          </t>
          <t indent="0" pn="section-5-3.8.5">
         Token introspection response parameter names intended to be used across domains <bcp14>MUST</bcp14> be
         registered in the <xref target="IANA.OAuth.Token.Introspection" format="default" sectionFormat="of" derivedContent="IANA.OAuth.Token.Introspection">"OAuth Token Introspection
         Response" registry</xref> defined by <xref target="RFC7662" format="default" sectionFormat="of" derivedContent="RFC7662"/>.
          </t>
          <t indent="0" pn="section-5-3.8.6">
         When the AS acts as a provider of resource owner
         identity claims to the RS, the AS determines, based on its RS-specific policy, what
         identity claims to return in the token introspection response.
         The AS <bcp14>MUST</bcp14> ensure the release of any privacy-sensitive data is legally based (see
         <xref target="privacy" format="default" sectionFormat="of" derivedContent="Section 9"/>).
          </t>
          <t indent="0" pn="section-5-3.8.7">
         Further content of the introspection response is determined by the RS-specific
         policy at the AS.</t>
        </dd>
      </dl>
      <t indent="0" pn="section-5-4">The JWT <bcp14>MAY</bcp14> include other claims, including those from the
      "JSON Web Token Claims" registry established by <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/>. The JWT <bcp14>SHOULD NOT</bcp14> include the
      <tt>sub</tt> and <tt>exp</tt> claims, as an additional measure to prevent misuse of the JWT as an access token (see
      <xref target="Cross-JWT_Confusion" format="default" sectionFormat="of" derivedContent="Section 8.1"/>).</t>
      <t indent="0" pn="section-5-5">Note: Although the JWT format is widely used as an access token format, the JWT
     returned in the introspection response is not an alternative representation of 
     the introspected access token and is not intended to be used as an access token.</t>
      <t indent="0" pn="section-5-6">This specification registers the "application/token-introspection+jwt" media type, 
     which is used as the value of the <tt>typ</tt> ("type") header
     parameter of the JWT to indicate that the payload is a token introspection response.</t>
      <t indent="0" pn="section-5-7">The JWT is cryptographically secured as specified in <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/>.</t>
      <t indent="0" pn="section-5-8">Depending on the specific resource server policy, the JWT is either
     signed or signed and encrypted. If the JWT is signed and encrypted, it
     <bcp14>MUST</bcp14> be a Nested JWT, as defined in <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519">JWT</xref>.</t>
      <t indent="0" pn="section-5-9">Note: An AS compliant with this specification <bcp14>MUST</bcp14> refuse to serve introspection
     requests that don't authenticate the caller and return an HTTP status code 400. This is
     done to ensure token data is released to legitimate recipients only and prevent
     downgrading to <xref target="RFC7662" format="default" sectionFormat="of" derivedContent="RFC7662"/> behavior (see
     <xref target="token_data_leakage" format="default" sectionFormat="of" derivedContent="Section 8.2"/>).</t>
      <t indent="0" pn="section-5-10">The following is a non-normative example response
     (with line breaks for display purposes only):</t>
      <sourcecode name="" type="http-message" markers="false" pn="section-5-11">
HTTP/1.1 200 OK
Content-Type: application/token-introspection+jwt

eyJraWQiOiJ3RzZEIiwidHlwIjoidG9rZW4taW50cm9zcGVjdGlvbitqd3QiLCJhbGc
iOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FzLmV4YW1wbGUuY29tLyIsImF1ZCI6I
mh0dHBzOi8vcnMuZXhhbXBsZS5jb20vcmVzb3VyY2UiLCJpYXQiOjE1MTQ3OTc4OTIs
InRva2VuX2ludHJvc3BlY3Rpb24iOnsiYWN0aXZlIjp0cnVlLCJpc3MiOiJodHRwczo
vL2FzLmV4YW1wbGUuY29tLyIsImF1ZCI6Imh0dHBzOi8vcnMuZXhhbXBsZS5jb20vcm
Vzb3VyY2UiLCJpYXQiOjE1MTQ3OTc4MjIsImV4cCI6MTUxNDc5Nzk0MiwiY2xpZW50X
2lkIjoicGFpQjJnb28wYSIsInNjb3BlIjoicmVhZCB3cml0ZSBkb2xwaGluIiwic3Vi
IjoiWjVPM3VwUEM4OFFyQWp4MDBkaXMiLCJiaXJ0aGRhdGUiOiIxOTgyLTAyLTAxIiw
iZ2l2ZW5fbmFtZSI6IkpvaG4iLCJmYW1pbHlfbmFtZSI6IkRvZSIsImp0aSI6InQxRm
9DQ2FaZDRYdjRPUkpVV1ZVZVRaZnNLaFczMENRQ3JXRERqd1h5NncifX0.przJMU5Gh
mNzvwtt1Sr-xa9xTkpiAg5IshbQsRiRVP_7eGR1GHYrNwQh84kxOkHCyje2g5WSRcYo
sGEVIiC-eoPJJ-qBwqwSlgx9JEeCDw2W5DjrblOI_N0Jvsq_dUeOyoWVMqlOydOBhKN
Y0smBrI4NZvEExucOm9WUJXMuJtvq1gBes-0go5j4TEv9sOP9uu81gqWTr_LOo6pgT0
tFFyZfWC4kbXPXiQ2YT6mxCiQRRNM-l9cBdF6Jx6IOrsfFhBuYdYQ_mlL19HgDDOFal
eyqmru6lKlASOsaE8dmLSeKcX91FbG79FKN8un24iwIDCbKT9xlUFl54xWVShNDFA
</sourcecode>
      <t indent="0" pn="section-5-12">
        The example response JWT header contains the following JSON document:
      </t>
      <sourcecode name="" type="json" markers="false" pn="section-5-13">
{
  "typ": "token-introspection+jwt",
  "alg": "RS256",
  "kid": "wG6D"
}
</sourcecode>
      <t indent="0" pn="section-5-14">
        The example response JWT payload contains the following JSON document:
      </t>
      <sourcecode name="" type="json" markers="false" pn="section-5-15">
{
  "iss":"https://as.example.com/",
  "aud":"https://rs.example.com/resource",
  "iat":1514797892,
  "token_introspection":
     {
        "active":true,
        "iss":"https://as.example.com/",
        "aud":"https://rs.example.com/resource",
        "iat":1514797822,
        "exp":1514797942,
        "client_id":"paiB2goo0a",
        "scope":"read write dolphin",
        "sub":"Z5O3upPC88QrAjx00dis",
        "birthdate":"1982-02-01",
        "given_name":"John",
        "family_name":"Doe",
        "jti":"t1FoCCaZd4Xv4ORJUWVUeTZfsKhW30CQCrWDDjwXy6w"
     }
}
</sourcecode>
    </section>
    <section anchor="client_metadata" numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-client-metadata">Client Metadata</name>
      <t indent="0" pn="section-6-1">The authorization server determines the algorithm to
      secure the JWT for a particular introspection response. This decision can
      be based on registered metadata parameters for the resource server,
      supplied via dynamic client registration <xref target="RFC7591" format="default" sectionFormat="of" derivedContent="RFC7591"/> with the 
      resource server acting as a client, as specified below.</t>
      <t indent="0" pn="section-6-2">The parameter names follow the pattern established by
      <xref target="OpenID.Registration" format="default" sectionFormat="of" derivedContent="OpenID.Registration">OpenID Connect
      Dynamic Client Registration</xref> for configuring signing and encryption
      algorithms for JWT responses at the UserInfo endpoint.</t>
      <t indent="0" pn="section-6-3">The following client metadata parameters are introduced by this
      specification:
      </t>
      <dl newline="true" spacing="normal" indent="3" pn="section-6-4">
        <dt pn="section-6-4.1">introspection_signed_response_alg</dt>
        <dd pn="section-6-4.2">
          <bcp14>OPTIONAL</bcp14>. 
      	  <xref target="RFC7515" format="default" sectionFormat="of" derivedContent="RFC7515">"JSON Web Signature (JWS)"</xref> 
      	  algorithm (<tt>alg</tt> value), as defined in 
      	  <xref target="RFC7518" format="default" sectionFormat="of" derivedContent="RFC7518">"JSON Web Algorithms (JWA)"</xref>, for signing
	  introspection responses. If
      	  this is specified, the response will be signed using JWS and the 
      	  configured algorithm. The default, if omitted, is <tt>RS256</tt>.</dd>
        <dt pn="section-6-4.3">introspection_encrypted_response_alg</dt>
        <dd pn="section-6-4.4">
          <bcp14>OPTIONAL</bcp14>. 
        <xref target="RFC7516" format="default" sectionFormat="of" derivedContent="RFC7516">"JSON Web Encryption
	(JWE)"</xref> algorithm (<tt>alg</tt> value),
        as defined in <xref target="RFC7518" format="default" sectionFormat="of" derivedContent="RFC7518">JWA</xref>, for
	content key encryption.
          If this is specified, the response will be encrypted using JWE and the 
          configured content encryption algorithm 
          (<tt>introspection_encrypted_response_enc</tt>). The default, 
          if omitted, is that no encryption is performed.
          If both signing and 
          encryption are requested, the response will be 
          signed then encrypted, with the result being a Nested JWT, as defined in 
          <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519">JWT</xref>.</dd>
        <dt pn="section-6-4.5">introspection_encrypted_response_enc</dt>
        <dd pn="section-6-4.6">
          <bcp14>OPTIONAL</bcp14>.
        <xref target="RFC7516" format="default" sectionFormat="of" derivedContent="RFC7516">JWE</xref> algorithm
	(<tt>enc</tt> value),
        as defined in <xref target="RFC7518" format="default" sectionFormat="of" derivedContent="RFC7518">JWA</xref>, for
	content encryption of 
        introspection responses. The default, if omitted, is <tt>A128CBC-HS256</tt>.
          Note: This parameter <bcp14>MUST NOT</bcp14> be specified without setting 
          <tt>introspection_encrypted_response_alg</tt>.</dd>
      </dl>
      <t indent="0" pn="section-6-5">Resource servers may register their public encryption keys 
      using the <tt>jwks_uri</tt> or <tt>jwks</tt> 
      metadata parameters.</t>
    </section>
    <section anchor="server_metadata" numbered="true" toc="include" removeInRFC="false" pn="section-7">
      <name slugifiedName="name-authorization-server-metada">Authorization Server Metadata</name>
      <t indent="0" pn="section-7-1">Authorization servers <bcp14>SHOULD</bcp14> publish the supported algorithms for
      signing and encrypting the JWT of an introspection response by utilizing
      <xref target="RFC8414" format="default" sectionFormat="of" derivedContent="RFC8414">"OAuth 2.0 Authorization Server Metadata"</xref>
      parameters. Resource servers use this data to parametrize their client
      registration requests.</t>
      <t indent="0" pn="section-7-2">The following parameters are introduced by this specification: 
      </t>
      <dl newline="true" spacing="normal" indent="3" pn="section-7-3">
        <dt pn="section-7-3.1">introspection_signing_alg_values_supported</dt>
        <dd pn="section-7-3.2">
          <bcp14>OPTIONAL</bcp14>. JSON array containing a list of the <xref target="RFC7515" format="default" sectionFormat="of" derivedContent="RFC7515">JWS</xref> signing 
		algorithms (<tt>alg</tt> values), as defined in 
		<xref target="RFC7518" format="default" sectionFormat="of" derivedContent="RFC7518">JWA</xref>, supported by the introspection
		endpoint to sign the response.</dd>
        <dt pn="section-7-3.3">introspection_encryption_alg_values_supported</dt>
        <dd pn="section-7-3.4">
          <bcp14>OPTIONAL</bcp14>. JSON array containing a list of the <xref target="RFC7516" format="default" sectionFormat="of" derivedContent="RFC7516">JWE</xref> 
		encryption algorithms (<tt>alg</tt> values), as defined in
		<xref target="RFC7518" format="default" sectionFormat="of" derivedContent="RFC7518">JWA</xref>, supported by the 
		introspection endpoint to encrypt the content encryption key for 
		introspection responses (content key encryption).</dd>
        <dt pn="section-7-3.5">introspection_encryption_enc_values_supported</dt>
        <dd pn="section-7-3.6">
          <bcp14>OPTIONAL</bcp14>. JSON array containing a list of the <xref target="RFC7516" format="default" sectionFormat="of" derivedContent="RFC7516">JWE</xref> 
		encryption algorithms (<tt>enc</tt> values), as defined in
		<xref target="RFC7518" format="default" sectionFormat="of" derivedContent="RFC7518">JWA</xref>, supported by the introspection
		endpoint to encrypt the response (content encryption).</dd>
      </dl>
    </section>
    <section anchor="Security" numbered="true" toc="include" removeInRFC="false" pn="section-8">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <section anchor="Cross-JWT_Confusion" numbered="true" toc="include" removeInRFC="false" pn="section-8.1">
        <name slugifiedName="name-cross-jwt-confusion">Cross-JWT Confusion</name>
        <t indent="0" pn="section-8.1-1">The <tt>iss</tt> and potentially the <tt>aud</tt>
      claim of a token introspection JWT can resemble those of a JWT-encoded access token.
      An attacker could try to exploit this and pass a JWT token introspection response as
      an access token to the resource server. The <tt>typ</tt> ("type")
      JWT header "token-introspection+jwt" and the encapsulation of the token introspection members,
      such as <tt>sub</tt> and <tt>scope</tt> in
      the <tt>token_introspection</tt> claim, are intended to prevent such
      substitution attacks. Resource servers <bcp14>MUST</bcp14> therefore check the <tt>typ</tt>
      JWT header value of received JWT-encoded access tokens and ensure all minimally
	required claims for a valid access token are present.</t>
        <t indent="0" pn="section-8.1-2">Resource servers <bcp14>MUST</bcp14> additionally apply the countermeasures against access token replay, 
      as described in <xref target="RFC9700" format="default" sectionFormat="of" derivedContent="RFC9700"/>.</t>
        <t indent="0" pn="section-8.1-3">JWT confusion and other attacks involving JWTs are discussed in
      <xref target="RFC8725" format="default" sectionFormat="of" derivedContent="RFC8725"/>.</t>
      </section>
      <section anchor="token_data_leakage" numbered="true" toc="include" removeInRFC="false" pn="section-8.2">
        <name slugifiedName="name-token-data-leakage">Token Data Leakage</name>
        <t indent="0" pn="section-8.2-1">The authorization server <bcp14>MUST</bcp14> use Transport Layer Security (TLS) 1.2
      (or higher), per BCP 195 <xref target="RFC9325" format="default" sectionFormat="of" derivedContent="RFC9325"/>, in order to prevent 
      token data leakage.</t>
        <t indent="0" pn="section-8.2-2"><xref target="RFC7662" section="2.1" sectionFormat="of" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7662#section-2.1" derivedContent="RFC7662"/> permits requests to the introspection endpoint to
      be authorized with an access token that doesn't identify the caller. To prevent
      introspection of tokens by parties that are not the intended consumer, the
      authorization server <bcp14>MUST</bcp14> require all requests to the token introspection endpoint to be
      authenticated.</t>
      </section>
    </section>
    <section anchor="privacy" numbered="true" toc="include" removeInRFC="false" pn="section-9">
      <name slugifiedName="name-privacy-considerations">Privacy Considerations</name>
      <t indent="0" pn="section-9-1">The token introspection response can be used to transfer personal identifiable 
     information (PII) from the AS to the RS. The AS <bcp14>MUST</bcp14> conform to legal and jurisdictional constraints
     for the data transfer before any data is released to a particular RS. The details and determining
     of these constraints vary by jurisdiction and are outside the scope of this document.</t>
      <t indent="0" pn="section-9-2">A commonly found way to establish the legal basis for releasing PII is by explicit user
     consent gathered from the resource owner by the AS during the authorization flow.</t>
      <t indent="0" pn="section-9-3">It is also possible that the legal basis is established out of band, for
     example, in an explicit contract or by the client gathering the resource owner's
     consent.</t>
      <t indent="0" pn="section-9-4">If the AS and the RS belong to the same legal entity (1st party scenario),
     there is potentially no need for an explicit user consent, but the terms of
     service and policy of the respective service provider <bcp14>MUST</bcp14> be
     enforced at all times.</t>
      <t indent="0" pn="section-9-5">In any case, the AS <bcp14>MUST</bcp14> ensure that the scope of the legal
     basis is enforced throughout the whole process. The AS <bcp14>MUST</bcp14>
     retain the scope of the legal basis with the access token, e.g., in the scope
     value, it <bcp14>MUST</bcp14> authenticate the RS, and the AS <bcp14>MUST</bcp14>
     determine the data an RS is allowed to receive based on the RS's identity and suitable token data,
     e.g., the scope value. </t>
      <t indent="0" pn="section-9-6">Implementers should be aware that a token introspection request lets the AS
     know when the client (and potentially the user) is accessing the RS, which is
     also an indication of when the user is using 
     the client. If this implication is not acceptable, implementers
     <bcp14>MUST</bcp14> use other means to relay
     access token data, for example, by directly transferring the data needed by the
     RS within the access token.</t>
    </section>
    <section anchor="IANA" numbered="true" toc="include" removeInRFC="false" pn="section-10">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section anchor="DynRegReg" numbered="true" toc="include" removeInRFC="false" pn="section-10.1">
        <name slugifiedName="name-oauth-dynamic-client-regist">OAuth Dynamic Client Registration Metadata Registration</name>
        <t indent="0" pn="section-10.1-1">
          The following client metadata definitions have been registered
          in the IANA "OAuth Dynamic Client Registration Metadata" registry
          <xref target="IANA.OAuth.Parameters" format="default" sectionFormat="of" derivedContent="IANA.OAuth.Parameters"/>
          established by <xref target="RFC7591" format="default" sectionFormat="of" derivedContent="RFC7591"/>:
        </t>
        <section anchor="DynRegContents" numbered="true" toc="include" removeInRFC="false" pn="section-10.1.1">
          <name slugifiedName="name-registry-contents">Registry Contents</name>
          <dl newline="false" spacing="compact" indent="3" pn="section-10.1.1-1">
            <dt pn="section-10.1.1-1.1">Client Metadata Name:</dt>
            <dd pn="section-10.1.1-1.2">
              <tt>introspection_signed_response_alg</tt></dd>
            <dt pn="section-10.1.1-1.3">Client Metadata Description:</dt>
            <dd pn="section-10.1.1-1.4">String value indicating the client's desired introspection response 
            signing algorithm</dd>
            <dt pn="section-10.1.1-1.5">Change Controller:</dt>
            <dd pn="section-10.1.1-1.6">IETF</dd>
            <dt pn="section-10.1.1-1.7">Reference:</dt>
            <dd pn="section-10.1.1-1.8">
              <xref target="client_metadata" format="default" sectionFormat="of" derivedContent="Section 6"/> of RFC 9701</dd>
          </dl>
          <dl newline="false" spacing="compact" indent="3" pn="section-10.1.1-2">
            <dt pn="section-10.1.1-2.1">Client Metadata Name:</dt>
            <dd pn="section-10.1.1-2.2">
              <tt>introspection_encrypted_response_alg</tt></dd>
            <dt pn="section-10.1.1-2.3">Client Metadata Description:</dt>
            <dd pn="section-10.1.1-2.4">String value specifying the desired introspection response 
            content key encryption algorithm (alg value)</dd>
            <dt pn="section-10.1.1-2.5">Change Controller:</dt>
            <dd pn="section-10.1.1-2.6">IETF</dd>
            <dt pn="section-10.1.1-2.7">Reference:</dt>
            <dd pn="section-10.1.1-2.8">
              <xref target="client_metadata" format="default" sectionFormat="of" derivedContent="Section 6"/> of RFC 9701</dd>
          </dl>
          <dl newline="false" spacing="compact" indent="3" pn="section-10.1.1-3">
            <dt pn="section-10.1.1-3.1">Client Metadata Name:</dt>
            <dd pn="section-10.1.1-3.2">
              <tt>introspection_encrypted_response_enc</tt></dd>
            <dt pn="section-10.1.1-3.3">Client Metadata Description:</dt>
            <dd pn="section-10.1.1-3.4">String value specifying the desired introspection response 
            content encryption algorithm (enc value)</dd>
            <dt pn="section-10.1.1-3.5">Change Controller:</dt>
            <dd pn="section-10.1.1-3.6">IETF</dd>
            <dt pn="section-10.1.1-3.7">Reference:</dt>
            <dd pn="section-10.1.1-3.8">
              <xref target="client_metadata" format="default" sectionFormat="of" derivedContent="Section 6"/> of RFC 9701</dd>
          </dl>
        </section>
      </section>
      <section anchor="ietf-oauth-discoveryIANA" numbered="true" toc="include" removeInRFC="false" pn="section-10.2">
        <name slugifiedName="name-oauth-authorization-server-">OAuth Authorization Server Metadata Registration</name>
        <t indent="0" pn="section-10.2-1">
        The following values have been registered in
        the IANA "OAuth Authorization Server Metadata" registry
        <xref target="IANA.OAuth.Parameters" format="default" sectionFormat="of" derivedContent="IANA.OAuth.Parameters"/> established by <xref target="RFC8414" format="default" sectionFormat="of" derivedContent="RFC8414"/>.
        </t>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.2.1">
          <name slugifiedName="name-registry-contents-2">Registry Contents</name>
          <dl newline="false" spacing="compact" indent="3" pn="section-10.2.1-1">
            <dt pn="section-10.2.1-1.1">Metadata Name:</dt>
            <dd pn="section-10.2.1-1.2">
              <tt>introspection_signing_alg_values_supported</tt></dd>
            <dt pn="section-10.2.1-1.3">Metadata Description:</dt>
            <dd pn="section-10.2.1-1.4">JSON array containing a list of algorithms supported 
            by the authorization server for introspection response signing</dd>
            <dt pn="section-10.2.1-1.5">Change Controller:</dt>
            <dd pn="section-10.2.1-1.6">IETF</dd>
            <dt pn="section-10.2.1-1.7">Reference:</dt>
            <dd pn="section-10.2.1-1.8">
              <xref target="server_metadata" format="default" sectionFormat="of" derivedContent="Section 7"/> of RFC 9701</dd>
          </dl>
          <dl newline="false" spacing="compact" indent="3" pn="section-10.2.1-2">
            <dt pn="section-10.2.1-2.1">Metadata Name:</dt>
            <dd pn="section-10.2.1-2.2">
              <tt>introspection_encryption_alg_values_supported</tt></dd>
            <dt pn="section-10.2.1-2.3">Metadata Description:</dt>
            <dd pn="section-10.2.1-2.4">JSON array containing a list of algorithms supported 
            by the authorization server for introspection response content key
	    encryption (alg value)</dd>
            <dt pn="section-10.2.1-2.5">Change Controller:</dt>
            <dd pn="section-10.2.1-2.6">IETF</dd>
            <dt pn="section-10.2.1-2.7">Reference:</dt>
            <dd pn="section-10.2.1-2.8">
              <xref target="server_metadata" format="default" sectionFormat="of" derivedContent="Section 7"/> of RFC 9701</dd>
          </dl>
          <dl newline="false" spacing="compact" indent="3" pn="section-10.2.1-3">
            <dt pn="section-10.2.1-3.1">Metadata Name:</dt>
            <dd pn="section-10.2.1-3.2">
              <tt>introspection_encryption_enc_values_supported</tt></dd>
            <dt pn="section-10.2.1-3.3">Metadata Description:</dt>
            <dd pn="section-10.2.1-3.4">JSON array containing a list of algorithms supported 
            by the authorization server for introspection response content
	    encryption (enc value)</dd>
            <dt pn="section-10.2.1-3.5">Change Controller:</dt>
            <dd pn="section-10.2.1-3.6">IETF</dd>
            <dt pn="section-10.2.1-3.7">Reference:</dt>
            <dd pn="section-10.2.1-3.8">
              <xref target="server_metadata" format="default" sectionFormat="of" derivedContent="Section 7"/> of RFC 9701</dd>
          </dl>
        </section>
      </section>
      <section anchor="ietf-media-typeIANA" numbered="true" toc="include" removeInRFC="false" pn="section-10.3">
        <name slugifiedName="name-media-type-registration">Media Type Registration</name>
        <t indent="0" pn="section-10.3-1">The "application/token-introspection+jwt" media type has been registered
	in the "Media Types" registry <xref target="IANA.MediaTypes" format="default" sectionFormat="of" derivedContent="IANA.MediaTypes"/> in the manner described in <xref target="RFC6838" format="default" sectionFormat="of" derivedContent="RFC6838"/>. It can be used to indicate that the
	content is a token introspection response in JWT format.</t>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.3.1">
          <name slugifiedName="name-registry-contents-3">Registry Contents</name>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.3.1-1">
            <dt pn="section-10.3.1-1.1">Type name:</dt>
            <dd pn="section-10.3.1-1.2">application</dd>
            <dt pn="section-10.3.1-1.3">Subtype name:</dt>
            <dd pn="section-10.3.1-1.4">token-introspection+jwt</dd>
            <dt pn="section-10.3.1-1.5">Required parameters:</dt>
            <dd pn="section-10.3.1-1.6">N/A</dd>
            <dt pn="section-10.3.1-1.7">Optional parameters:</dt>
            <dd pn="section-10.3.1-1.8">N/A</dd>
            <dt pn="section-10.3.1-1.9">Encoding considerations:</dt>
            <dd pn="section-10.3.1-1.10">binary. A token introspection response is a JWT; JWT values are
            encoded as a series of base64url-encoded values (with trailing '='
            characters removed), some of which may be the empty string,
            separated by period ('.') characters.</dd>
            <dt pn="section-10.3.1-1.11">Security considerations:</dt>
            <dd pn="section-10.3.1-1.12">See <xref target="Security" format="default" sectionFormat="of" derivedContent="Section 8"/> of
	    RFC 9701</dd>
            <dt pn="section-10.3.1-1.13">Interoperability considerations:</dt>
            <dd pn="section-10.3.1-1.14">N/A</dd>
            <dt pn="section-10.3.1-1.15">Published specification:</dt>
            <dd pn="section-10.3.1-1.16">
              <xref target="jwt_request" format="default" sectionFormat="of" derivedContent="Section 4"/> of RFC 9701</dd>
            <dt pn="section-10.3.1-1.17">Applications that use this media type:</dt>
            <dd pn="section-10.3.1-1.18">Applications that produce and consume 
            OAuth Token Introspection Responses in JWT format</dd>
            <dt pn="section-10.3.1-1.19">Fragment identifier considerations:</dt>
            <dd pn="section-10.3.1-1.20">N/A</dd>
          </dl>
          <dl newline="true" spacing="normal" indent="3" pn="section-10.3.1-2">
            <dt pn="section-10.3.1-2.1">Additional information:</dt>
            <dd pn="section-10.3.1-2.2">
              <dl newline="false" spacing="compact" indent="3" pn="section-10.3.1-2.2.1">
                <dt pn="section-10.3.1-2.2.1.1">Magic number(s):</dt>
                <dd pn="section-10.3.1-2.2.1.2">N/A</dd>
                <dt pn="section-10.3.1-2.2.1.3">File extension(s):</dt>
                <dd pn="section-10.3.1-2.2.1.4">N/A</dd>
                <dt pn="section-10.3.1-2.2.1.5">Macintosh file type code(s):</dt>
                <dd pn="section-10.3.1-2.2.1.6">N/A</dd>
              </dl>
            </dd>
          </dl>
          <dl newline="false" spacing="normal" indent="3" pn="section-10.3.1-3">
            <dt pn="section-10.3.1-3.1">Person &amp; email address to contact for further information:</dt>
            <dd pn="section-10.3.1-3.2">
              <br/>Torsten Lodderstedt (torsten@lodderstedt.net)</dd>
            <dt pn="section-10.3.1-3.3">Intended usage:</dt>
            <dd pn="section-10.3.1-3.4">COMMON</dd>
            <dt pn="section-10.3.1-3.5">Restrictions on usage:</dt>
            <dd pn="section-10.3.1-3.6">none</dd>
            <dt pn="section-10.3.1-3.7">Author:</dt>
            <dd pn="section-10.3.1-3.8">Torsten Lodderstedt (torsten@lodderstedt.net)</dd>
            <dt pn="section-10.3.1-3.9">Change controller:</dt>
            <dd pn="section-10.3.1-3.10">IETF</dd>
          </dl>
        </section>
      </section>
      <section anchor="ietf-jwt-IANA" numbered="true" toc="include" removeInRFC="false" pn="section-10.4">
        <name slugifiedName="name-jwt-claim-registration">JWT Claim Registration</name>
        <t indent="0" pn="section-10.4-1">The "token_introspection" claim has been registered in the "JSON Web
      Token (JWT)" registry <xref target="IANA.JWT" format="default" sectionFormat="of" derivedContent="IANA.JWT"/> in the manner described in
      <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/>.</t>
        <section numbered="true" toc="include" removeInRFC="false" pn="section-10.4.1">
          <name slugifiedName="name-registry-contents-4">Registry Contents</name>
          <dl newline="false" spacing="compact" indent="3" pn="section-10.4.1-1">
            <dt pn="section-10.4.1-1.1">Claim Name:</dt>
            <dd pn="section-10.4.1-1.2">token_introspection</dd>
            <dt pn="section-10.4.1-1.3">Claim Description:</dt>
            <dd pn="section-10.4.1-1.4">Token introspection response</dd>
            <dt pn="section-10.4.1-1.5">Change Controller:</dt>
            <dd pn="section-10.4.1-1.6">IETF</dd>
            <dt pn="section-10.4.1-1.7">Reference:</dt>
            <dd pn="section-10.4.1-1.8">
              <xref target="jwt_response" format="default" sectionFormat="of" derivedContent="Section 5"/> of RFC 9701</dd>
          </dl>
        </section>
      </section>
    </section>
  </middle>
  <back>
    <references pn="section-11">
      <name slugifiedName="name-references">References</name>
      <references pn="section-11.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="IANA.JWT" target="https://www.iana.org/assignments/jwt" quoteTitle="true" derivedAnchor="IANA.JWT">
          <front>
            <title>JSON Web Token (JWT) Claims</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
            <date/>
          </front>
        </reference>
        <reference anchor="IANA.MediaTypes" target="http://www.iana.org/assignments/media-types" quoteTitle="true" derivedAnchor="IANA.MediaTypes">
          <front>
            <title>Media Types</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
            <date/>
          </front>
        </reference>
        <reference anchor="IANA.OAuth.Token.Introspection" target="https://www.iana.org/assignments/oauth-parameters" quoteTitle="true" derivedAnchor="IANA.OAuth.Token.Introspection">
          <front>
            <title>OAuth Token Introspection Response</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
            <date/>
          </front>
        </reference>
        <reference anchor="OpenID.Registration" target="https://openid.net/specs/openid-connect-registration-1_0.html" quoteTitle="true" derivedAnchor="OpenID.Registration">
          <front>
            <title>OpenID Connect Dynamic Client Registration 1.0 incorporating errata set 1</title>
            <author fullname="Nat Sakimura">
              <organization showOnFrontPage="true">NRI</organization>
            </author>
            <author fullname="John Bradley">
              <organization showOnFrontPage="true">Ping Identity</organization>
            </author>
            <author fullname="Mike Jones">
              <organization showOnFrontPage="true">Microsoft</organization>
            </author>
            <date month="November" year="2014"/>
          </front>
        </reference>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC6838" target="https://www.rfc-editor.org/info/rfc6838" quoteTitle="true" derivedAnchor="RFC6838">
          <front>
            <title>Media Type Specifications and Registration Procedures</title>
            <author fullname="N. Freed" initials="N." surname="Freed"/>
            <author fullname="J. Klensin" initials="J." surname="Klensin"/>
            <author fullname="T. Hansen" initials="T." surname="Hansen"/>
            <date month="January" year="2013"/>
            <abstract>
              <t indent="0">This document defines procedures for the specification and registration of media types for use in HTTP, MIME, and other Internet protocols. This memo documents an Internet Best Current Practice.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="13"/>
          <seriesInfo name="RFC" value="6838"/>
          <seriesInfo name="DOI" value="10.17487/RFC6838"/>
        </reference>
        <reference anchor="RFC7515" target="https://www.rfc-editor.org/info/rfc7515" quoteTitle="true" derivedAnchor="RFC7515">
          <front>
            <title>JSON Web Signature (JWS)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="N. Sakimura" initials="N." surname="Sakimura"/>
            <date month="May" year="2015"/>
            <abstract>
              <t indent="0">JSON Web Signature (JWS) represents content secured with digital signatures or Message Authentication Codes (MACs) using JSON-based data structures. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and an IANA registry defined by that specification. Related encryption capabilities are described in the separate JSON Web Encryption (JWE) specification.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7515"/>
          <seriesInfo name="DOI" value="10.17487/RFC7515"/>
        </reference>
        <reference anchor="RFC7516" target="https://www.rfc-editor.org/info/rfc7516" quoteTitle="true" derivedAnchor="RFC7516">
          <front>
            <title>JSON Web Encryption (JWE)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="J. Hildebrand" initials="J." surname="Hildebrand"/>
            <date month="May" year="2015"/>
            <abstract>
              <t indent="0">JSON Web Encryption (JWE) represents encrypted content using JSON-based data structures. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and IANA registries defined by that specification. Related digital signature and Message Authentication Code (MAC) capabilities are described in the separate JSON Web Signature (JWS) specification.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7516"/>
          <seriesInfo name="DOI" value="10.17487/RFC7516"/>
        </reference>
        <reference anchor="RFC7518" target="https://www.rfc-editor.org/info/rfc7518" quoteTitle="true" derivedAnchor="RFC7518">
          <front>
            <title>JSON Web Algorithms (JWA)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <date month="May" year="2015"/>
            <abstract>
              <t indent="0">This specification registers cryptographic algorithms and identifiers to be used with the JSON Web Signature (JWS), JSON Web Encryption (JWE), and JSON Web Key (JWK) specifications. It defines several IANA registries for these identifiers.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7518"/>
          <seriesInfo name="DOI" value="10.17487/RFC7518"/>
        </reference>
        <reference anchor="RFC7519" target="https://www.rfc-editor.org/info/rfc7519" quoteTitle="true" derivedAnchor="RFC7519">
          <front>
            <title>JSON Web Token (JWT)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="N. Sakimura" initials="N." surname="Sakimura"/>
            <date month="May" year="2015"/>
            <abstract>
              <t indent="0">JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the claims to be digitally signed or integrity protected with a Message Authentication Code (MAC) and/or encrypted.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7519"/>
          <seriesInfo name="DOI" value="10.17487/RFC7519"/>
        </reference>
        <reference anchor="RFC7591" target="https://www.rfc-editor.org/info/rfc7591" quoteTitle="true" derivedAnchor="RFC7591">
          <front>
            <title>OAuth 2.0 Dynamic Client Registration Protocol</title>
            <author fullname="J. Richer" initials="J." role="editor" surname="Richer"/>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="M. Machulak" initials="M." surname="Machulak"/>
            <author fullname="P. Hunt" initials="P." surname="Hunt"/>
            <date month="July" year="2015"/>
            <abstract>
              <t indent="0">This specification defines mechanisms for dynamically registering OAuth 2.0 clients with authorization servers. Registration requests send a set of desired client metadata values to the authorization server. The resulting registration responses return a client identifier to use at the authorization server and the client metadata values registered for the client. The client can then use this registration information to communicate with the authorization server using the OAuth 2.0 protocol. This specification also defines a set of common client metadata fields and values for clients to use during registration.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7591"/>
          <seriesInfo name="DOI" value="10.17487/RFC7591"/>
        </reference>
        <reference anchor="RFC7662" target="https://www.rfc-editor.org/info/rfc7662" quoteTitle="true" derivedAnchor="RFC7662">
          <front>
            <title>OAuth 2.0 Token Introspection</title>
            <author fullname="J. Richer" initials="J." role="editor" surname="Richer"/>
            <date month="October" year="2015"/>
            <abstract>
              <t indent="0">This specification defines a method for a protected resource to query an OAuth 2.0 authorization server to determine the active state of an OAuth 2.0 token and to determine meta-information about this token. OAuth 2.0 deployments can use this method to convey information about the authorization context of the token from the authorization server to the protected resource.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7662"/>
          <seriesInfo name="DOI" value="10.17487/RFC7662"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8414" target="https://www.rfc-editor.org/info/rfc8414" quoteTitle="true" derivedAnchor="RFC8414">
          <front>
            <title>OAuth 2.0 Authorization Server Metadata</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="N. Sakimura" initials="N." surname="Sakimura"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <date month="June" year="2018"/>
            <abstract>
              <t indent="0">This specification defines a metadata format that an OAuth 2.0 client can use to obtain the information needed to interact with an OAuth 2.0 authorization server, including its endpoint locations and authorization server capabilities.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8414"/>
          <seriesInfo name="DOI" value="10.17487/RFC8414"/>
        </reference>
        <reference anchor="RFC8725" target="https://www.rfc-editor.org/info/rfc8725" quoteTitle="true" derivedAnchor="RFC8725">
          <front>
            <title>JSON Web Token Best Current Practices</title>
            <author fullname="Y. Sheffer" initials="Y." surname="Sheffer"/>
            <author fullname="D. Hardt" initials="D." surname="Hardt"/>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <date month="February" year="2020"/>
            <abstract>
              <t indent="0">JSON Web Tokens, also known as JWTs, are URL-safe JSON-based security tokens that contain a set of claims that can be signed and/or encrypted. JWTs are being widely used and deployed as a simple security token format in numerous protocols and applications, both in the area of digital identity and in other application areas. This Best Current Practices document updates RFC 7519 to provide actionable guidance leading to secure implementation and deployment of JWTs.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="225"/>
          <seriesInfo name="RFC" value="8725"/>
          <seriesInfo name="DOI" value="10.17487/RFC8725"/>
        </reference>
        <reference anchor="RFC9325" target="https://www.rfc-editor.org/info/rfc9325" quoteTitle="true" derivedAnchor="RFC9325">
          <front>
            <title>Recommendations for Secure Use of Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)</title>
            <author fullname="Y. Sheffer" initials="Y." surname="Sheffer"/>
            <author fullname="P. Saint-Andre" initials="P." surname="Saint-Andre"/>
            <author fullname="T. Fossati" initials="T." surname="Fossati"/>
            <date month="November" year="2022"/>
            <abstract>
              <t indent="0">Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS) are used to protect data exchanged over a wide range of application protocols and can also form the basis for secure transport protocols. Over the years, the industry has witnessed several serious attacks on TLS and DTLS, including attacks on the most commonly used cipher suites and their modes of operation. This document provides the latest recommendations for ensuring the security of deployed services that use TLS and DTLS. These recommendations are applicable to the majority of use cases.</t>
              <t indent="0">RFC 7525, an earlier version of the TLS recommendations, was published when the industry was transitioning to TLS 1.2. Years later, this transition is largely complete, and TLS 1.3 is widely available. This document updates the guidance given the new environment and obsoletes RFC 7525. In addition, this document updates RFCs 5288 and 6066 in view of recent attacks.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="195"/>
          <seriesInfo name="RFC" value="9325"/>
          <seriesInfo name="DOI" value="10.17487/RFC9325"/>
        </reference>
        <reference anchor="RFC9700" target="https://www.rfc-editor.org/info/rfc9700" quoteTitle="true" derivedAnchor="RFC9700">
          <front>
            <title>Best Current Practice for OAuth 2.0 Security</title>
            <author initials="T" surname="Lodderstedt" fullname="Torsten Lodderstedt">
              <organization showOnFrontPage="true">SPRIND</organization>
            </author>
            <author initials="J" surname="Bradley" fullname="John Bradley">
              <organization showOnFrontPage="true">Yubico</organization>
            </author>
            <author initials="A" surname="Labunets" fullname="Andrey Labunets">
              <organization showOnFrontPage="true">Independent Researcher</organization>
            </author>
            <author initials="D" surname="Fett" fullname="Daniel Fett">
              <organization showOnFrontPage="true">Authlete</organization>
            </author>
            <date month="January" year="2025"/>
          </front>
          <seriesInfo name="BCP" value="240"/>
          <seriesInfo name="RFC" value="9700"/>
          <seriesInfo name="DOI" value="10.17487/RFC9700"/>
        </reference>
      </references>
      <references pn="section-11.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="IANA.OAuth.Parameters" target="http://www.iana.org/assignments/oauth-parameters" quoteTitle="true" derivedAnchor="IANA.OAuth.Parameters">
          <front>
            <title>OAuth Parameters</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
            <date/>
          </front>
        </reference>
      </references>
    </references>
    <section anchor="Acknowledgements" numbered="false" toc="include" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.a-1">We would like to thank <contact fullname="Petteri Stenius"/>, <contact fullname="Neil Madden"/>, <contact fullname="Filip Skokan"/>, <contact fullname="Tony Nadalin"/>, <contact fullname="Remco Schaar"/>, <contact fullname="Justin Richer"/>, <contact fullname="Takahiko Kawasaki"/>, <contact fullname="Benjamin Kaduk"/>, <contact fullname="Robert Wilton"/>, and
      <contact fullname="Roman Danyliw"/> for their valuable feedback.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.b">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Torsten Lodderstedt" initials="T." role="editor" surname="Lodderstedt">
        <organization showOnFrontPage="true">yes.com AG</organization>
        <address>
          <email>torsten@lodderstedt.net</email>
        </address>
      </author>
      <author fullname="Vladimir Dzhuvinov" initials="V." surname="Dzhuvinov">
        <organization showOnFrontPage="true">Connect2id Ltd.</organization>
        <address>
          <email>vladimir@connect2id.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
