<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" ipr="trust200902" docName="draft-ietf-oauth-dpop-16" number="9449" submissionType="IETF" category="std" consensus="true" xml:lang="en" tocInclude="true" sortRefs="true" symRefs="true" updates="" obsoletes="" prepTime="2023-09-07T16:18:25" indexInclude="true" scripts="Common,Latin" tocDepth="3">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-oauth-dpop-16" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9449" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="OAuth DPoP">OAuth 2.0 Demonstrating Proof of Possession (DPoP)</title>
    <seriesInfo name="RFC" value="9449" stream="IETF"/>
    <author initials="D." surname="Fett" fullname="Daniel Fett">
      <organization showOnFrontPage="true">Authlete</organization>
      <address>
        <postal>
          <street/>
        </postal>
        <email>mail@danielfett.de</email>
      </address>
    </author>
    <author initials="B." surname="Campbell" fullname="Brian Campbell">
      <organization showOnFrontPage="true">Ping Identity</organization>
      <address>
        <postal>
          <street/>
        </postal>
        <email>bcampbell@pingidentity.com</email>
      </address>
    </author>
    <author initials="J." surname="Bradley" fullname="John Bradley">
      <organization showOnFrontPage="true">Yubico</organization>
      <address>
        <postal>
          <street/>
        </postal>
        <email>ve7jtb@ve7jtb.com</email>
      </address>
    </author>
    <author initials="T." surname="Lodderstedt" fullname="Torsten Lodderstedt">
      <organization showOnFrontPage="true">Tuconic</organization>
      <address>
        <postal>
          <street/>
        </postal>
        <email>torsten@lodderstedt.net</email>
      </address>
    </author>
    <author initials="M." surname="Jones" fullname="Michael Jones">
      <organization showOnFrontPage="true">Self-Issued Consulting</organization>
      <address>
        <postal>
          <street/>
        </postal>
        <email>michael_b_jones@hotmail.com</email>
        <uri>https://self-issued.info/</uri>
      </address>
    </author>
    <author initials="D." surname="Waite" fullname="David Waite">
      <organization showOnFrontPage="true">Ping Identity</organization>
      <address>
        <postal>
          <street/>
        </postal>
        <email>david@alkaline-solutions.com</email>
      </address>
    </author>
    <date month="09" year="2023"/>
    <area>sec</area>
    <workgroup>oauth</workgroup>
    <keyword>security</keyword>
    <keyword>oauth2</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">This document describes a mechanism for sender-constraining OAuth 2.0
tokens via a proof-of-possession mechanism on the application level.
This mechanism allows for the detection of replay attacks with access and refresh
tokens.</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/rfc9449" 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) 2023 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>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.1.2">
              <li pn="section-toc.1-1.1.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.1.1"><xref derivedContent="1.1" format="counter" sectionFormat="of" target="section-1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conventions-and-terminology">Conventions and Terminology</xref></t>
              </li>
            </ul>
          </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-objectives">Objectives</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" 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-concept">Concept</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-dpop-proof-jwts">DPoP Proof JWTs</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-dpop-http-header">The DPoP HTTP Header</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-dpop-proof-jwt-syntax">DPoP Proof JWT Syntax</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.3">
                <t indent="0" pn="section-toc.1-1.4.2.3.1"><xref derivedContent="4.3" format="counter" sectionFormat="of" target="section-4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-checking-dpop-proofs">Checking DPoP Proofs</xref></t>
              </li>
            </ul>
          </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-dpop-access-token-request">DPoP Access Token Request</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2">
              <li pn="section-toc.1-1.5.2.1">
                <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-authorization-server-metada">Authorization Server Metadata</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.2">
                <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-client-registration-metadat">Client Registration Metadata</xref></t>
              </li>
            </ul>
          </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-public-key-confirmation">Public Key Confirmation</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2">
              <li pn="section-toc.1-1.6.2.1">
                <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-jwk-thumbprint-confirmation">JWK Thumbprint Confirmation Method</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.2">
                <t indent="0" pn="section-toc.1-1.6.2.2.1"><xref derivedContent="6.2" format="counter" sectionFormat="of" target="section-6.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-jwk-thumbprint-confirmation-">JWK Thumbprint Confirmation Method in Token Introspection</xref></t>
              </li>
            </ul>
          </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-protected-resource-access">Protected Resource Access</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2">
              <li pn="section-toc.1-1.7.2.1">
                <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-dpop-authentication-sch">The DPoP Authentication Scheme</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-compatibility-with-the-bear">Compatibility with the Bearer Authentication Scheme</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.3">
                <t indent="0" pn="section-toc.1-1.7.2.3.1"><xref derivedContent="7.3" format="counter" sectionFormat="of" target="section-7.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-client-considerations">Client Considerations</xref></t>
              </li>
            </ul>
          </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-authorization-server-provid">Authorization Server-Provided Nonce</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-nonce-syntax">Nonce Syntax</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-providing-a-new-nonce-value">Providing a New Nonce Value</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-resource-server-provided-no">Resource Server-Provided Nonce</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-authorization-code-binding-">Authorization Code Binding to a DPoP Key</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-dpop-with-pushed-authorizat">DPoP with Pushed Authorization Requests</xref></t>
              </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-security-considerations">Security Considerations</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-dpop-proof-replay">DPoP Proof Replay</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-dpop-proof-pre-generation">DPoP Proof Pre-generation</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.3">
                <t indent="0" pn="section-toc.1-1.11.2.3.1"><xref derivedContent="11.3" format="counter" sectionFormat="of" target="section-11.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-dpop-nonce-downgrade">DPoP Nonce Downgrade</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.4">
                <t indent="0" pn="section-toc.1-1.11.2.4.1"><xref derivedContent="11.4" format="counter" sectionFormat="of" target="section-11.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-untrusted-code-in-the-clien">Untrusted Code in the Client Context</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.5">
                <t indent="0" pn="section-toc.1-1.11.2.5.1"><xref derivedContent="11.5" format="counter" sectionFormat="of" target="section-11.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-signed-jwt-swapping">Signed JWT Swapping</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.6">
                <t indent="0" pn="section-toc.1-1.11.2.6.1"><xref derivedContent="11.6" format="counter" sectionFormat="of" target="section-11.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-signature-algorithms">Signature Algorithms</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.7">
                <t indent="0" pn="section-toc.1-1.11.2.7.1"><xref derivedContent="11.7" format="counter" sectionFormat="of" target="section-11.7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-request-integrity">Request Integrity</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.8">
                <t indent="0" pn="section-toc.1-1.11.2.8.1"><xref derivedContent="11.8" format="counter" sectionFormat="of" target="section-11.8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-access-token-and-public-key">Access Token and Public Key Binding</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.9">
                <t indent="0" pn="section-toc.1-1.11.2.9.1"><xref derivedContent="11.9" format="counter" sectionFormat="of" target="section-11.9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-authorization-code-and-publ">Authorization Code and Public Key Binding</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.10">
                <t indent="0" pn="section-toc.1-1.11.2.10.1"><xref derivedContent="11.10" format="counter" sectionFormat="of" target="section-11.10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-hash-algorithm-agility">Hash Algorithm Agility</xref></t>
              </li>
              <li pn="section-toc.1-1.11.2.11">
                <t indent="0" pn="section-toc.1-1.11.2.11.1"><xref derivedContent="11.11" format="counter" sectionFormat="of" target="section-11.11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-binding-to-client-identity">Binding to Client Identity</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="12" format="counter" sectionFormat="of" target="section-12"/>. <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.12.2">
              <li pn="section-toc.1-1.12.2.1">
                <t indent="0" pn="section-toc.1-1.12.2.1.1"><xref derivedContent="12.1" format="counter" sectionFormat="of" target="section-12.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-oauth-access-token-types-re">OAuth Access Token Types Registration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.2">
                <t indent="0" pn="section-toc.1-1.12.2.2.1"><xref derivedContent="12.2" format="counter" sectionFormat="of" target="section-12.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-oauth-extensions-error-regi">OAuth Extensions Error Registration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.3">
                <t indent="0" pn="section-toc.1-1.12.2.3.1"><xref derivedContent="12.3" format="counter" sectionFormat="of" target="section-12.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-oauth-parameters-registrati">OAuth Parameters Registration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.4">
                <t indent="0" pn="section-toc.1-1.12.2.4.1"><xref derivedContent="12.4" format="counter" sectionFormat="of" target="section-12.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-http-authentication-schemes">HTTP Authentication Schemes Registration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.5">
                <t indent="0" pn="section-toc.1-1.12.2.5.1"><xref derivedContent="12.5" format="counter" sectionFormat="of" target="section-12.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-media-type-registration">Media Type Registration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.6">
                <t indent="0" pn="section-toc.1-1.12.2.6.1"><xref derivedContent="12.6" format="counter" sectionFormat="of" target="section-12.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-jwt-confirmation-methods-re">JWT Confirmation Methods Registration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.7">
                <t indent="0" pn="section-toc.1-1.12.2.7.1"><xref derivedContent="12.7" format="counter" sectionFormat="of" target="section-12.7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-json-web-token-claims-regis">JSON Web Token Claims Registration</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.12.2.7.2">
                  <li pn="section-toc.1-1.12.2.7.2.1">
                    <t indent="0" pn="section-toc.1-1.12.2.7.2.1.1"><xref derivedContent="12.7.1" format="counter" sectionFormat="of" target="section-12.7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-nonce-registration-update">"nonce" Registration Update</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.12.2.8">
                <t indent="0" pn="section-toc.1-1.12.2.8.1"><xref derivedContent="12.8" format="counter" sectionFormat="of" target="section-12.8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-hypertext-transfer-protocol">Hypertext Transfer Protocol (HTTP) Field Name Registration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.9">
                <t indent="0" pn="section-toc.1-1.12.2.9.1"><xref derivedContent="12.9" format="counter" sectionFormat="of" target="section-12.9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-oauth-authorization-server-">OAuth Authorization Server Metadata Registration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.10">
                <t indent="0" pn="section-toc.1-1.12.2.10.1"><xref derivedContent="12.10" format="counter" sectionFormat="of" target="section-12.10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-oauth-dynamic-client-regist">OAuth Dynamic Client Registration Metadata</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="13" format="counter" sectionFormat="of" target="section-13"/>. <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.13.2">
              <li pn="section-toc.1-1.13.2.1">
                <t indent="0" pn="section-toc.1-1.13.2.1.1"><xref derivedContent="13.1" format="counter" sectionFormat="of" target="section-13.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.13.2.2">
                <t indent="0" pn="section-toc.1-1.13.2.2.1"><xref derivedContent="13.2" format="counter" sectionFormat="of" target="section-13.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.14">
            <t indent="0" pn="section-toc.1-1.14.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.15">
            <t indent="0" pn="section-toc.1-1.15.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" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">Demonstrating Proof of Possession (DPoP) is an application-level mechanism for
sender-constraining OAuth <xref target="RFC6749" format="default" sectionFormat="of" derivedContent="RFC6749"/> access and refresh tokens. It enables a client to
prove the possession of a public/private key pair by including
a <tt>DPoP</tt> header in an HTTP request. The value of the header is a JSON Web Token
(JWT) <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/> that enables the authorization
server to bind issued tokens to the public part of a client's
key pair. Recipients of such tokens are then able to verify the binding of the
token to the key pair that the client has demonstrated that it holds via
the <tt>DPoP</tt> header, thereby providing some assurance that the client presenting
the token also possesses the private key.
In other words, the legitimate presenter of the token is constrained to be
the sender that holds and proves possession of the private part of the
key pair.</t>
      <t indent="0" pn="section-1-2">The mechanism specified herein can be used in cases where other
methods of sender-constraining tokens that utilize elements of the underlying
secure transport layer, such as <xref target="RFC8705" format="default" sectionFormat="of" derivedContent="RFC8705"/> or <xref target="I-D.ietf-oauth-token-binding" format="default" sectionFormat="of" derivedContent="TOKEN-BINDING"/>,
are not available or desirable. For example, due to a sub-par user experience
of TLS client authentication in user agents and a lack of support for HTTP token
binding, neither mechanism can be used if an OAuth client is an application that
is dynamically downloaded and executed in a web browser (sometimes referred to as a
"single-page application"). 
   Additionally, applications that are installed and run directly
   on a user's device are well positioned to benefit from
   DPoP-bound tokens that guard against the misuse of tokens by
   a compromised or malicious resource.
Such applications often have dedicated protected storage
for cryptographic keys.</t>
      <t indent="0" pn="section-1-3">DPoP can be used to sender-constrain access tokens regardless of the
client authentication method employed, but DPoP itself is not used for client authentication.
DPoP can also be used to sender-constrain refresh tokens issued to public clients
(those without authentication credentials associated with the <tt>client_id</tt>).</t>
      <section anchor="conventions-and-terminology" numbered="true" removeInRFC="false" toc="include" pn="section-1.1">
        <name slugifiedName="name-conventions-and-terminology">Conventions and Terminology</name>
        <t indent="0" pn="section-1.1-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>
        <t indent="0" pn="section-1.1-2">This specification uses the Augmented Backus-Naur Form (ABNF) notation
of <xref target="RFC5234" format="default" sectionFormat="of" derivedContent="RFC5234"/>.</t>
        <t indent="0" pn="section-1.1-3">This specification uses the terms "access token", "refresh token",
"authorization server", "resource server", "authorization endpoint",
"authorization request", "authorization response", "token endpoint",
"grant type", "access token request", "access token response",
"client", "public client", and "confidential client" defined by "The OAuth 2.0 Authorization Framework" <xref target="RFC6749" format="default" sectionFormat="of" derivedContent="RFC6749"/>.</t>
        <t indent="0" pn="section-1.1-4">The terms "request", "response", "header field", and "target URI"
are imported from <xref target="RFC9110" format="default" sectionFormat="of" derivedContent="RFC9110"/>.</t>
        <t indent="0" pn="section-1.1-5">The terms "JOSE" and "JOSE Header" are imported from <xref target="RFC7515" format="default" sectionFormat="of" derivedContent="RFC7515"/>.</t>
        <t indent="0" pn="section-1.1-6">This document contains non-normative examples of partial and complete HTTP messages.
Some examples use a single trailing backslash to indicate line wrapping for long values, as per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.
The character and leading spaces on wrapped lines are not part of the value.</t>
      </section>
    </section>
    <section anchor="objective" numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-objectives">Objectives</name>
      <t indent="0" pn="section-2-1">The primary aim of DPoP is to prevent unauthorized or illegitimate
parties from using leaked or stolen access tokens, by binding a token
to a public key upon issuance and requiring that the client proves
possession of the corresponding private key when using the token.
This constrains the legitimate sender of the token to only the party with
access to the private key and gives the server receiving the token added
assurances that the sender is legitimately authorized to use it.</t>
      <t indent="0" pn="section-2-2">Access tokens that are sender-constrained via DPoP thus stand in
contrast to the typical bearer token, which can be used by any party in
possession of such a token. Although protections generally exist to prevent unintended disclosure of bearer tokens, unforeseen vectors for leakage have occurred due to vulnerabilities and implementation issues in other layers in the protocol or software stack (see, e.g., Compression Ratio Info-leak Made Easy (CRIME) <xref target="CRIME" format="default" sectionFormat="of" derivedContent="CRIME"/>, Browser Reconnaissance and Exfiltration via Adaptive Compression of Hypertext (BREACH) <xref target="BREACH" format="default" sectionFormat="of" derivedContent="BREACH"/>,
Heartbleed <xref target="Heartbleed" format="default" sectionFormat="of" derivedContent="Heartbleed"/>, and the Cloudflare parser bug <xref target="Cloudbleed" format="default" sectionFormat="of" derivedContent="Cloudbleed"/>).
There have also been numerous published token theft attacks on OAuth
implementations themselves (<xref target="GitHub.Tokens" format="default" sectionFormat="of" derivedContent="GitHub.Tokens"/> is just one high-profile example).
DPoP provides a general defense in depth
against the impact of unanticipated token leakage. DPoP is not, however,
a substitute for a secure transport and <bcp14>MUST</bcp14> always be used in
conjunction with HTTPS.</t>
      <t indent="0" pn="section-2-3">The very nature of the typical OAuth protocol interaction
necessitates that the client discloses the access token to the
protected resources that it accesses. The attacker model
in <xref target="I-D.ietf-oauth-security-topics" format="default" sectionFormat="of" derivedContent="SECURITY-TOPICS"/> describes cases where a
protected resource might be counterfeit, malicious, or compromised
and plays received tokens against other protected resources to gain
unauthorized access. Audience-restricted access tokens
(e.g., using the JWT <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/> <tt>aud</tt> claim) can
prevent such misuse. However, doing so in practice has proven to be
prohibitively cumbersome for many deployments (despite extensions such as <xref target="RFC8707" format="default" sectionFormat="of" derivedContent="RFC8707"/>).
Sender-constraining access tokens is a more robust and straightforward
mechanism to prevent such token replay at a different endpoint, and DPoP
is an accessible application-layer means of doing so.</t>
      <t indent="0" pn="section-2-4">Due to the potential for cross-site scripting (XSS), browser-based
OAuth clients bring to bear added considerations with respect to protecting
tokens. The most straightforward XSS-based attack is for an attacker to
exfiltrate a token and use it themselves completely independent of the
legitimate client. A stolen access token is used for protected
resource access, and a stolen refresh token is used for obtaining new access tokens.
If the private key is non-extractable (as is possible with <xref target="W3C.WebCryptoAPI" format="default" sectionFormat="of" derivedContent="W3C.WebCryptoAPI"/>),
DPoP renders exfiltrated tokens alone unusable.</t>
      <t indent="0" pn="section-2-5">XSS vulnerabilities also allow an attacker to execute code in the context of
the browser-based client application and maliciously use a token indirectly
through the client. That execution context has access to utilize the signing
key; thus, it can produce DPoP proofs to use in conjunction with the token.
At this application layer, there is most likely no feasible defense against
this threat except generally preventing XSS; therefore, it is considered
out of scope for DPoP.</t>
      <t indent="0" pn="section-2-6">Malicious XSS code executed in the context of the browser-based client
application is also in a position to create DPoP proofs with timestamp values in
the future and exfiltrate them in conjunction with a token. These stolen
artifacts can later be used independent of the client application to
access protected resources. To prevent this, servers can optionally require
clients to include a server-chosen value into the proof that cannot be predicted
by an attacker (nonce). In the absence of the optional nonce, the impact of
pre-computed DPoP proofs is limited somewhat by the proof being bound to an
access token on protected resource access. Because a proof covering an access
token that does not yet exist cannot feasibly be created, access tokens obtained
with an exfiltrated refresh token and pre-computed proofs will be unusable.</t>
      <t indent="0" pn="section-2-7">Additional security considerations are discussed in <xref target="Security" format="default" sectionFormat="of" derivedContent="Section 11"/>.</t>
    </section>
    <section anchor="concept" numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-concept">Concept</name>
      <t indent="0" pn="section-3-1">The main data structure introduced by this specification is a DPoP
proof JWT that is sent as a header in an
HTTP request, as described in detail below. A client uses a DPoP proof JWT to prove
the possession of a private key corresponding to a certain public key.</t>
      <t indent="0" pn="section-3-2">Roughly speaking, a DPoP proof is a signature over:</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-3-3">
        <li pn="section-3-3.1">some data of the
HTTP request to which it is attached,</li>
        <li pn="section-3-3.2">a timestamp,</li>
        <li pn="section-3-3.3">a unique
identifier,</li>
        <li pn="section-3-3.4">an optional server-provided nonce, and</li>
        <li pn="section-3-3.5">a hash of the
associated access token when an access token is present within the
  request.</li>
      </ul>
      <figure anchor="basic-flow" align="left" suppress-title="false" pn="figure-1">
        <name slugifiedName="name-basic-dpop-flow">Basic DPoP Flow </name>
        <artwork type="ascii-art" align="left" pn="section-3-4.1">
+--------+                                          +---------------+
|        |--(A)-- Token Request -------------------&gt;|               |
| Client |        (DPoP Proof)                      | Authorization |
|        |                                          |     Server    |
|        |&lt;-(B)-- DPoP-Bound Access Token ----------|               |
|        |        (token_type=DPoP)                 +---------------+
|        |
|        |
|        |                                          +---------------+
|        |--(C)-- DPoP-Bound Access Token ---------&gt;|               |
|        |        (DPoP Proof)                      |    Resource   |
|        |                                          |     Server    |
|        |&lt;-(D)-- Protected Resource ---------------|               |
|        |                                          +---------------+
+--------+
</artwork>
      </figure>
      <t indent="0" pn="section-3-5">The basic steps of an OAuth flow with DPoP (without the optional nonce) are shown in <xref target="basic-flow" format="default" sectionFormat="of" derivedContent="Figure 1"/>.</t>
      <ol type="A" spacing="normal" indent="adaptive" start="1" pn="section-3-6">
<li pn="section-3-6.1" derivedCounter="A.">In the token request, the client sends an authorization grant
(e.g., an authorization code, refresh token, etc.)
to the authorization server in order to obtain an access token
(and potentially a refresh token). The client attaches a DPoP
proof to the request in an HTTP header.</li>
        <li pn="section-3-6.2" derivedCounter="B.">The authorization server binds (sender-constrains) the access token to the
public key claimed by the client in the DPoP proof; that is, the access token cannot
be used without proving possession of the respective private key.
If a refresh token is issued to a public client, it is also bound to the public key of the DPoP proof.</li>
        <li pn="section-3-6.3" derivedCounter="C.">To use the access token, the client has to prove
possession of the private key by, again, adding a header to the
request that carries a DPoP proof for that request. The resource server needs to
receive information about the public key to which the access token is bound. This
information may be encoded directly into the access token (for
JWT-structured access tokens) or provided via token
introspection endpoint (not shown).
The resource server verifies that the public key to which the
access token is bound matches the public key of the DPoP proof.
It also verifies that the access token hash in the DPoP proof matches the
access token presented in the request.</li>
        <li pn="section-3-6.4" derivedCounter="D.">The resource server refuses to serve the request if the
signature check fails or if the data in the DPoP proof is wrong,
e.g., the target URI does not match the URI claim in the DPoP
proof JWT. The access token itself, of course, must also be
valid in all other respects.</li>
      </ol>
      <t indent="0" pn="section-3-7">The DPoP mechanism presented herein is not a client authentication method.
In fact, a primary use case of DPoP is for public clients (e.g., single-page
applications and applications on a user's device) that do not use client authentication. Nonetheless, DPoP
is designed to be compatible with <tt>private_key_jwt</tt> and all
other client authentication methods.</t>
      <t indent="0" pn="section-3-8">DPoP does not directly ensure message integrity, but it relies on the TLS
layer for that purpose. See <xref target="Security" format="default" sectionFormat="of" derivedContent="Section 11"/> for details.</t>
    </section>
    <section anchor="the-proof" numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-dpop-proof-jwts">DPoP Proof JWTs</name>
      <t indent="0" pn="section-4-1">DPoP introduces the concept of a DPoP proof, which is a JWT created by
the client and sent with an HTTP request using the <tt>DPoP</tt> header field.
Each HTTP request requires a unique DPoP proof.</t>
      <t indent="0" pn="section-4-2">A valid DPoP proof demonstrates to the server that the client holds the private
key that was used to sign the DPoP proof JWT. This enables authorization servers to bind
issued tokens to the corresponding public key (as described in <xref target="access-token-request" format="default" sectionFormat="of" derivedContent="Section 5"/>)
and enables resource servers to verify the key-binding of tokens that
it receives (see <xref target="http-auth-scheme" format="default" sectionFormat="of" derivedContent="Section 7.1"/>), which prevents said tokens from
being used by any entity that does not have access to the private key.</t>
      <t indent="0" pn="section-4-3">The DPoP proof demonstrates possession of a key and, by itself, is not
an authentication or access control mechanism. When presented
in conjunction with a key-bound access token as described in <xref target="http-auth-scheme" format="default" sectionFormat="of" derivedContent="Section 7.1"/>,
the DPoP proof provides additional assurance about the legitimacy of the client
to present the access token. However, a valid DPoP proof JWT is not sufficient alone
to make access control decisions.</t>
      <section anchor="the-dpop-http-header" numbered="true" removeInRFC="false" toc="include" pn="section-4.1">
        <name slugifiedName="name-the-dpop-http-header">The DPoP HTTP Header</name>
        <t indent="0" pn="section-4.1-1">A DPoP proof is included in an HTTP request using the following request header field.</t>
        <dl spacing="compact" indent="3" newline="false" pn="section-4.1-2">
          <dt pn="section-4.1-2.1"><tt>DPoP</tt>:</dt>
          <dd pn="section-4.1-2.2">A JWT that adheres to the structure and syntax of <xref target="DPoP-Proof-Syntax" format="default" sectionFormat="of" derivedContent="Section 4.2"/>.</dd>
        </dl>
        <t indent="0" pn="section-4.1-3"><xref target="dpop-proof-jwt" format="default" sectionFormat="of" derivedContent="Figure 2"/> shows an example DPoP HTTP header field. The example uses "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
        <figure anchor="dpop-proof-jwt" align="left" suppress-title="false" pn="figure-2">
          <name slugifiedName="name-example-dpop-header">Example <tt>DPoP</tt> Header </name>
          <sourcecode type="http-message" markers="false" pn="section-4.1-4.1">DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6Ik\
 VDIiwieCI6Imw4dEZyaHgtMzR0VjNoUklDUkRZOXpDa0RscEJoRjQyVVFVZldWQVdCR\
 nMiLCJ5IjoiOVZFNGpmX09rX282NHpiVFRsY3VOSmFqSG10NnY5VERWclUwQ2R2R1JE\
 QSIsImNydiI6IlAtMjU2In19.eyJqdGkiOiItQndDM0VTYzZhY2MybFRjIiwiaHRtIj\
 oiUE9TVCIsImh0dSI6Imh0dHBzOi8vc2VydmVyLmV4YW1wbGUuY29tL3Rva2VuIiwia\
 WF0IjoxNTYyMjYyNjE2fQ.2-GxA6T8lP4vfrg8v-FdWP0A0zdrj8igiMLvqRMUvwnQg\
 4PtFLbdLXiOSsX0x7NVY-FNyJK70nfbV37xRZT3Lg
</sourcecode>
        </figure>
        <t indent="0" pn="section-4.1-5">Note that per <xref target="RFC9110" format="default" sectionFormat="of" derivedContent="RFC9110"/>, header field names are case insensitive; thus, <tt>DPoP</tt>, <tt>DPOP</tt>, <tt>dpop</tt>, etc., are all valid and equivalent header
field names. However, case is significant in the header field value.</t>
        <t indent="0" pn="section-4.1-6">The <tt>DPoP</tt> HTTP header field value
uses the token68 syntax defined in <xref target="RFC9110" sectionFormat="of" section="11.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-11.2" derivedContent="RFC9110"/> and is repeated below in <xref target="dpop-header-abnf" format="default" sectionFormat="of" derivedContent="Figure 3"/> for ease of reference.</t>
        <figure anchor="dpop-header-abnf" align="left" suppress-title="false" pn="figure-3">
          <name slugifiedName="name-dpop-header-field-abnf">DPoP Header Field ABNF</name>
          <sourcecode type="abnf" markers="false" pn="section-4.1-7.1">
DPoP       = token68
token68    = 1*( ALPHA / DIGIT /
                 "-" / "." / "_" / "~" / "+" / "/" ) *"="
</sourcecode>
        </figure>
      </section>
      <section anchor="DPoP-Proof-Syntax" numbered="true" removeInRFC="false" toc="include" pn="section-4.2">
        <name slugifiedName="name-dpop-proof-jwt-syntax">DPoP Proof JWT Syntax</name>
        <t indent="0" pn="section-4.2-1">A DPoP proof is a JWT <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/> that is signed (using JSON Web Signature (JWS) <xref target="RFC7515" format="default" sectionFormat="of" derivedContent="RFC7515"/>) with a private key chosen by the client (see below). The
JOSE Header of a DPoP JWT <bcp14>MUST</bcp14> contain at least the following parameters:</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-4.2-2">
          <dt pn="section-4.2-2.1"><tt>typ</tt>:</dt>
          <dd pn="section-4.2-2.2">A field with the value <tt>dpop+jwt</tt>, which explicitly types the DPoP proof JWT as recommended in <xref target="RFC8725" sectionFormat="of" section="3.11" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8725#section-3.11" derivedContent="RFC8725"/>.</dd>
          <dt pn="section-4.2-2.3"><tt>alg</tt>:</dt>
          <dd pn="section-4.2-2.4">An identifier for a JWS asymmetric digital signature algorithm from <xref target="IANA.JOSE.ALGS" format="default" sectionFormat="of" derivedContent="IANA.JOSE.ALGS"/>. It
<bcp14>MUST NOT</bcp14> be <tt>none</tt> or an identifier for a symmetric algorithm (Message Authentication Code (MAC)).</dd>
          <dt pn="section-4.2-2.5"><tt>jwk</tt>:</dt>
          <dd pn="section-4.2-2.6">Represents the public key chosen by the client in JSON Web Key (JWK) <xref target="RFC7517" format="default" sectionFormat="of" derivedContent="RFC7517"/> format as defined in <xref target="RFC7515" sectionFormat="of" section="4.1.3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7515#section-4.1.3" derivedContent="RFC7515"/>. It
<bcp14>MUST NOT</bcp14> contain a private key.</dd>
        </dl>
        <t indent="0" pn="section-4.2-3">The payload of a DPoP proof <bcp14>MUST</bcp14> contain at least the following claims:</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-4.2-4">
          <dt pn="section-4.2-4.1"><tt>jti</tt>:</dt>
          <dd pn="section-4.2-4.2">Unique identifier for the DPoP proof JWT.
The value <bcp14>MUST</bcp14> be assigned such that there is a negligible
probability that the same value will be assigned to any
other DPoP proof used in the same context during the time window of validity.
Such uniqueness can be accomplished by encoding (base64url or any other
suitable encoding) at least 96 bits of
pseudorandom data or by using a version 4 Universally Unique Identifier (UUID) string according to <xref target="RFC4122" format="default" sectionFormat="of" derivedContent="RFC4122"/>.
The <tt>jti</tt> can be used by the server for replay
detection and prevention; see <xref target="Token_Replay" format="default" sectionFormat="of" derivedContent="Section 11.1"/>.</dd>
          <dt pn="section-4.2-4.3"><tt>htm</tt>:</dt>
          <dd pn="section-4.2-4.4">The value of the HTTP method (<xref target="RFC9110" sectionFormat="of" section="9.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-9.1" derivedContent="RFC9110"/>) of the
request to which the JWT is attached.</dd>
          <dt pn="section-4.2-4.5"><tt>htu</tt>:</dt>
          <dd pn="section-4.2-4.6">The HTTP target URI (<xref target="RFC9110" sectionFormat="of" section="7.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-7.1" derivedContent="RFC9110"/>) of the request to which the JWT is attached, without query and fragment
parts.</dd>
          <dt pn="section-4.2-4.7"><tt>iat</tt>:</dt>
          <dd pn="section-4.2-4.8">Creation timestamp of the JWT (<xref target="RFC7519" sectionFormat="of" section="4.1.6" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7519#section-4.1.6" derivedContent="RFC7519"/>).</dd>
        </dl>
        <t indent="0" pn="section-4.2-5">When the DPoP proof is used in conjunction with the presentation of an access token in protected resource access (see
<xref target="protected-resource-access" format="default" sectionFormat="of" derivedContent="Section 7"/>), the DPoP proof <bcp14>MUST</bcp14> also contain the following claim:</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-4.2-6">
          <dt pn="section-4.2-6.1"><tt>ath</tt>:</dt>
          <dd pn="section-4.2-6.2">Hash of the access token.
The value <bcp14>MUST</bcp14> be the result of a base64url encoding (as defined in <xref target="RFC7515" sectionFormat="of" section="2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7515#section-2" derivedContent="RFC7515"/>) the SHA-256 <xref target="SHS" format="default" sectionFormat="of" derivedContent="SHS"/>
hash of the ASCII encoding of the associated access token's value.</dd>
        </dl>
        <t indent="0" pn="section-4.2-7">When the authentication server or resource server provides a <tt>DPoP-Nonce</tt> HTTP header
in a response (see Sections <xref target="ASNonce" format="counter" sectionFormat="of" derivedContent="8"/> and <xref target="RSNonce" format="counter" sectionFormat="of" derivedContent="9"/>), the DPoP proof <bcp14>MUST</bcp14> also contain
the following claim:</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-4.2-8">
          <dt pn="section-4.2-8.1"><tt>nonce</tt>:</dt>
          <dd pn="section-4.2-8.2">A recent nonce provided via the <tt>DPoP-Nonce</tt> HTTP header.</dd>
        </dl>
        <t indent="0" pn="section-4.2-9">A DPoP proof <bcp14>MAY</bcp14> contain other JOSE Header Parameters or claims as defined by extension,
profile, or deployment-specific requirements.</t>
        <t indent="0" pn="section-4.2-10"><xref target="dpop-proof" format="default" sectionFormat="of" derivedContent="Figure 4"/> is a conceptual example showing the decoded content of the DPoP
proof in <xref target="dpop-proof-jwt" format="default" sectionFormat="of" derivedContent="Figure 2"/>. The JSON of the JWT header and payload are shown,
but the signature part is omitted. As usual, line breaks and extra spaces
are included for formatting and readability.</t>
        <figure anchor="dpop-proof" align="left" suppress-title="false" pn="figure-4">
          <name slugifiedName="name-example-jwt-content-of-a-dp">Example JWT Content of a <tt>DPoP</tt> Proof</name>
          <sourcecode markers="false" pn="section-4.2-11.1">{
  "typ":"dpop+jwt",
  "alg":"ES256",
  "jwk": {
    "kty":"EC",
    "x":"l8tFrhx-34tV3hRICRDY9zCkDlpBhF42UQUfWVAWBFs",
    "y":"9VE4jf_Ok_o64zbTTlcuNJajHmt6v9TDVrU0CdvGRDA",
    "crv":"P-256"
  }
}
.
{
  "jti":"-BwC3ESc6acc2lTc",
  "htm":"POST",
  "htu":"https://server.example.com/token",
  "iat":1562262616
}
</sourcecode>
        </figure>
        <t indent="0" pn="section-4.2-12">Of the HTTP request, only the HTTP method and URI are
included in the DPoP JWT; therefore, only these two message parts
are covered by the DPoP proof.
The idea is to sign just enough of the HTTP data to
provide reasonable proof of possession with respect to the HTTP request.
This design approach of using only a minimal subset of the HTTP header
data is to avoid the substantial difficulties inherent in attempting to
normalize HTTP messages.
Nonetheless, DPoP proofs can be extended to contain other information of the
HTTP request (see also <xref target="request_integrity" format="default" sectionFormat="of" derivedContent="Section 11.7"/>).</t>
      </section>
      <section anchor="checking" numbered="true" removeInRFC="false" toc="include" pn="section-4.3">
        <name slugifiedName="name-checking-dpop-proofs">Checking DPoP Proofs</name>
        <t indent="0" pn="section-4.3-1">To validate a DPoP proof, the receiving server <bcp14>MUST</bcp14> ensure the following:</t>
        <ol spacing="compact" indent="adaptive" start="1" type="1" pn="section-4.3-2">
<li pn="section-4.3-2.1" derivedCounter="1.">There is not more than one <tt>DPoP</tt> HTTP request header field.</li>
          <li pn="section-4.3-2.2" derivedCounter="2.">The DPoP HTTP request header field value is a single and well-formed JWT.</li>
          <li pn="section-4.3-2.3" derivedCounter="3.">All required claims per <xref target="DPoP-Proof-Syntax" format="default" sectionFormat="of" derivedContent="Section 4.2"/> are contained in the JWT.</li>
          <li pn="section-4.3-2.4" derivedCounter="4.">The <tt>typ</tt> JOSE Header Parameter has the value <tt>dpop+jwt</tt>.</li>
          <li pn="section-4.3-2.5" derivedCounter="5.">The <tt>alg</tt> JOSE Header Parameter indicates a registered asymmetric digital
signature algorithm <xref target="IANA.JOSE.ALGS" format="default" sectionFormat="of" derivedContent="IANA.JOSE.ALGS"/>, is not <tt>none</tt>, is supported by the
application, and is acceptable per local policy.</li>
          <li pn="section-4.3-2.6" derivedCounter="6.">The JWT signature verifies with the public key contained in the <tt>jwk</tt>
JOSE Header Parameter.</li>
          <li pn="section-4.3-2.7" derivedCounter="7.">The <tt>jwk</tt> JOSE Header Parameter does not contain a private key.</li>
          <li pn="section-4.3-2.8" derivedCounter="8.">The <tt>htm</tt> claim matches the HTTP method of the current request.</li>
          <li pn="section-4.3-2.9" derivedCounter="9.">The <tt>htu</tt> claim matches the HTTP URI value for the HTTP
request in which the JWT was received, ignoring any query and
fragment parts.</li>
          <li pn="section-4.3-2.10" derivedCounter="10.">If the server provided a nonce value to the client,
the <tt>nonce</tt> claim matches the server-provided nonce value.</li>
          <li pn="section-4.3-2.11" derivedCounter="11.">The creation time of the JWT, as determined by either the <tt>iat</tt> claim or a server managed timestamp via the <tt>nonce</tt> claim, is within an acceptable window (see <xref target="Token_Replay" format="default" sectionFormat="of" derivedContent="Section 11.1"/>).</li>
          <li pn="section-4.3-2.12" derivedCounter="12.">
            <t indent="0" pn="section-4.3-2.12.1">If presented to a protected resource in conjunction with an access token,</t>
            <ul spacing="compact" bare="false" empty="false" indent="3" pn="section-4.3-2.12.2">
              <li pn="section-4.3-2.12.2.1">ensure that the value of the <tt>ath</tt> claim equals the hash of that access token, and</li>
              <li pn="section-4.3-2.12.2.2">confirm that the public key to which the access token is bound matches the public key from the DPoP proof.</li>
            </ul>
          </li>
        </ol>
        <t indent="0" pn="section-4.3-3">To reduce the likelihood of false negatives,
servers <bcp14>SHOULD</bcp14> employ syntax-based normalization (<xref target="RFC3986" sectionFormat="of" section="6.2.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3986#section-6.2.2" derivedContent="RFC3986"/>) and scheme-based
normalization (<xref target="RFC3986" sectionFormat="of" section="6.2.3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3986#section-6.2.3" derivedContent="RFC3986"/>) before comparing the <tt>htu</tt> claim.</t>
        <t indent="0" pn="section-4.3-4">These checks may be performed in any order.</t>
      </section>
    </section>
    <section anchor="access-token-request" numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-dpop-access-token-request">DPoP Access Token Request</name>
      <t indent="0" pn="section-5-1">To request an access token that is bound to a public key using DPoP, the client <bcp14>MUST</bcp14>
provide a valid DPoP proof JWT in a <tt>DPoP</tt> header when making an access token
request to the authorization server's token endpoint. This is applicable for all
access token requests regardless of grant type (e.g.,
the common <tt>authorization_code</tt> and <tt>refresh_token</tt> grant types and extension grants
such as the JWT authorization grant <xref target="RFC7523" format="default" sectionFormat="of" derivedContent="RFC7523"/>). The HTTP request shown in
<xref target="token-request-code" format="default" sectionFormat="of" derivedContent="Figure 5"/> illustrates such an access
token request using an authorization code grant with a DPoP proof JWT
in the <tt>DPoP</tt> header. <xref target="token-request-code" format="default" sectionFormat="of" derivedContent="Figure 5"/> uses "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
      <figure anchor="token-request-code" align="left" suppress-title="false" pn="figure-5">
        <name slugifiedName="name-token-request-for-a-dpop-se">Token Request for a DPoP Sender-Constrained Token Using an Authorization Code</name>
        <sourcecode type="http-message" markers="false" pn="section-5-2.1">POST /token HTTP/1.1
Host: server.example.com
Content-Type: application/x-www-form-urlencoded
DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6Ik\
 VDIiwieCI6Imw4dEZyaHgtMzR0VjNoUklDUkRZOXpDa0RscEJoRjQyVVFVZldWQVdCR\
 nMiLCJ5IjoiOVZFNGpmX09rX282NHpiVFRsY3VOSmFqSG10NnY5VERWclUwQ2R2R1JE\
 QSIsImNydiI6IlAtMjU2In19.eyJqdGkiOiItQndDM0VTYzZhY2MybFRjIiwiaHRtIj\
 oiUE9TVCIsImh0dSI6Imh0dHBzOi8vc2VydmVyLmV4YW1wbGUuY29tL3Rva2VuIiwia\
 WF0IjoxNTYyMjYyNjE2fQ.2-GxA6T8lP4vfrg8v-FdWP0A0zdrj8igiMLvqRMUvwnQg\
 4PtFLbdLXiOSsX0x7NVY-FNyJK70nfbV37xRZT3Lg

grant_type=authorization_code\
&amp;client_id=s6BhdRkqt\
&amp;code=SplxlOBeZQQYbYS6WxSbIA
&amp;redirect_uri=https%3A%2F%2Fclient%2Eexample%2Ecom%2Fcb\
&amp;code_verifier=bEaL42izcC-o-xBk0K2vuJ6U-y1p9r_wW2dFWIWgjz-
</sourcecode>
      </figure>
      <t indent="0" pn="section-5-3">The <tt>DPoP</tt> HTTP header field <bcp14>MUST</bcp14> contain a valid DPoP proof JWT.
If the DPoP proof is invalid, the authorization server issues an error
response per <xref target="RFC6749" sectionFormat="of" section="5.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6749#section-5.2" derivedContent="RFC6749"/> with <tt>invalid_dpop_proof</tt> as the
value of the <tt>error</tt> parameter.</t>
      <t indent="0" pn="section-5-4">To sender-constrain the access token after checking the validity of the
DPoP proof, the authorization server associates the issued access token with the
public key from the DPoP proof, which can be accomplished as described in <xref target="Confirmation" format="default" sectionFormat="of" derivedContent="Section 6"/>.
A <tt>token_type</tt> of <tt>DPoP</tt> <bcp14>MUST</bcp14> be included in the access token
response to signal to the client that the access token was bound to
its DPoP key and can be used as described in <xref target="http-auth-scheme" format="default" sectionFormat="of" derivedContent="Section 7.1"/>.
The example response shown in <xref target="token-response" format="default" sectionFormat="of" derivedContent="Figure 6"/> illustrates such a
response.</t>
      <figure anchor="token-response" align="left" suppress-title="false" pn="figure-6">
        <name slugifiedName="name-access-token-response">Access Token Response </name>
        <sourcecode type="http-message" markers="false" pn="section-5-5.1">HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store

{
 "access_token": "Kz~8mXK1EalYznwH-LC-1fBAo.4Ljp~zsPE_NeO.gxU",
 "token_type": "DPoP",
 "expires_in": 2677,
 "refresh_token": "Q..Zkm29lexi8VnWg2zPW1x-tgGad0Ibc3s3EwM_Ni4-g"
}
</sourcecode>
      </figure>
      <t indent="0" pn="section-5-6">The example response in <xref target="token-response" format="default" sectionFormat="of" derivedContent="Figure 6"/> includes a refresh token that the
client can use to obtain a new access token when the previous one expires.
Refreshing an access token is a token request using the <tt>refresh_token</tt>
grant type made to the authorization server's token endpoint.  As with
all access token requests, the client makes it a DPoP request by including
a DPoP proof, as shown in <xref target="token-request-rt" format="default" sectionFormat="of" derivedContent="Figure 7"/>. <xref target="token-request-rt" format="default" sectionFormat="of" derivedContent="Figure 7"/> uses "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
      <figure anchor="token-request-rt" align="left" suppress-title="false" pn="figure-7">
        <name slugifiedName="name-token-request-for-a-dpop-bo">Token Request for a DPoP-Bound Token Using a Refresh Token </name>
        <sourcecode type="http-message" markers="false" pn="section-5-7.1">POST /token HTTP/1.1
Host: server.example.com
Content-Type: application/x-www-form-urlencoded
DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6Ik\
 VDIiwieCI6Imw4dEZyaHgtMzR0VjNoUklDUkRZOXpDa0RscEJoRjQyVVFVZldWQVdCR\
 nMiLCJ5IjoiOVZFNGpmX09rX282NHpiVFRsY3VOSmFqSG10NnY5VERWclUwQ2R2R1JE\
 QSIsImNydiI6IlAtMjU2In19.eyJqdGkiOiItQndDM0VTYzZhY2MybFRjIiwiaHRtIj\
 oiUE9TVCIsImh0dSI6Imh0dHBzOi8vc2VydmVyLmV4YW1wbGUuY29tL3Rva2VuIiwia\
 WF0IjoxNTYyMjY1Mjk2fQ.pAqut2IRDm_De6PR93SYmGBPXpwrAk90e8cP2hjiaG5Qs\
 GSuKDYW7_X620BxqhvYC8ynrrvZLTk41mSRroapUA

grant_type=refresh_token\
&amp;client_id=s6BhdRkqt\
&amp;refresh_token=Q..Zkm29lexi8VnWg2zPW1x-tgGad0Ibc3s3EwM_Ni4-g
</sourcecode>
      </figure>
      <t indent="0" pn="section-5-8">When an authorization server supporting DPoP issues a
refresh token to a public client that presents a valid DPoP proof at the
token endpoint, the refresh token <bcp14>MUST</bcp14> be bound
to the respective public key. The binding <bcp14>MUST</bcp14> be validated when the refresh
token is later presented to get new access tokens. As a result, such a client
<bcp14>MUST</bcp14> present a DPoP proof for the same key that was used to obtain the refresh
token each time that refresh token is used to obtain a new access token.
The implementation details of the binding of the refresh token are at the discretion of
the authorization server. Since the authorization server both produces and
validates its refresh tokens, there is no interoperability
consideration in the specific details of the binding.</t>
      <t indent="0" pn="section-5-9">An authorization server <bcp14>MAY</bcp14> elect to issue access tokens that are not DPoP bound,
which is signaled to the client with a value of <tt>Bearer</tt> in the <tt>token_type</tt> parameter
of the access token response per <xref target="RFC6750" format="default" sectionFormat="of" derivedContent="RFC6750"/>. For a public client that is
also issued a refresh token, this has the effect of DPoP-binding the refresh token
alone, which can improve the security posture even when protected resources are not
updated to support DPoP.</t>
      <t indent="0" pn="section-5-10">If the access token response contains a different <tt>token_type</tt> value than <tt>DPoP</tt>, the
access token protection provided by DPoP is not given. The client <bcp14>MUST</bcp14> discard the response in this
case if this protection is deemed important for the security of the
application; otherwise, the client may continue as in a regular OAuth interaction.</t>
      <t indent="0" pn="section-5-11">Refresh tokens issued to confidential clients (those having
established authentication credentials with the authorization server)
are not bound to the DPoP proof public key because they are already
sender-constrained with a different existing mechanism. The OAuth 2.0 Authorization
Framework <xref target="RFC6749" format="default" sectionFormat="of" derivedContent="RFC6749"/> already requires that an authorization server bind
refresh tokens to the client to which they were issued and that
confidential clients authenticate to the authorization server when
presenting a refresh token.  As a result, such refresh tokens
are sender-constrained by way of the client identifier and the associated
authentication requirement. This existing sender-constraining mechanism
is more flexible (e.g., it allows credential rotation for the client
without invalidating refresh tokens) than binding directly to a particular public key.</t>
      <section anchor="as-meta" numbered="true" removeInRFC="false" toc="include" pn="section-5.1">
        <name slugifiedName="name-authorization-server-metada">Authorization Server Metadata</name>
        <t indent="0" pn="section-5.1-1">This document introduces the following authorization server metadata
<xref target="RFC8414" format="default" sectionFormat="of" derivedContent="RFC8414"/> parameter to signal support for DPoP in general and the specific
JWS <tt>alg</tt> values the authorization server supports for DPoP proof JWTs.</t>
        <dl spacing="compact" indent="3" newline="false" pn="section-5.1-2">
          <dt pn="section-5.1-2.1"><tt>dpop_signing_alg_values_supported</tt>:</dt>
          <dd pn="section-5.1-2.2">A JSON array containing a list of the JWS <tt>alg</tt> values (from the <xref target="IANA.JOSE.ALGS" format="default" sectionFormat="of" derivedContent="IANA.JOSE.ALGS"/> registry) supported
by the authorization server for DPoP proof JWTs.</dd>
        </dl>
      </section>
      <section anchor="client-meta" numbered="true" removeInRFC="false" toc="include" pn="section-5.2">
        <name slugifiedName="name-client-registration-metadat">Client Registration Metadata</name>
        <t indent="0" pn="section-5.2-1">The Dynamic Client Registration Protocol <xref target="RFC7591" format="default" sectionFormat="of" derivedContent="RFC7591"/> defines an API
for dynamically registering OAuth 2.0 client metadata with authorization servers.
The metadata defined by <xref target="RFC7591" format="default" sectionFormat="of" derivedContent="RFC7591"/>, and registered extensions to it,
also imply a general data model for clients that is useful for authorization server implementations
even when the Dynamic Client Registration Protocol isn't in play.
Such implementations will typically have some sort of user interface available for managing client configuration.</t>
        <t indent="0" pn="section-5.2-2">This document introduces the following client registration metadata
<xref target="RFC7591" format="default" sectionFormat="of" derivedContent="RFC7591"/> parameter to indicate that the client always uses
DPoP when requesting tokens from the authorization server.</t>
        <dl spacing="compact" indent="3" newline="false" pn="section-5.2-3">
          <dt pn="section-5.2-3.1"><tt>dpop_bound_access_tokens</tt>:</dt>
          <dd pn="section-5.2-3.2">A boolean value specifying whether the client always uses DPoP for token requests.  If omitted, the default value is <tt>false</tt>.</dd>
        </dl>
        <t indent="0" pn="section-5.2-4">If the value is <tt>true</tt>, the authorization server <bcp14>MUST</bcp14> reject token requests from the client that do not contain the DPoP header.</t>
      </section>
    </section>
    <section anchor="Confirmation" numbered="true" removeInRFC="false" toc="include" pn="section-6">
      <name slugifiedName="name-public-key-confirmation">Public Key Confirmation</name>
      <t indent="0" pn="section-6-1">Resource servers <bcp14>MUST</bcp14> be able to reliably identify whether
an access token is DPoP-bound and ascertain sufficient information
to verify the binding to the public key of the DPoP proof (see <xref target="http-auth-scheme" format="default" sectionFormat="of" derivedContent="Section 7.1"/>).
Such a binding is accomplished by associating the public key
with the token in a way that can be
accessed by the protected resource, such as embedding the JWK
hash in the issued access token directly, using the syntax described
in <xref target="jwk-thumb-jwt" format="default" sectionFormat="of" derivedContent="Section 6.1"/>, or through token introspection as described in
<xref target="jwk-thumb-intro" format="default" sectionFormat="of" derivedContent="Section 6.2"/>. 
Other methods of associating a
public key with an access token are possible per an agreement by the
authorization server and the protected resource; however, they are beyond the
scope of this specification.</t>
      <t indent="0" pn="section-6-2">Resource servers supporting DPoP <bcp14>MUST</bcp14> ensure that the public key from
the DPoP proof matches the one bound to the access token.</t>
      <section anchor="jwk-thumb-jwt" numbered="true" removeInRFC="false" toc="include" pn="section-6.1">
        <name slugifiedName="name-jwk-thumbprint-confirmation">JWK Thumbprint Confirmation Method</name>
        <t indent="0" pn="section-6.1-1">When access tokens are represented as JWTs <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/>,
the public key information is represented
using the <tt>jkt</tt> confirmation method member defined herein.
To convey the hash of a public key in a JWT, this specification
introduces the following JWT Confirmation Method <xref target="RFC7800" format="default" sectionFormat="of" derivedContent="RFC7800"/> member for
use under the <tt>cnf</tt> claim.</t>
        <dl spacing="compact" indent="3" newline="false" pn="section-6.1-2">
          <dt pn="section-6.1-2.1"><tt>jkt</tt>:</dt>
          <dd pn="section-6.1-2.2">JWK SHA-256 Thumbprint confirmation method. The value of the <tt>jkt</tt> member
<bcp14>MUST</bcp14> be the base64url encoding (as defined in <xref target="RFC7515" format="default" sectionFormat="of" derivedContent="RFC7515"/>)
of the JWK SHA-256 Thumbprint (according to <xref target="RFC7638" format="default" sectionFormat="of" derivedContent="RFC7638"/>) of the DPoP public key
(in JWK format) to which the access token is bound.</dd>
        </dl>
        <t indent="0" pn="section-6.1-3">The following example JWT in <xref target="cnf-claim-jwt" format="default" sectionFormat="of" derivedContent="Figure 8"/> with a decoded JWT payload shown in
<xref target="cnf-claim" format="default" sectionFormat="of" derivedContent="Figure 9"/> contains a <tt>cnf</tt> claim with the <tt>jkt</tt> JWK Thumbprint confirmation
method member.  The <tt>jkt</tt> value in these examples is the hash of the public key
from the DPoP proofs in the examples shown in <xref target="access-token-request" format="default" sectionFormat="of" derivedContent="Section 5"/>.
The example uses "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
        <figure anchor="cnf-claim-jwt" align="left" suppress-title="false" pn="figure-8">
          <name slugifiedName="name-jwt-containing-a-jwk-sha-25">JWT Containing a JWK SHA-256 Thumbprint Confirmation </name>
          <sourcecode type="jwt" markers="false" pn="section-6.1-4.1">eyJhbGciOiJFUzI1NiIsImtpZCI6IkJlQUxrYiJ9.eyJzdWIiOiJzb21lb25lQGV4YW1\
wbGUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zZXJ2ZXIuZXhhbXBsZS5jb20iLCJuYmYiOjE\
1NjIyNjI2MTEsImV4cCI6MTU2MjI2NjIxNiwiY25mIjp7ImprdCI6IjBaY09DT1JaTll\
5LURXcHFxMzBqWnlKR0hUTjBkMkhnbEJWM3VpZ3VBNEkifX0.3Tyo8VTcn6u_PboUmAO\
YUY1kfAavomW_YwYMkmRNizLJoQzWy2fCo79Zi5yObpIzjWb5xW4OGld7ESZrh0fsrA
</sourcecode>
        </figure>
        <figure anchor="cnf-claim" align="left" suppress-title="false" pn="figure-9">
          <name slugifiedName="name-jwt-claims-set-with-a-jwk-s">JWT Claims Set with a JWK SHA-256 Thumbprint Confirmation </name>
          <sourcecode type="json" markers="false" pn="section-6.1-5.1">{
  "sub":"someone@example.com",
  "iss":"https://server.example.com",
  "nbf":1562262611,
  "exp":1562266216,
  "cnf":
  {
    "jkt":"0ZcOCORZNYy-DWpqq30jZyJGHTN0d2HglBV3uiguA4I"
  }
}
</sourcecode>
        </figure>
      </section>
      <section anchor="jwk-thumb-intro" numbered="true" removeInRFC="false" toc="include" pn="section-6.2">
        <name slugifiedName="name-jwk-thumbprint-confirmation-">JWK Thumbprint Confirmation Method in Token Introspection</name>
        <t indent="0" pn="section-6.2-1">"OAuth 2.0 Token Introspection" <xref target="RFC7662" format="default" sectionFormat="of" derivedContent="RFC7662"/> defines a method for a
protected resource to query an authorization server about the active
state of an access token. The protected resource also determines metainformation
about the token.</t>
        <t indent="0" pn="section-6.2-2">For a DPoP-bound access token, the hash of the public key 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 <tt>cnf</tt> content with
<tt>jkt</tt> member structure as the JWK Thumbprint confirmation method, described in
<xref target="jwk-thumb-jwt" format="default" sectionFormat="of" derivedContent="Section 6.1"/>, as a top-level member of the
introspection response JSON. Note that the resource server
does not send a DPoP proof with the introspection request, and the authorization
server does not validate an access token's DPoP binding at the introspection
endpoint. Rather, the resource server uses the data of the introspection response
to validate the access token binding itself locally.</t>
        <t indent="0" pn="section-6.2-3">If the <tt>token_type</tt> member is included in the introspection response, it <bcp14>MUST</bcp14> contain
the value <tt>DPoP</tt>.</t>
        <t indent="0" pn="section-6.2-4">The example introspection request in <xref target="introspect-req" format="default" sectionFormat="of" derivedContent="Figure 10"/> and corresponding response in
<xref target="introspect-resp" format="default" sectionFormat="of" derivedContent="Figure 11"/> illustrate an introspection exchange for the example DPoP-bound
access token that was issued in <xref target="token-response" format="default" sectionFormat="of" derivedContent="Figure 6"/>.</t>
        <figure anchor="introspect-req" align="left" suppress-title="false" pn="figure-10">
          <name slugifiedName="name-example-introspection-reque">Example Introspection Request </name>
          <sourcecode type="http-message" markers="false" pn="section-6.2-5.1">POST /as/introspect.oauth2 HTTP/1.1
Host: server.example.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic cnM6cnM6TWt1LTZnX2xDektJZHo0ZnNON2tZY3lhK1Rp

token=Kz~8mXK1EalYznwH-LC-1fBAo.4Ljp~zsPE_NeO.gxU
</sourcecode>
        </figure>
        <figure anchor="introspect-resp" align="left" suppress-title="false" pn="figure-11">
          <name slugifiedName="name-example-introspection-respo">Example Introspection Response for a DPoP-Bound Access Token </name>
          <sourcecode markers="false" pn="section-6.2-6.1">HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store

{
  "active": true,
  "sub": "someone@example.com",
  "iss": "https://server.example.com",
  "nbf": 1562262611,
  "exp": 1562266216,
  "cnf":
  {
    "jkt": "0ZcOCORZNYy-DWpqq30jZyJGHTN0d2HglBV3uiguA4I"
  }
}
</sourcecode>
        </figure>
      </section>
    </section>
    <section anchor="protected-resource-access" numbered="true" removeInRFC="false" toc="include" pn="section-7">
      <name slugifiedName="name-protected-resource-access">Protected Resource Access</name>
      <t indent="0" pn="section-7-1">Requests to DPoP-protected resources
<bcp14>MUST</bcp14> include both a DPoP proof as per <xref target="the-proof" format="default" sectionFormat="of" derivedContent="Section 4"/> and
the access token as described in <xref target="http-auth-scheme" format="default" sectionFormat="of" derivedContent="Section 7.1"/>.
The DPoP proof <bcp14>MUST</bcp14> include the <tt>ath</tt> claim with a valid hash of the
associated access token.</t>
      <t indent="0" pn="section-7-2">Binding the token value to the proof in this way prevents a proof
to be used with multiple different access token values across different requests.
For example, if a client holds tokens bound to two different resource owners, AT1 and AT2,
and uses the same key when talking to the authorization server, it's possible that these tokens could be swapped.
Without the <tt>ath</tt> field to bind it, a captured signature applied to AT1 could be
replayed with AT2 instead, changing the rights and access of the intended request.
This same substitution prevention remains for rotated access tokens within the same
combination of client and resource owner -- a rotated token value would require the
calculation of a new proof. This binding additionally ensures that a proof intended for use
with the access token is not usable without an access token, or vice-versa.</t>
      <t indent="0" pn="section-7-3">The resource server is required to calculate the hash of the token value presented
and verify that it is the same as the hash value in the <tt>ath</tt> field as described in <xref target="checking" format="default" sectionFormat="of" derivedContent="Section 4.3"/>.
Since the <tt>ath</tt> field value is covered by the DPoP proof's signature, its inclusion binds
the access token value to the holder of the key used to generate the signature.</t>
      <t indent="0" pn="section-7-4">Note that the <tt>ath</tt> field alone does not prevent replay of the DPoP proof or provide binding
to the request in which the proof is presented, and it is still important to check the time
window of the proof as well as the included message parameters, such as <tt>htm</tt> and <tt>htu</tt>.</t>
      <section anchor="http-auth-scheme" numbered="true" removeInRFC="false" toc="include" pn="section-7.1">
        <name slugifiedName="name-the-dpop-authentication-sch">The DPoP Authentication Scheme</name>
        <t indent="0" pn="section-7.1-1">A DPoP-bound access token is sent using the <tt>Authorization</tt> request
header field per <xref target="RFC9110" sectionFormat="of" section="11.6.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-11.6.2" derivedContent="RFC9110"/> with an authentication scheme of <tt>DPoP</tt>. The syntax of the <tt>Authorization</tt>
header field for the <tt>DPoP</tt> scheme
uses the token68 syntax defined in <xref target="RFC9110" sectionFormat="of" section="11.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-11.2" derivedContent="RFC9110"/> for credentials and is repeated below for ease of reference.
The ABNF notation syntax for DPoP authentication scheme credentials is as follows:</t>
        <figure anchor="dpop-auth-scheme-abnf" align="left" suppress-title="false" pn="figure-12">
          <name slugifiedName="name-dpop-authentication-scheme-">DPoP Authentication Scheme ABNF
</name>
          <sourcecode type="abnf" markers="false" pn="section-7.1-2.1">
token68    = 1*( ALPHA / DIGIT /
                 "-" / "." / "_" / "~" / "+" / "/" ) *"="

credentials = "DPoP" 1*SP token68
</sourcecode>
        </figure>
        <t indent="0" pn="section-7.1-3">For such an access token, a resource server <bcp14>MUST</bcp14> check that a DPoP proof
was also received in the <tt>DPoP</tt> header field of the HTTP request,
check the DPoP proof according to the rules in <xref target="checking" format="default" sectionFormat="of" derivedContent="Section 4.3"/>,
and check that the public key of the DPoP proof matches the public
key to which the access token is bound per <xref target="Confirmation" format="default" sectionFormat="of" derivedContent="Section 6"/>.</t>
        <t indent="0" pn="section-7.1-4">The resource server <bcp14>MUST NOT</bcp14> grant access to the resource unless all
checks are successful.</t>
        <t indent="0" pn="section-7.1-5"><xref target="protected-resource-request" format="default" sectionFormat="of" derivedContent="Figure 13"/> shows an example request to a protected
resource with a DPoP-bound access token in the <tt>Authorization</tt> header
and the DPoP proof in the <tt>DPoP</tt> header.
The example uses "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.
<xref target="dpop-proof-pr" format="default" sectionFormat="of" derivedContent="Figure 14"/> shows the decoded content of that DPoP
proof. The JSON of the JWT header and payload are shown,
but the signature part is omitted. As usual, line breaks and indentation
are included for formatting and readability.</t>
        <figure anchor="protected-resource-request" align="left" suppress-title="false" pn="figure-13">
          <name slugifiedName="name-dpop-protected-resource-req">DPoP-Protected Resource Request </name>
          <sourcecode type="http-message" markers="false" pn="section-7.1-6.1">GET /protectedresource HTTP/1.1
Host: resource.example.org
Authorization: DPoP Kz~8mXK1EalYznwH-LC-1fBAo.4Ljp~zsPE_NeO.gxU
DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6Ik\
 VDIiwieCI6Imw4dEZyaHgtMzR0VjNoUklDUkRZOXpDa0RscEJoRjQyVVFVZldWQVdCR\
 nMiLCJ5IjoiOVZFNGpmX09rX282NHpiVFRsY3VOSmFqSG10NnY5VERWclUwQ2R2R1JE\
 QSIsImNydiI6IlAtMjU2In19.eyJqdGkiOiJlMWozVl9iS2ljOC1MQUVCIiwiaHRtIj\
 oiR0VUIiwiaHR1IjoiaHR0cHM6Ly9yZXNvdXJjZS5leGFtcGxlLm9yZy9wcm90ZWN0Z\
 WRyZXNvdXJjZSIsImlhdCI6MTU2MjI2MjYxOCwiYXRoIjoiZlVIeU8ycjJaM0RaNTNF\
 c05yV0JiMHhXWG9hTnk1OUlpS0NBcWtzbVFFbyJ9.2oW9RP35yRqzhrtNP86L-Ey71E\
 OptxRimPPToA1plemAgR6pxHF8y6-yqyVnmcw6Fy1dqd-jfxSYoMxhAJpLjA
</sourcecode>
        </figure>
        <figure anchor="dpop-proof-pr" align="left" suppress-title="false" pn="figure-14">
          <name slugifiedName="name-decoded-content-of-the-dpop">Decoded Content of the <tt>DPoP</tt> Proof JWT in Figure 13</name>
          <sourcecode type="json" markers="false" pn="section-7.1-7.1">{
  "typ":"dpop+jwt",
  "alg":"ES256",
  "jwk": {
    "kty":"EC",
    "x":"l8tFrhx-34tV3hRICRDY9zCkDlpBhF42UQUfWVAWBFs",
    "y":"9VE4jf_Ok_o64zbTTlcuNJajHmt6v9TDVrU0CdvGRDA",
    "crv":"P-256"
  }
}
.
{
  "jti":"e1j3V_bKic8-LAEB",
  "htm":"GET",
  "htu":"https://resource.example.org/protectedresource",
  "iat":1562262618,
  "ath":"fUHyO2r2Z3DZ53EsNrWBb0xWXoaNy59IiKCAqksmQEo"
}
</sourcecode>
        </figure>
        <t indent="0" pn="section-7.1-8">Upon receipt of a request to a protected resource within the protection
space requiring DPoP authentication, the server can respond with a challenge
to the client to provide DPoP authentication information if the request does
not include valid credentials or does not contain an access token sufficient
for access.  Such a challenge is made using the 401 (Unauthorized) response
status code (<xref target="RFC9110" sectionFormat="comma" section="15.5.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-15.5.2" derivedContent="RFC9110"/>) and the <tt>WWW-Authenticate</tt> header field
(<xref target="RFC9110" sectionFormat="comma" section="11.6.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-11.6.1" derivedContent="RFC9110"/>). The
server <bcp14>MAY</bcp14> include the <tt>WWW-Authenticate</tt> header in
response to other conditions as well.</t>
        <t indent="0" pn="section-7.1-9">In such challenges:</t>
        <ul spacing="compact" bare="false" empty="false" indent="3" pn="section-7.1-10">
          <li pn="section-7.1-10.1">The scheme name is <tt>DPoP</tt>.</li>
          <li pn="section-7.1-10.2">The authentication parameter <tt>realm</tt> <bcp14>MAY</bcp14> be included to indicate the
scope of protection in the manner described in <xref target="RFC9110" sectionFormat="comma" section="11.5" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-11.5" derivedContent="RFC9110"/>.</li>
          <li pn="section-7.1-10.3">A <tt>scope</tt> authentication parameter <bcp14>MAY</bcp14> be included as defined in
<xref target="RFC6750" sectionFormat="comma" section="3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6750#section-3" derivedContent="RFC6750"/>.</li>
          <li pn="section-7.1-10.4">An <tt>error</tt> parameter (<xref target="RFC6750" sectionFormat="comma" section="3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6750#section-3" derivedContent="RFC6750"/>) <bcp14>SHOULD</bcp14> be included
to indicate the reason why the request was declined,
if the request included an access token but failed authentication.
The error parameter values described in <xref target="RFC6750" sectionFormat="comma" section="3.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6750#section-3.1" derivedContent="RFC6750"/> are suitable,
as are any appropriate values defined by extension. The value <tt>use_dpop_nonce</tt> can be
used as described in <xref target="RSNonce" format="default" sectionFormat="of" derivedContent="Section 9"/> to signal that a nonce is needed in the DPoP proof of a
subsequent request(s). Additionally, <tt>invalid_dpop_proof</tt> is used to indicate that the DPoP proof
itself was deemed invalid based on the criteria of <xref target="checking" format="default" sectionFormat="of" derivedContent="Section 4.3"/>.</li>
          <li pn="section-7.1-10.5">An <tt>error_description</tt> parameter (<xref target="RFC6750" sectionFormat="comma" section="3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6750#section-3" derivedContent="RFC6750"/>) <bcp14>MAY</bcp14> be included
along with the <tt>error</tt> parameter to provide developers a human-readable
explanation that is not meant to be displayed to end-users.</li>
          <li pn="section-7.1-10.6">An <tt>algs</tt> parameter <bcp14>SHOULD</bcp14> be included to signal to the client the
JWS algorithms that are acceptable for the DPoP proof JWT.
The value of the parameter is a space-delimited list of JWS <tt>alg</tt> (Algorithm)
header values (<xref target="RFC7515" sectionFormat="comma" section="4.1.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7515#section-4.1.1" derivedContent="RFC7515"/>).</li>
          <li pn="section-7.1-10.7">Additional authentication parameters <bcp14>MAY</bcp14> be used, and unknown parameters
<bcp14>MUST</bcp14> be ignored by recipients.</li>
        </ul>
        <t indent="0" pn="section-7.1-11"><xref target="http-401-response-protected-req-without-auth" format="default" sectionFormat="of" derivedContent="Figure 15"/> shows a response to a protected resource request without
authentication.</t>
        <figure anchor="http-401-response-protected-req-without-auth" align="left" suppress-title="false" pn="figure-15">
          <name slugifiedName="name-http-401-response-to-a-prot">HTTP 401 Response to a Protected Resource Request without Authentication
</name>
          <sourcecode type="http-message" markers="false" pn="section-7.1-12.1"> HTTP/1.1 401 Unauthorized
 WWW-Authenticate: DPoP algs="ES256 PS256"
</sourcecode>
        </figure>
        <t indent="0" pn="section-7.1-13"><xref target="http-401-response-protected-req-with-invalid-token" format="default" sectionFormat="of" derivedContent="Figure 16"/> shows a response to a protected resource request that was rejected
due to the failed confirmation of the DPoP binding in the access token. <xref target="http-401-response-protected-req-with-invalid-token" format="default" sectionFormat="of" derivedContent="Figure 16"/>
uses "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
        <figure anchor="http-401-response-protected-req-with-invalid-token" align="left" suppress-title="false" pn="figure-16">
          <name slugifiedName="name-http-401-response-to-a-prote">HTTP 401 Response to a Protected Resource Request with an Invalid Token
</name>
          <sourcecode type="http-message" markers="false" pn="section-7.1-14.1">
HTTP/1.1 401 Unauthorized
WWW-Authenticate: DPoP error="invalid_token", \
   error_description="Invalid DPoP key binding", algs="ES256"
</sourcecode>
        </figure>
        <t indent="0" pn="section-7.1-15">Note that browser-based client applications using Cross-Origin Resource Sharing (CORS) <xref target="WHATWG.Fetch" format="default" sectionFormat="of" derivedContent="WHATWG.Fetch"/> only have access
to CORS-safelisted response HTTP headers by default.
In order for the application to obtain and use the <tt>WWW-Authenticate</tt> HTTP response header
value, the server needs to make it available to the application by including
<tt>WWW-Authenticate</tt> in the <tt>Access-Control-Expose-Headers</tt> response header list value.</t>
        <t indent="0" pn="section-7.1-16">This authentication scheme is for origin-server authentication only.
Therefore, this authentication scheme <bcp14>MUST NOT</bcp14> be used with the
<tt>Proxy-Authenticate</tt> or <tt>Proxy-Authorization</tt> header fields.</t>
        <t indent="0" pn="section-7.1-17">Note that the syntax of the <tt>Authorization</tt> header field for this authentication scheme
follows the usage of the <tt>Bearer</tt> scheme defined in <xref target="RFC6750" sectionFormat="of" section="2.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6750#section-2.1" derivedContent="RFC6750"/>.
While it is not the preferred credential syntax of <xref target="RFC9110" format="default" sectionFormat="of" derivedContent="RFC9110"/>, it is compatible
with the general authentication framework therein and is used for consistency
and familiarity with the <tt>Bearer</tt> scheme.</t>
      </section>
      <section anchor="compatibility-with-the-bearer-authentication-scheme" numbered="true" removeInRFC="false" toc="include" pn="section-7.2">
        <name slugifiedName="name-compatibility-with-the-bear">Compatibility with the Bearer Authentication Scheme</name>
        <t indent="0" pn="section-7.2-1">Protected resources simultaneously supporting both the <tt>DPoP</tt> and <tt>Bearer</tt>
schemes need to update how the evaluation process is performed for bearer tokens to prevent
downgraded usage of a DPoP-bound access token.
Specifically, such a protected resource <bcp14>MUST</bcp14> reject a DPoP-bound access
token received as a bearer token per <xref target="RFC6750" format="default" sectionFormat="of" derivedContent="RFC6750"/>.</t>
        <t indent="0" pn="section-7.2-2"><xref target="RFC9110" sectionFormat="of" section="11.6.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-11.6.1" derivedContent="RFC9110"/> allows a protected resource to indicate support for
multiple authentication schemes (i.e., <tt>Bearer</tt> and <tt>DPoP</tt>) with the
<tt>WWW-Authenticate</tt> header field of a 401 (Unauthorized) response.</t>
        <t indent="0" pn="section-7.2-3">A protected resource that supports only <xref target="RFC6750" format="default" sectionFormat="of" derivedContent="RFC6750"/> and is unaware of DPoP
would most presumably accept a DPoP-bound access token as a bearer token
(JWT <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/> says to ignore unrecognized claims, Introspection <xref target="RFC7662" format="default" sectionFormat="of" derivedContent="RFC7662"/>
says that other parameters might be present while placing no functional
requirements on their presence, and <xref target="RFC6750" format="default" sectionFormat="of" derivedContent="RFC6750"/> is effectively silent on
the content of the access token since it relates to validity).  
As such, a
client can send a DPoP-bound access token using the <tt>Bearer</tt> scheme upon
receipt of a <tt>WWW-Authenticate: Bearer</tt> challenge from a protected resource
(or it can send a DPoP-bound access token if it has prior knowledge of the capabilities of the protected
resource). The effect of this likely simplifies the logistics of phased
upgrades to protected resources in their support DPoP or
prolonged deployments of protected resources with mixed token type support.</t>
        <t indent="0" pn="section-7.2-4">If a protected resource supporting both <tt>Bearer</tt> and <tt>DPoP</tt> schemes elects to
respond with multiple <tt>WWW-Authenticate</tt> challenges, attention should be paid to
which challenge(s) should deliver the actual error information. It is
<bcp14>RECOMMENDED</bcp14> that the following rules be adhered to:</t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-7.2-5">
          <li pn="section-7.2-5.1">
            <t indent="0" pn="section-7.2-5.1.1">If no authentication information has been included with the request, then the
challenges <bcp14>SHOULD NOT</bcp14> include an error code or other error information, as per
<xref target="RFC6750" sectionFormat="of" section="3.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6750#section-3.1" derivedContent="RFC6750"/> (<xref target="multi-challenge-no-token" format="default" sectionFormat="of" derivedContent="Figure 17"/>).</t>
          </li>
          <li pn="section-7.2-5.2">
            <t indent="0" pn="section-7.2-5.2.1">If the mechanism used to attempt authentication could be established
unambiguously, then the corresponding challenge <bcp14>SHOULD</bcp14> be used to deliver error
information (<xref target="multi-challenge-invalid-token" format="default" sectionFormat="of" derivedContent="Figure 18"/>).</t>
          </li>
          <li pn="section-7.2-5.3">
            <t indent="0" pn="section-7.2-5.3.1">Otherwise, both <tt>Bearer</tt> and <tt>DPoP</tt> challenges <bcp14>MAY</bcp14> be used to deliver error information (<xref target="multi-challenge-ambiguous" format="default" sectionFormat="of" derivedContent="Figure 19"/>).</t>
          </li>
        </ul>
        <t indent="0" pn="section-7.2-6">The following examples use "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
        <figure anchor="multi-challenge-no-token" align="left" suppress-title="false" pn="figure-17">
          <name slugifiedName="name-http-401-response-to-a-protec">HTTP 401 Response to a Protected Resource Request without Authentication </name>
          <sourcecode type="http-message" markers="false" pn="section-7.2-7.1">GET /protectedresource HTTP/1.1
Host: resource.example.org

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer, DPoP algs="ES256 PS256"
</sourcecode>
        </figure>
        <figure anchor="multi-challenge-invalid-token" align="left" suppress-title="false" pn="figure-18">
          <name slugifiedName="name-http-401-response-to-a-protect">HTTP 401 Response to a Protected Resource Request with Invalid Authentication </name>
          <sourcecode type="http-message" markers="false" pn="section-7.2-8.1">GET /protectedresource HTTP/1.1
Host: resource.example.org
Authorization: Bearer INVALID_TOKEN

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer error="invalid_token", \
    error_description="Invalid token", DPoP algs="ES256 PS256"
</sourcecode>
        </figure>
        <figure anchor="multi-challenge-ambiguous" align="left" suppress-title="false" pn="figure-19">
          <name slugifiedName="name-http-400-response-to-a-prot">HTTP 400 Response to a Protected Resource Request with Ambiguous Authentication </name>
          <sourcecode type="http-message" markers="false" pn="section-7.2-9.1">GET /protectedresource HTTP/1.1
Host: resource.example.org
Authorization: Bearer Kz~8mXK1EalYznwH-LC-1fBAo.4Ljp~zsPE_NeO.gxU
Authorization: DPoP Kz~8mXK1EalYznwH-LC-1fBAo.4Ljp~zsPE_NeO.gxU

HTTP/1.1 400 Bad Request
WWW-Authenticate: Bearer error="invalid_request", \
 error_description="Multiple methods used to include access token", \
 DPoP algs="ES256 PS256", error="invalid_request", \
 error_description="Multiple methods used to include access token"
</sourcecode>
        </figure>
      </section>
      <section anchor="client-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-7.3">
        <name slugifiedName="name-client-considerations">Client Considerations</name>
        <t indent="0" pn="section-7.3-1">Authorization including a DPoP proof may not be idempotent (depending on server
enforcement of <tt>jti</tt>, <tt>iat</tt>, and <tt>nonce</tt> claims). Consequently, all previously
idempotent requests for protected resources that were previously idempotent may
no longer be idempotent. It is <bcp14>RECOMMENDED</bcp14> that clients generate a unique DPoP
proof, even when retrying idempotent requests in response to HTTP errors
generally understood as transient.</t>
        <t indent="0" pn="section-7.3-2">Clients that encounter frequent network errors may experience additional
challenges when interacting with servers with stricter nonce validation
implementations.</t>
      </section>
    </section>
    <section anchor="ASNonce" numbered="true" removeInRFC="false" toc="include" pn="section-8">
      <name slugifiedName="name-authorization-server-provid">Authorization Server-Provided Nonce</name>
      <t indent="0" pn="section-8-1">This section specifies a mechanism using opaque nonces provided by the server
that can be used to limit the lifetime of DPoP proofs.
Without employing such a mechanism, a malicious party controlling the client
(potentially including the end-user)
can create DPoP proofs for use arbitrarily far in the future.</t>
      <t indent="0" pn="section-8-2">Including a nonce value contributed by the authorization server in the DPoP proof
<bcp14>MAY</bcp14> be used by authorization servers to limit the lifetime of DPoP proofs.
   The server determines when to issue a new DPoP nonce challenge and if
   it is needed, thereby requiring the use of the nonce value in
   subsequent DPoP proofs.
The logic through which the server makes that determination is out of scope of this document.</t>
      <t indent="0" pn="section-8-3">An authorization server <bcp14>MAY</bcp14> supply a nonce value to be included by the client
in DPoP proofs sent. In this case, the authorization server responds to requests that do not include a nonce
with an HTTP 400 (Bad Request) error response per <xref target="RFC6749" sectionFormat="of" section="5.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6749#section-5.2" derivedContent="RFC6749"/> using <tt>use_dpop_nonce</tt> as the
error code value. The authorization server includes a <tt>DPoP-Nonce</tt> HTTP header in the response supplying
a nonce value to be used when sending the subsequent request. Nonce values <bcp14>MUST</bcp14> be unpredictable.
This same error code is used when supplying a new nonce value when there was a nonce mismatch.
The client will typically retry the request with the new nonce value supplied
upon receiving a <tt>use_dpop_nonce</tt> error with an accompanying nonce value.</t>
      <t indent="0" pn="section-8-4">For example, in response to a token request without a nonce when the authorization server requires one,
the authorization server can respond with a <tt>DPoP-Nonce</tt> value such as the following to provide
a nonce value to include in the DPoP proof:</t>
      <figure anchor="http-400-response-token-without-nonce" align="left" suppress-title="false" pn="figure-20">
        <name slugifiedName="name-http-400-response-to-a-toke">HTTP 400 Response to a Token Request without a Nonce
</name>
        <sourcecode type="http-message" markers="false" pn="section-8-5.1"> HTTP/1.1 400 Bad Request
 DPoP-Nonce: eyJ7S_zG.eyJH0-Z.HX4w-7v

 {
  "error": "use_dpop_nonce",
  "error_description":
    "Authorization server requires nonce in DPoP proof"
 }
</sourcecode>
      </figure>
      <t indent="0" pn="section-8-6">Other HTTP headers and JSON fields <bcp14>MAY</bcp14> also be included in the error response,
but there <bcp14>MUST NOT</bcp14> be more than one <tt>DPoP-Nonce</tt> header.</t>
      <t indent="0" pn="section-8-7">Upon receiving the nonce, the client is expected to retry its token request
using a DPoP proof including the supplied nonce value in the <tt>nonce</tt> claim
of the DPoP proof.
An example unencoded JWT payload of such a DPoP proof including a nonce is shown below.</t>
      <figure anchor="dpop-proof-payload-nonce-value" align="left" suppress-title="false" pn="figure-21">
        <name slugifiedName="name-dpop-proof-payload-includin">DPoP Proof Payload including a Nonce Value
</name>
        <sourcecode type="json" markers="false" pn="section-8-8.1"> {
  "jti": "-BwC3ESc6acc2lTc",
  "htm": "POST",
  "htu": "https://server.example.com/token",
  "iat": 1562262616,
  "nonce": "eyJ7S_zG.eyJH0-Z.HX4w-7v"
 }
</sourcecode>
      </figure>
      <t indent="0" pn="section-8-9">The nonce is opaque to the client.</t>
      <t indent="0" pn="section-8-10">If the <tt>nonce</tt> claim in the DPoP proof
does not exactly match a nonce recently supplied by the authorization server to the client,
the authorization server <bcp14>MUST</bcp14> reject the request.
The rejection response <bcp14>MAY</bcp14> include a <tt>DPoP-Nonce</tt> HTTP header
providing a new nonce value to use for subsequent requests.</t>
      <t indent="0" pn="section-8-11">The intent is that clients need to keep only one nonce value and servers need to keep a
window of recent nonces.
That said, transient circumstances may arise in which the 
   stored nonce values for the server and the client differ.
However, this situation is self-correcting.
With any rejection message,
the server can send the client the nonce value it wants to use
to the client, and the client can store that nonce value and retry the request with it.
Even if the client and/or server discard their stored nonce values,
that situation is also self-correcting because new nonce values can be communicated
when responding to or retrying failed requests.</t>
      <t indent="0" pn="section-8-12">Note that browser-based client applications using CORS <xref target="WHATWG.Fetch" format="default" sectionFormat="of" derivedContent="WHATWG.Fetch"/> only have access
to CORS-safelisted response HTTP headers by default.
In order for the application to obtain and use the <tt>DPoP-Nonce</tt> HTTP response header
value, the server needs to make it available to the application by including
<tt>DPoP-Nonce</tt> in the <tt>Access-Control-Expose-Headers</tt> response header list value.</t>
      <section anchor="NonceSyntax" numbered="true" removeInRFC="false" toc="include" pn="section-8.1">
        <name slugifiedName="name-nonce-syntax">Nonce Syntax</name>
        <t indent="0" pn="section-8.1-1">The nonce syntax in ABNF as used by <xref target="RFC6749" format="default" sectionFormat="of" derivedContent="RFC6749"/>
(which is the same as the scope-token syntax) is shown below.</t>
        <figure anchor="nonce-abnf" align="left" suppress-title="false" pn="figure-22">
          <name slugifiedName="name-nonce-abnf">Nonce ABNF
</name>
          <sourcecode type="abnf" markers="false" pn="section-8.1-2.1">nonce = 1*NQCHAR</sourcecode>
        </figure>
      </section>
      <section anchor="NewNonce" numbered="true" removeInRFC="false" toc="include" pn="section-8.2">
        <name slugifiedName="name-providing-a-new-nonce-value">Providing a New Nonce Value</name>
        <t indent="0" pn="section-8.2-1">It is up to the authorization server when to supply a new nonce value
for the client to use.
The client is expected to use the existing supplied nonce in DPoP proofs
until the server supplies a new nonce value.</t>
        <t indent="0" pn="section-8.2-2">The authorization server <bcp14>MAY</bcp14> supply the new nonce in the same way that
the initial one was supplied: by using a <tt>DPoP-Nonce</tt> HTTP header in the response.
The <tt>DPoP-Nonce</tt> HTTP header field uses the nonce syntax defined in <xref target="NonceSyntax" format="default" sectionFormat="of" derivedContent="Section 8.1"/>.
Each time this happens, it requires an extra protocol round trip.</t>
        <t indent="0" pn="section-8.2-3">A more efficient manner of supplying a new nonce value is also defined
by including a <tt>DPoP-Nonce</tt> HTTP header
in the HTTP 200 (OK) response from the previous request.
The client <bcp14>MUST</bcp14> use the new nonce value supplied for the next token request
and for all subsequent token requests until the authorization server
supplies a new nonce.</t>
        <t indent="0" pn="section-8.2-4">Responses that include the <tt>DPoP-Nonce</tt> HTTP header should be uncacheable
(e.g., using <tt>Cache-Control: no-store</tt> in response to a <tt>GET</tt> request) to
prevent the response from being used to serve a subsequent request and a stale
nonce value from being used as a result.</t>
        <t indent="0" pn="section-8.2-5">An example 200 OK response providing a new nonce value is shown below.</t>
        <figure anchor="http-200-response-next-nonce-value" align="left" suppress-title="false" pn="figure-23">
          <name slugifiedName="name-http-200-response-providing">HTTP 200 Response Providing the Next Nonce Value
</name>
          <sourcecode type="http-message" markers="false" pn="section-8.2-6.1"> HTTP/1.1 200 OK
 Cache-Control: no-store
 DPoP-Nonce: eyJ7S_zG.eyJbYu3.xQmBj-1
</sourcecode>
        </figure>
      </section>
    </section>
    <section anchor="RSNonce" numbered="true" removeInRFC="false" toc="include" pn="section-9">
      <name slugifiedName="name-resource-server-provided-no">Resource Server-Provided Nonce</name>
      <t indent="0" pn="section-9-1">Resource servers can also choose to provide a nonce value to be included
in DPoP proofs sent to them.
They provide the nonce using the <tt>DPoP-Nonce</tt> header in the same way that authorization servers do
as described in Sections <xref target="ASNonce" format="counter" sectionFormat="of" derivedContent="8"/> and <xref target="NewNonce" format="counter" sectionFormat="of" derivedContent="8.2"/>.
The error signaling is performed as described in <xref target="http-auth-scheme" format="default" sectionFormat="of" derivedContent="Section 7.1"/>.
Resource servers use an HTTP 401 (Unauthorized) error code
with an accompanying <tt>WWW-Authenticate: DPoP</tt> value
and <tt>DPoP-Nonce</tt> value to accomplish this.</t>
      <t indent="0" pn="section-9-2">For example, in response to a resource request without a nonce when the resource server requires one,
the resource server can respond with a <tt>DPoP-Nonce</tt> value such as the following to provide
a nonce value to include in the DPoP proof.
The example below uses "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
      <figure anchor="http-401-response-resource-request-without-nonce" align="left" suppress-title="false" pn="figure-24">
        <name slugifiedName="name-http-401-response-to-a-reso">HTTP 401 Response to a Resource Request without a Nonce
</name>
        <sourcecode type="http-message" markers="false" pn="section-9-3.1"> HTTP/1.1 401 Unauthorized
 WWW-Authenticate: DPoP error="use_dpop_nonce", \
   error_description="Resource server requires nonce in DPoP proof"
 DPoP-Nonce: eyJ7S_zG.eyJH0-Z.HX4w-7v
</sourcecode>
      </figure>
      <t indent="0" pn="section-9-4">Note that the nonces provided by an authorization server and a resource server are different
and should not be confused with one another
since nonces will be only accepted by the server that issued them.
Likewise, should a client use multiple authorization servers and/or resource servers,
a nonce issued by any of them should be used only at the issuing server.
Developers should also be careful to not confuse DPoP nonces with the
OpenID Connect <xref target="OpenID.Core" format="default" sectionFormat="of" derivedContent="OpenID.Core"/> ID Token nonce.</t>
    </section>
    <section anchor="dpop_jkt" numbered="true" removeInRFC="false" toc="include" pn="section-10">
      <name slugifiedName="name-authorization-code-binding-">Authorization Code Binding to a DPoP Key</name>
      <t indent="0" pn="section-10-1">Binding the authorization code issued to the client's proof-of-possession key
can enable end-to-end binding of the entire authorization flow.
This specification defines the <tt>dpop_jkt</tt> authorization request parameter for this purpose.
The value of the <tt>dpop_jkt</tt> authorization request parameter is the
JWK Thumbprint <xref target="RFC7638" format="default" sectionFormat="of" derivedContent="RFC7638"/> of the proof-of-possession public key
using the SHA-256 hash function, which is
the same value as used for the <tt>jkt</tt> confirmation method defined in <xref target="jwk-thumb-jwt" format="default" sectionFormat="of" derivedContent="Section 6.1"/>.</t>
      <t indent="0" pn="section-10-2">When a token request is received, the authorization server computes the
JWK Thumbprint of the proof-of-possession public key in the DPoP proof
and verifies that it matches the <tt>dpop_jkt</tt> parameter value in the authorization request.
If they do not match, it <bcp14>MUST</bcp14> reject the request.</t>
      <t indent="0" pn="section-10-3">An example authorization request using the <tt>dpop_jkt</tt> authorization request parameter is shown below and uses "\" line wrapping per <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
      <figure anchor="auth-req-using-dpopjkt-parameter" align="left" suppress-title="false" pn="figure-25">
        <name slugifiedName="name-authorization-request-using">Authorization Request Using the <tt>dpop_jkt</tt> Parameter
</name>
        <sourcecode type="http-message" markers="false" pn="section-10-4.1">
GET /authorize?response_type=code&amp;client_id=s6BhdRkqt3&amp;state=xyz\
    &amp;redirect_uri=https%3A%2F%2Fclient%2Eexample%2Ecom%2Fcb\
    &amp;code_challenge=E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM\
    &amp;code_challenge_method=S256\
    &amp;dpop_jkt=NzbLsXh8uDCcd-6MNwXF4W_7noWXFZAfHkxZsRGC9Xs HTTP/1.1
Host: server.example.com
</sourcecode>
      </figure>
      <t indent="0" pn="section-10-5">Use of the <tt>dpop_jkt</tt> authorization request parameter is <bcp14>OPTIONAL</bcp14>.
Note that the <tt>dpop_jkt</tt> authorization request parameter <bcp14>MAY</bcp14> also be used
in combination with Proof Key for Code Exchange (PKCE) <xref target="RFC7636" format="default" sectionFormat="of" derivedContent="RFC7636"/>, which is recommended by <xref target="I-D.ietf-oauth-security-topics" format="default" sectionFormat="of" derivedContent="SECURITY-TOPICS"/>
as a countermeasure to authorization code injection. The <tt>dpop_jkt</tt> authorization
request parameter only provides similar protections when a unique DPoP key is
used for each authorization request.</t>
      <section anchor="dpop-with-pushed-authorization-requests" numbered="true" removeInRFC="false" toc="include" pn="section-10.1">
        <name slugifiedName="name-dpop-with-pushed-authorizat">DPoP with Pushed Authorization Requests</name>
        <t indent="0" pn="section-10.1-1">When Pushed Authorization Requests (PARs) <xref target="RFC9126" format="default" sectionFormat="of" derivedContent="RFC9126"/> are used in conjunction with DPoP, there are two ways in which the DPoP key can be communicated in the PAR request:</t>
        <ul spacing="compact" bare="false" empty="false" indent="3" pn="section-10.1-2">
          <li pn="section-10.1-2.1">The <tt>dpop_jkt</tt> parameter can be used as described in <xref target="dpop_jkt" format="default" sectionFormat="of" derivedContent="Section 10"/> to bind the issued
authorization code to a specific key. In this case, <tt>dpop_jkt</tt> <bcp14>MUST</bcp14> be included alongside other authorization request parameters in the POST body of the PAR request.</li>
          <li pn="section-10.1-2.2">Alternatively, the <tt>DPoP</tt> header can be added to the PAR request. In this
case, the authorization server <bcp14>MUST</bcp14> check the provided DPoP proof JWT as
defined in <xref target="checking" format="default" sectionFormat="of" derivedContent="Section 4.3"/>. It <bcp14>MUST</bcp14> further behave as if the contained public key's
thumbprint was provided using <tt>dpop_jkt</tt>, i.e., reject the subsequent token
request unless a DPoP proof for the same key is provided. This can help to
simplify the implementation of the client, as it can "blindly" attach the
<tt>DPoP</tt> header to all requests to the authorization server regardless of the
type of request. Additionally, it provides a stronger binding, as the <tt>DPoP</tt>
header contains a proof of possession of the private key.</li>
        </ul>
        <t indent="0" pn="section-10.1-3">Both mechanisms <bcp14>MUST</bcp14> be supported by an authorization server that supports PAR and DPoP. If both mechanisms are used at the same time, the authorization server <bcp14>MUST</bcp14> reject the request if the JWK Thumbprint in <tt>dpop_jkt</tt> does not match the public key in the <tt>DPoP</tt> header.</t>
        <t indent="0" pn="section-10.1-4">Allowing both mechanisms ensures that clients using <tt>dpop_jkt</tt> do not need to
distinguish between front-channel and pushed authorization requests, and at the
same time, clients that only have one code path for protecting all calls to authorization server
endpoints do not need to distinguish between requests to the PAR endpoint and the
token endpoint.</t>
      </section>
    </section>
    <section anchor="Security" numbered="true" removeInRFC="false" toc="include" pn="section-11">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-11-1">In DPoP, the prevention of token replay at a different endpoint (see
<xref target="objective" format="default" sectionFormat="of" derivedContent="Section 2"/>) is achieved through authentication of the server per <xref target="RFC6125" format="default" sectionFormat="of" derivedContent="RFC6125"/> and
the binding of the DPoP proof to a certain URI and HTTP method. However, DPoP
has a somewhat different nature of protection than TLS-based
methods such as OAuth Mutual TLS <xref target="RFC8705" format="default" sectionFormat="of" derivedContent="RFC8705"/> or OAuth Token
Binding <xref target="I-D.ietf-oauth-token-binding" format="default" sectionFormat="of" derivedContent="TOKEN-BINDING"/> (see also Sections <xref target="Token_Replay" format="counter" sectionFormat="of" derivedContent="11.1"/> and <xref target="request_integrity" format="counter" sectionFormat="of" derivedContent="11.7"/>).
TLS-based mechanisms can leverage a tight integration
between the TLS layer and the application layer to achieve strong
message integrity, authenticity,
and replay protection.</t>
      <section anchor="Token_Replay" numbered="true" removeInRFC="false" toc="include" pn="section-11.1">
        <name slugifiedName="name-dpop-proof-replay">DPoP Proof Replay</name>
        <t indent="0" pn="section-11.1-1">If an adversary is able to get hold of a DPoP proof JWT, the adversary
could replay that token at the same endpoint (the HTTP endpoint
and method are enforced via the respective claims in the JWTs). To
limit this, servers <bcp14>MUST</bcp14> only accept DPoP proofs for a limited time
after their creation (preferably only for a relatively brief period
on the order of seconds or minutes).</t>
        <t indent="0" pn="section-11.1-2">In the context of the target URI, servers can store the <tt>jti</tt> value of
each DPoP proof for the time window in which the respective DPoP proof JWT                             
would be accepted to prevent multiple uses of the same DPoP proof.
HTTP requests to the same URI for which the <tt>jti</tt> value has been seen before
would be declined. When strictly enforced, such a single-use check provides a very strong protection against DPoP
proof replay, but it may not always be feasible in practice, e.g., when
multiple servers behind a single endpoint have no shared state.</t>
        <t indent="0" pn="section-11.1-3">In order to guard against
memory exhaustion attacks, a server that is tracking <tt>jti</tt> values should reject
DPoP proof JWTs with unnecessarily large <tt>jti</tt> values or store only a hash thereof.</t>
        <t indent="0" pn="section-11.1-4">Note: To accommodate for clock offsets, the server <bcp14>MAY</bcp14> accept DPoP
proofs that carry an <tt>iat</tt> time in the reasonably near future (on the order of seconds or minutes).
Because clock skews between servers
and clients may be large, servers <bcp14>MAY</bcp14> limit DPoP proof lifetimes by using
server-provided nonce values containing the time at the server rather than
comparing the client-supplied <tt>iat</tt> time to the time at the server.  Nonces
created in this way yield the same result even in the face of arbitrarily
large clock skews.</t>
        <t indent="0" pn="section-11.1-5">Server-provided nonces are an effective means for further reducing the chances for successful DPoP proof replay.
Unlike cryptographic nonces, it is acceptable for clients to use the same
<tt>nonce</tt> multiple times and for the server to accept the same nonce multiple
times. As long as the <tt>jti</tt> value is tracked and duplicates are rejected for the lifetime of the <tt>nonce</tt>, there
is no additional risk of token replay.</t>
      </section>
      <section anchor="Pre-Generation" numbered="true" removeInRFC="false" toc="include" pn="section-11.2">
        <name slugifiedName="name-dpop-proof-pre-generation">DPoP Proof Pre-generation</name>
        <t indent="0" pn="section-11.2-1">An attacker in control of the client can pre-generate DPoP proofs for
specific endpoints arbitrarily far into the future by choosing the
<tt>iat</tt> value in the DPoP proof to be signed by the proof-of-possession key.
Note that one such attacker is the person who is the legitimate user of the client.
The user may pre-generate DPoP proofs to exfiltrate
from the machine possessing the proof-of-possession key
upon which they were generated
and copy them to another machine that does not possess the key.
For instance, a bank employee might pre-generate DPoP proofs
on a bank computer and then copy them to another machine
for use in the future, thereby bypassing bank audit controls.
When DPoP proofs can be pre-generated and exfiltrated,
all that is actually being proved in DPoP protocol interactions
is possession of a DPoP proof -- not of the proof-of-possession key.</t>
        <t indent="0" pn="section-11.2-2">Use of server-provided nonce values that are not predictable by attackers can prevent this attack.
By providing new nonce values at times of its choosing,
the server can limit the lifetime of DPoP proofs,
preventing pre-generated DPoP proofs from being used.
When server-provided nonces are used, possession
of the proof-of-possession key is being demonstrated --
not just possession of a DPoP proof.</t>
        <t indent="0" pn="section-11.2-3">The <tt>ath</tt> claim limits the use of pre-generated DPoP proofs to the lifetime
of the access token. Deployments that do not utilize the nonce mechanism
<bcp14>SHOULD NOT</bcp14> issue long-lived DPoP constrained access tokens,
preferring instead to use short-lived access tokens and refresh tokens.
Whilst an attacker could pre-generate DPoP proofs to use the refresh token
to obtain a new access token, they would be unable to realistically
pre-generate DPoP proofs to use a newly issued access token.</t>
      </section>
      <section anchor="Nonce-Downgrade" numbered="true" removeInRFC="false" toc="include" pn="section-11.3">
        <name slugifiedName="name-dpop-nonce-downgrade">DPoP Nonce Downgrade</name>
        <t indent="0" pn="section-11.3-1">A server <bcp14>MUST NOT</bcp14> accept any DPoP proofs without the <tt>nonce</tt> claim when a DPoP nonce has been provided to the client.</t>
      </section>
      <section anchor="untrusted-code-in-the-client-context" numbered="true" removeInRFC="false" toc="include" pn="section-11.4">
        <name slugifiedName="name-untrusted-code-in-the-clien">Untrusted Code in the Client Context</name>
        <t indent="0" pn="section-11.4-1">If an adversary is able to run code in the client's execution context,
the security of DPoP is no longer guaranteed. Common issues in web
applications leading to the execution of untrusted code are XSS and remote code inclusion attacks.</t>
        <t indent="0" pn="section-11.4-2">If the private key used for DPoP is stored in such a way that it
cannot be exported, e.g., in a hardware or software security module,
the adversary cannot exfiltrate the key and use it to create arbitrary
DPoP proofs. The adversary can, however, create new DPoP proofs as
long as the client is online and uses these proofs (together with the
respective tokens) either on the victim's device or on a device under
the attacker's control to send arbitrary requests that will be
accepted by servers.</t>
        <t indent="0" pn="section-11.4-3">To send requests even when the client is offline, an adversary can try
to pre-compute DPoP proofs using timestamps in the future and
exfiltrate these together with the access or refresh token.</t>
        <t indent="0" pn="section-11.4-4">An adversary might further try to associate tokens issued from the
token endpoint with a key pair under the adversary's control. One way
to achieve this is to modify existing code, e.g., by replacing
cryptographic APIs. Another way is to launch a new authorization grant
between the client and the authorization server in an iframe. This
grant needs to be "silent", i.e., not require interaction with the
user. With code running in the client's origin, the adversary has
access to the resulting authorization code and can use it to associate
their own DPoP keys with the tokens returned from the token endpoint.
The adversary is then able to use the resulting tokens on their own
device even if the client is offline.</t>
        <t indent="0" pn="section-11.4-5">Therefore, protecting clients against the execution of untrusted code
is extremely important even if DPoP is used. Besides secure coding
practices, Content Security Policy <xref target="W3C.CSP" format="default" sectionFormat="of" derivedContent="W3C.CSP"/> can be used as a second
layer of defense against XSS.</t>
      </section>
      <section anchor="signed-jwt-swapping" numbered="true" removeInRFC="false" toc="include" pn="section-11.5">
        <name slugifiedName="name-signed-jwt-swapping">Signed JWT Swapping</name>
        <t indent="0" pn="section-11.5-1">Servers accepting signed DPoP proof JWTs <bcp14>MUST</bcp14> verify that the <tt>typ</tt> field is <tt>dpop+jwt</tt> in the
headers of the JWTs to ensure that adversaries cannot use JWTs created
for other purposes.</t>
      </section>
      <section anchor="signature-algorithms" numbered="true" removeInRFC="false" toc="include" pn="section-11.6">
        <name slugifiedName="name-signature-algorithms">Signature Algorithms</name>
        <t indent="0" pn="section-11.6-1">Implementers <bcp14>MUST</bcp14> ensure that only asymmetric digital signature algorithms (such as <tt>ES256</tt>) that
are deemed secure can be used for signing DPoP proofs. In particular,
the algorithm <tt>none</tt> <bcp14>MUST NOT</bcp14> be allowed.</t>
      </section>
      <section anchor="request_integrity" numbered="true" removeInRFC="false" toc="include" pn="section-11.7">
        <name slugifiedName="name-request-integrity">Request Integrity</name>
        <t indent="0" pn="section-11.7-1">DPoP does not ensure the integrity of the payload or headers of
requests. The DPoP proof only contains claims for the HTTP URI and
method, but not the message body or general request
headers, for example.</t>
        <t indent="0" pn="section-11.7-2">This is an intentional design decision intended to keep DPoP simple to use, but
as described, it makes DPoP potentially susceptible to replay attacks
where an attacker is able to modify message contents and headers. In
many setups, the message integrity and confidentiality provided by TLS
is sufficient to provide a good level of protection.</t>
        <t indent="0" pn="section-11.7-3">Note: While signatures covering other parts of requests are out of the scope of
this specification, additional information to be signed can be
added into DPoP proofs.</t>
      </section>
      <section anchor="access-token-and-public-key-binding" numbered="true" removeInRFC="false" toc="include" pn="section-11.8">
        <name slugifiedName="name-access-token-and-public-key">Access Token and Public Key Binding</name>
        <t indent="0" pn="section-11.8-1">The binding of the access token to the DPoP public key, as specified in <xref target="Confirmation" format="default" sectionFormat="of" derivedContent="Section 6"/>, uses a cryptographic hash of the JWK
representation of the public key. It relies
on the hash function having sufficient second-preimage resistance so
as to make it computationally infeasible to find or create another
key that produces to the same hash output value. The SHA-256
hash function was used because it meets the aforementioned
requirement while being widely available.</t>
        <t indent="0" pn="section-11.8-2">Similarly, the binding of the DPoP proof to the access token uses a
hash of that access token as the value of the <tt>ath</tt> claim
in the DPoP proof (see <xref target="DPoP-Proof-Syntax" format="default" sectionFormat="of" derivedContent="Section 4.2"/>). This relies on the value
of the hash being sufficiently unique so as to reliably identify the
access token. The collision resistance of SHA-256 meets that requirement.</t>
      </section>
      <section anchor="authorization-code-and-public-key-binding" numbered="true" removeInRFC="false" toc="include" pn="section-11.9">
        <name slugifiedName="name-authorization-code-and-publ">Authorization Code and Public Key Binding</name>
        <t indent="0" pn="section-11.9-1">Cryptographic binding of the authorization code to the DPoP public key
is specified in <xref target="dpop_jkt" format="default" sectionFormat="of" derivedContent="Section 10"/>.
   This binding prevents attacks in which the attacker captures the
   authorization code and creates a DPoP proof using a proof-of-possession key
   other than the one held by the client and redeems the authorization code
   using that DPoP proof.  By ensuring end to end that only the client's DPoP
   key can be used, this prevents captured authorization codes from being
   exfiltrated and used at locations other than the one to which the
   authorization code was issued.</t>
        <t indent="0" pn="section-11.9-2">Authorization codes can, for instance, be harvested by attackers
from places where the HTTP messages containing them are logged.
Even when efforts are made to make authorization codes one-time-use, in practice,
there is often a time window during which attackers can replay them.
For instance, when authorization servers are implemented as scalable replicated services,
some replicas may temporarily not yet have the information needed to prevent replay.
DPoP binding of the authorization code solves these problems.</t>
        <t indent="0" pn="section-11.9-3">If an authorization server does not (or cannot) strictly enforce the single-use limitation for authorization codes
and an attacker can access the authorization code (and if PKCE is used, the <tt>code_verifier</tt>),
the attacker can create a forged token request, binding the resulting token to an attacker-controlled key.
For example, using XSS, attackers might obtain access to the authorization code and PKCE parameters.
Use of the <tt>dpop_jkt</tt> parameter prevents this attack.</t>
        <t indent="0" pn="section-11.9-4">The binding of the authorization code to the DPoP public key
uses a JWK Thumbprint of the public key, just as the access token binding does.
The same JWK Thumbprint considerations apply.</t>
      </section>
      <section anchor="hash-algorithm-agility" numbered="true" removeInRFC="false" toc="include" pn="section-11.10">
        <name slugifiedName="name-hash-algorithm-agility">Hash Algorithm Agility</name>
        <t indent="0" pn="section-11.10-1">The <tt>jkt</tt> confirmation method member, the <tt>ath</tt> JWT claim, and the <tt>dpop_jkt</tt> authorization
request parameter defined herein all use the output of the SHA-256 hash function as their value.
The use of a single hash function by this specification was intentional and aimed at
simplicity and avoidance of potential security and interoperability issues arising from
common mistakes implementing and deploying parameterized algorithm agility schemes.
However, the use of a different hash function is not precluded if future circumstances
change and make SHA-256 insufficient for the requirements of this specification.
Should that need arise, it is expected that a short specification will be produced that
updates this one. 
Using the output of an appropriate
hash function as the value, that specification will likely define a new confirmation method member, a new JWT claim,
and a new authorization request parameter. These items will be used in place of, or alongside, their
respective counterparts in the same message structures and flows of the larger protocol defined
by this specification.</t>
      </section>
      <section anchor="binding-to-client-identity" numbered="true" removeInRFC="false" toc="include" pn="section-11.11">
        <name slugifiedName="name-binding-to-client-identity">Binding to Client Identity</name>
        <t indent="0" pn="section-11.11-1">In cases where DPoP is used with client authentication, it is only bound to authentication by being
coincident in the same TLS tunnel.  Since the DPoP proof is not directly bound
to the authentication cryptographically, it's possible that the authentication or the DPoP messages were copied into
the tunnel.  While including the URI in the DPoP can partially mitigate some of this risk, modifying
the authentication mechanism to provide cryptographic binding between authentication and DPoP could
provide better protection.  However, providing additional binding with authentication through the
modification of authentication mechanisms or other means is beyond the scope of this specification.</t>
      </section>
    </section>
    <section anchor="IANA" numbered="true" removeInRFC="false" toc="include" pn="section-12">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section anchor="oauth-access-token-type-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.1">
        <name slugifiedName="name-oauth-access-token-types-re">OAuth Access Token Types Registration</name>
        <t indent="0" pn="section-12.1-1">IANA has registered the following access token
type in the "OAuth Access Token Types" registry <xref target="IANA.OAuth.Params" format="default" sectionFormat="of" derivedContent="IANA.OAuth.Params"/>
established by <xref target="RFC6749" format="default" sectionFormat="of" derivedContent="RFC6749"/>.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.1-2">
          <dt pn="section-12.1-2.1">Name:</dt>
          <dd pn="section-12.1-2.2">
            <tt>DPoP</tt></dd>
          <dt pn="section-12.1-2.3">Additional Token Endpoint Response Parameters:</dt>
          <dd pn="section-12.1-2.4">(none)</dd>
          <dt pn="section-12.1-2.5">HTTP Authentication Scheme(s):</dt>
          <dd pn="section-12.1-2.6">
            <tt>DPoP</tt></dd>
          <dt pn="section-12.1-2.7">Change Controller:</dt>
          <dd pn="section-12.1-2.8">IETF</dd>
          <dt pn="section-12.1-2.9">Reference:</dt>
          <dd pn="section-12.1-2.10">RFC 9449</dd>
        </dl>
      </section>
      <section anchor="oauth-extensions-error-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.2">
        <name slugifiedName="name-oauth-extensions-error-regi">OAuth Extensions Error Registration</name>
        <t indent="0" pn="section-12.2-1">IANA has registered the following error values
in the "OAuth Extensions Error" registry <xref target="IANA.OAuth.Params" format="default" sectionFormat="of" derivedContent="IANA.OAuth.Params"/>
established by <xref target="RFC6749" format="default" sectionFormat="of" derivedContent="RFC6749"/>.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.2-2">
          <dt pn="section-12.2-2.1">Invalid DPoP proof:</dt>
          <dd pn="section-12.2-2.2">
            <t indent="0" pn="section-12.2-2.2.1"><br/></t>
            <dl spacing="normal" indent="3" newline="false" pn="section-12.2-2.2.2">
              <dt pn="section-12.2-2.2.2.1">Name:</dt>
              <dd pn="section-12.2-2.2.2.2">
                <tt>invalid_dpop_proof</tt></dd>
              <dt pn="section-12.2-2.2.2.3">Usage Location:</dt>
              <dd pn="section-12.2-2.2.2.4">token error response, resource access error response</dd>
              <dt pn="section-12.2-2.2.2.5">Protocol Extension:</dt>
              <dd pn="section-12.2-2.2.2.6">Demonstrating Proof of Possession (DPoP)</dd>
              <dt pn="section-12.2-2.2.2.7">Change Controller:</dt>
              <dd pn="section-12.2-2.2.2.8">IETF</dd>
              <dt pn="section-12.2-2.2.2.9">Reference:</dt>
              <dd pn="section-12.2-2.2.2.10">RFC 9449</dd>
            </dl>
          </dd>
        </dl>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.2-3">
          <dt pn="section-12.2-3.1">Use DPoP nonce:</dt>
          <dd pn="section-12.2-3.2">
            <t indent="0" pn="section-12.2-3.2.1"><br/></t>
            <dl spacing="normal" indent="3" newline="false" pn="section-12.2-3.2.2">
              <dt pn="section-12.2-3.2.2.1">Name:</dt>
              <dd pn="section-12.2-3.2.2.2">
                <tt>use_dpop_nonce</tt></dd>
              <dt pn="section-12.2-3.2.2.3">Usage Location:</dt>
              <dd pn="section-12.2-3.2.2.4">token error response, resource access error response</dd>
              <dt pn="section-12.2-3.2.2.5">Protocol Extension:</dt>
              <dd pn="section-12.2-3.2.2.6">Demonstrating Proof of Possession (DPoP)</dd>
              <dt pn="section-12.2-3.2.2.7">Change Controller:</dt>
              <dd pn="section-12.2-3.2.2.8">IETF</dd>
              <dt pn="section-12.2-3.2.2.9">Reference:</dt>
              <dd pn="section-12.2-3.2.2.10">RFC 9449</dd>
            </dl>
          </dd>
        </dl>
      </section>
      <section anchor="oauth-parameters-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.3">
        <name slugifiedName="name-oauth-parameters-registrati">OAuth Parameters Registration</name>
        <t indent="0" pn="section-12.3-1">IANA has registered the following authorization request parameter
in the "OAuth Parameters" registry <xref target="IANA.OAuth.Params" format="default" sectionFormat="of" derivedContent="IANA.OAuth.Params"/>
established by <xref target="RFC6749" format="default" sectionFormat="of" derivedContent="RFC6749"/>.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.3-2">
          <dt pn="section-12.3-2.1">Name:</dt>
          <dd pn="section-12.3-2.2">
            <tt>dpop_jkt</tt></dd>
          <dt pn="section-12.3-2.3">Parameter Usage Location:</dt>
          <dd pn="section-12.3-2.4">authorization request</dd>
          <dt pn="section-12.3-2.5">Change Controller:</dt>
          <dd pn="section-12.3-2.6">IETF</dd>
          <dt pn="section-12.3-2.7">Reference:</dt>
          <dd pn="section-12.3-2.8">
            <xref target="dpop_jkt" format="default" sectionFormat="of" derivedContent="Section 10"/> of RFC 9449</dd>
        </dl>
      </section>
      <section anchor="http-authentication-scheme-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.4">
        <name slugifiedName="name-http-authentication-schemes">HTTP Authentication Schemes Registration</name>
        <t indent="0" pn="section-12.4-1">IANA has registered the following scheme in the
"HTTP Authentication Schemes" registry <xref target="IANA.HTTP.AuthSchemes" format="default" sectionFormat="of" derivedContent="IANA.HTTP.AuthSchemes"/> established by <xref target="RFC9110" sectionFormat="comma" section="16.4.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9110#section-16.4.1" derivedContent="RFC9110"/>.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.4-2">
          <dt pn="section-12.4-2.1">Authentication Scheme Name:</dt>
          <dd pn="section-12.4-2.2">
            <tt>DPoP</tt></dd>
          <dt pn="section-12.4-2.3">Reference:</dt>
          <dd pn="section-12.4-2.4">
            <xref target="http-auth-scheme" format="default" sectionFormat="of" derivedContent="Section 7.1"/> of RFC 9449</dd>
        </dl>
      </section>
      <section anchor="media-type-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.5">
        <name slugifiedName="name-media-type-registration">Media Type Registration</name>
        <t indent="0" pn="section-12.5-1">IANA has registered the <tt>application/dpop+jwt</tt> media type <xref target="RFC2046" format="default" sectionFormat="of" derivedContent="RFC2046"/>
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"/>,
which is used to indicate that the content is a DPoP JWT.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.5-2">
          <dt pn="section-12.5-2.1">Type name:</dt>
          <dd pn="section-12.5-2.2">application</dd>
          <dt pn="section-12.5-2.3">Subtype name:</dt>
          <dd pn="section-12.5-2.4">dpop+jwt</dd>
          <dt pn="section-12.5-2.5">Required parameters:</dt>
          <dd pn="section-12.5-2.6">n/a</dd>
          <dt pn="section-12.5-2.7">Optional parameters:</dt>
          <dd pn="section-12.5-2.8"> n/a</dd>
          <dt pn="section-12.5-2.9">Encoding considerations:</dt>
          <dd pn="section-12.5-2.10">binary. A DPoP JWT is a JWT; JWT values are encoded as a series of base64url-encoded values (some of which may be the empty string) separated by period ('.') characters.</dd>
          <dt pn="section-12.5-2.11">Security considerations:</dt>
          <dd pn="section-12.5-2.12">See <xref target="Security" format="default" sectionFormat="of" derivedContent="Section 11"/> of RFC 9449</dd>
          <dt pn="section-12.5-2.13">Interoperability considerations:</dt>
          <dd pn="section-12.5-2.14">n/a</dd>
          <dt pn="section-12.5-2.15">Published specification:</dt>
          <dd pn="section-12.5-2.16">RFC 9449</dd>
          <dt pn="section-12.5-2.17">Applications that use this media type:</dt>
          <dd pn="section-12.5-2.18">Applications using RFC 9449 for application-level proof of possession</dd>
          <dt pn="section-12.5-2.19">Fragment identifier considerations:</dt>
          <dd pn="section-12.5-2.20">n/a</dd>
          <dt pn="section-12.5-2.21">Additional information:</dt>
          <dd pn="section-12.5-2.22">
            <t indent="0" pn="section-12.5-2.22.1"><br/></t>
            <dl spacing="compact" indent="3" newline="false" pn="section-12.5-2.22.2">
              <dt pn="section-12.5-2.22.2.1">File extension(s):</dt>
              <dd pn="section-12.5-2.22.2.2">n/a</dd>
              <dt pn="section-12.5-2.22.2.3">Macintosh file type code(s):</dt>
              <dd pn="section-12.5-2.22.2.4">n/a</dd>
            </dl>
          </dd>
          <dt pn="section-12.5-2.23">Person &amp; email address to contact for further information:</dt>
          <dd pn="section-12.5-2.24">Michael B. Jones, michael_b_jones@hotmail.com</dd>
          <dt pn="section-12.5-2.25">Intended usage:</dt>
          <dd pn="section-12.5-2.26">COMMON</dd>
          <dt pn="section-12.5-2.27">Restrictions on usage:</dt>
          <dd pn="section-12.5-2.28">none</dd>
          <dt pn="section-12.5-2.29">Author:</dt>
          <dd pn="section-12.5-2.30">Michael B. Jones, michael_b_jones@hotmail.com</dd>
          <dt pn="section-12.5-2.31">Change controller:</dt>
          <dd pn="section-12.5-2.32">IETF</dd>
        </dl>
      </section>
      <section anchor="jwt-confirmation-methods-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.6">
        <name slugifiedName="name-jwt-confirmation-methods-re">JWT Confirmation Methods Registration</name>
        <t indent="0" pn="section-12.6-1">IANA has registered the following JWT <tt>cnf</tt> member value
in the "JWT Confirmation Methods" registry <xref target="IANA.JWT" format="default" sectionFormat="of" derivedContent="IANA.JWT"/>
established by <xref target="RFC7800" format="default" sectionFormat="of" derivedContent="RFC7800"/>.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.6-2">
          <dt pn="section-12.6-2.1">Confirmation Method Value:</dt>
          <dd pn="section-12.6-2.2">
            <tt>jkt</tt></dd>
          <dt pn="section-12.6-2.3">Confirmation Method Description:</dt>
          <dd pn="section-12.6-2.4">JWK SHA-256 Thumbprint</dd>
          <dt pn="section-12.6-2.5">Change Controller:</dt>
          <dd pn="section-12.6-2.6">IETF</dd>
          <dt pn="section-12.6-2.7">Reference:</dt>
          <dd pn="section-12.6-2.8">
            <xref target="Confirmation" format="default" sectionFormat="of" derivedContent="Section 6"/> of RFC 9449</dd>
        </dl>
      </section>
      <section anchor="json-web-token-claims-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.7">
        <name slugifiedName="name-json-web-token-claims-regis">JSON Web Token Claims Registration</name>
        <t indent="0" pn="section-12.7-1">IANA has registered the following Claims in the "JSON Web Token Claims" registry <xref target="IANA.JWT" format="default" sectionFormat="of" derivedContent="IANA.JWT"/> established by <xref target="RFC7519" format="default" sectionFormat="of" derivedContent="RFC7519"/>.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.7-2">
          <dt pn="section-12.7-2.1">HTTP method:</dt>
          <dd pn="section-12.7-2.2">
            <t indent="0" pn="section-12.7-2.2.1"><br/></t>
            <dl spacing="normal" indent="3" newline="false" pn="section-12.7-2.2.2">
              <dt pn="section-12.7-2.2.2.1">Claim Name:</dt>
              <dd pn="section-12.7-2.2.2.2">
                <tt>htm</tt></dd>
              <dt pn="section-12.7-2.2.2.3">Claim Description:</dt>
              <dd pn="section-12.7-2.2.2.4">The HTTP method of the request</dd>
              <dt pn="section-12.7-2.2.2.5">Change Controller:</dt>
              <dd pn="section-12.7-2.2.2.6">IETF</dd>
              <dt pn="section-12.7-2.2.2.7">Reference:</dt>
              <dd pn="section-12.7-2.2.2.8">
                <xref target="DPoP-Proof-Syntax" format="default" sectionFormat="of" derivedContent="Section 4.2"/> of RFC 9449</dd>
            </dl>
          </dd>
        </dl>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.7-3">
          <dt pn="section-12.7-3.1">HTTP URI:</dt>
          <dd pn="section-12.7-3.2">
            <t indent="0" pn="section-12.7-3.2.1"><br/></t>
            <dl spacing="normal" indent="3" newline="false" pn="section-12.7-3.2.2">
              <dt pn="section-12.7-3.2.2.1">Claim Name:</dt>
              <dd pn="section-12.7-3.2.2.2">
                <tt>htu</tt></dd>
              <dt pn="section-12.7-3.2.2.3">Claim Description:</dt>
              <dd pn="section-12.7-3.2.2.4">The HTTP URI of the request (without query and fragment parts)</dd>
              <dt pn="section-12.7-3.2.2.5">Change Controller:</dt>
              <dd pn="section-12.7-3.2.2.6">IETF</dd>
              <dt pn="section-12.7-3.2.2.7">Reference:</dt>
              <dd pn="section-12.7-3.2.2.8">
                <xref target="DPoP-Proof-Syntax" format="default" sectionFormat="of" derivedContent="Section 4.2"/> of RFC 9449</dd>
            </dl>
          </dd>
        </dl>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.7-4">
          <dt pn="section-12.7-4.1">Access token hash:</dt>
          <dd pn="section-12.7-4.2">
            <t indent="0" pn="section-12.7-4.2.1"><br/></t>
            <dl spacing="normal" indent="3" newline="false" pn="section-12.7-4.2.2">
              <dt pn="section-12.7-4.2.2.1">Claim Name:</dt>
              <dd pn="section-12.7-4.2.2.2">
                <tt>ath</tt></dd>
              <dt pn="section-12.7-4.2.2.3">Claim Description:</dt>
              <dd pn="section-12.7-4.2.2.4">The base64url-encoded SHA-256 hash of the ASCII encoding of the associated access token's value</dd>
              <dt pn="section-12.7-4.2.2.5">Change Controller:</dt>
              <dd pn="section-12.7-4.2.2.6">IETF</dd>
              <dt pn="section-12.7-4.2.2.7">Reference:</dt>
              <dd pn="section-12.7-4.2.2.8">
                <xref target="DPoP-Proof-Syntax" format="default" sectionFormat="of" derivedContent="Section 4.2"/> of RFC 9449</dd>
            </dl>
          </dd>
        </dl>
        <section anchor="nonce-registry-update" numbered="true" removeInRFC="false" toc="include" pn="section-12.7.1">
          <name slugifiedName="name-nonce-registration-update">"nonce" Registration Update</name>
          <t indent="0" pn="section-12.7.1-1">The Internet Security Glossary <xref target="RFC4949" format="default" sectionFormat="of" derivedContent="RFC4949"/> provides a useful definition of nonce
as a random or non-repeating value that is included in data
exchanged by a protocol, usually for the purpose of guaranteeing
liveness and thus detecting and protecting against replay attacks.</t>
          <t indent="0" pn="section-12.7.1-2">However, the initial registration of the <tt>nonce</tt> claim by <xref target="OpenID.Core" format="default" sectionFormat="of" derivedContent="OpenID.Core"/>
used language that was contextually specific to that application,
which was potentially limiting to its general applicability.</t>
          <t indent="0" pn="section-12.7.1-3">Therefore, IANA has updated the entry for <tt>nonce</tt> in the
"JSON Web Token Claims" registry <xref target="IANA.JWT" format="default" sectionFormat="of" derivedContent="IANA.JWT"/> with an expanded definition to reflect
that the claim can be used appropriately in other contexts and with the addition of this document as a reference, as follows.</t>
          <dl spacing="normal" indent="3" newline="false" pn="section-12.7.1-4">
            <dt pn="section-12.7.1-4.1">Claim Name:</dt>
            <dd pn="section-12.7.1-4.2">
              <tt>nonce</tt></dd>
            <dt pn="section-12.7.1-4.3">Claim Description:</dt>
            <dd pn="section-12.7.1-4.4">Value used to associate a Client session with an ID Token (<bcp14>MAY</bcp14> also be used for nonce values in other applications of JWTs)</dd>
            <dt pn="section-12.7.1-4.5">Change Controller:</dt>
            <dd pn="section-12.7.1-4.6">OpenID Foundation Artifact Binding Working Group, openid-specs-ab@lists.openid.net</dd>
            <dt pn="section-12.7.1-4.7">Specification Document(s):</dt>
            <dd pn="section-12.7.1-4.8">
              <xref target="OpenID.Core" sectionFormat="of" relative="openid-connect-core-1_0.html#IDToken" section="2" format="default" derivedLink="https://openid.net/specs/openid-connect-core-1_0.html#IDToken" derivedContent="OpenID.Core"/> and RFC 9449</dd>
          </dl>
        </section>
      </section>
      <section anchor="http-message-header-field-names-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.8">
        <name slugifiedName="name-hypertext-transfer-protocol">Hypertext Transfer Protocol (HTTP) Field Name Registration</name>
        <t indent="0" pn="section-12.8-1">IANA has registered the following HTTP header fields, as specified by this document, in the "Hypertext Transfer Protocol (HTTP) Field Name Registry"
 <xref target="IANA.HTTP.Fields" format="default" sectionFormat="of" derivedContent="IANA.HTTP.Fields"/> established by <xref target="RFC9110" format="default" sectionFormat="of" derivedContent="RFC9110"/>:</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.8-2">
          <dt pn="section-12.8-2.1">DPoP:</dt>
          <dd pn="section-12.8-2.2">
            <t indent="0" pn="section-12.8-2.2.1"><br/></t>
            <dl spacing="normal" indent="3" newline="false" pn="section-12.8-2.2.2">
              <dt pn="section-12.8-2.2.2.1">Field Name:</dt>
              <dd pn="section-12.8-2.2.2.2">
                <tt>DPoP</tt></dd>
              <dt pn="section-12.8-2.2.2.3">Status:</dt>
              <dd pn="section-12.8-2.2.2.4">permanent</dd>
              <dt pn="section-12.8-2.2.2.5">Reference:</dt>
              <dd pn="section-12.8-2.2.2.6">RFC 9449</dd>
            </dl>
          </dd>
        </dl>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.8-3">
          <dt pn="section-12.8-3.1">DPoP-Nonce:</dt>
          <dd pn="section-12.8-3.2">
            <t indent="0" pn="section-12.8-3.2.1"><br/></t>
            <dl spacing="normal" indent="3" newline="false" pn="section-12.8-3.2.2">
              <dt pn="section-12.8-3.2.2.1">Field Name:</dt>
              <dd pn="section-12.8-3.2.2.2">
                <tt>DPoP-Nonce</tt></dd>
              <dt pn="section-12.8-3.2.2.3">Status:</dt>
              <dd pn="section-12.8-3.2.2.4">permanent</dd>
              <dt pn="section-12.8-3.2.2.5">Reference:</dt>
              <dd pn="section-12.8-3.2.2.6">RFC 9449</dd>
            </dl>
          </dd>
        </dl>
      </section>
      <section anchor="oauth-authorization-server-metadata-registration" numbered="true" removeInRFC="false" toc="include" pn="section-12.9">
        <name slugifiedName="name-oauth-authorization-server-">OAuth Authorization Server Metadata Registration</name>
        <t indent="0" pn="section-12.9-1">IANA has registered the following value
in the "OAuth Authorization Server Metadata" registry <xref target="IANA.OAuth.Params" format="default" sectionFormat="of" derivedContent="IANA.OAuth.Params"/>
established by <xref target="RFC8414" format="default" sectionFormat="of" derivedContent="RFC8414"/>.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.9-2">
          <dt pn="section-12.9-2.1">Metadata Name:</dt>
          <dd pn="section-12.9-2.2">
            <tt>dpop_signing_alg_values_supported</tt></dd>
          <dt pn="section-12.9-2.3">Metadata Description:</dt>
          <dd pn="section-12.9-2.4">JSON array containing a list of the JWS algorithms supported for DPoP proof JWTs</dd>
          <dt pn="section-12.9-2.5">Change Controller:</dt>
          <dd pn="section-12.9-2.6">IETF</dd>
          <dt pn="section-12.9-2.7">Reference:</dt>
          <dd pn="section-12.9-2.8">
            <xref target="as-meta" format="default" sectionFormat="of" derivedContent="Section 5.1"/> of RFC 9449</dd>
        </dl>
      </section>
      <section anchor="oauth-dynamic-client-registration-metadata" numbered="true" removeInRFC="false" toc="include" pn="section-12.10">
        <name slugifiedName="name-oauth-dynamic-client-regist">OAuth Dynamic Client Registration Metadata</name>
        <t indent="0" pn="section-12.10-1">IANA has registered the following value
in the IANA "OAuth Dynamic Client Registration Metadata" registry <xref target="IANA.OAuth.Params" format="default" sectionFormat="of" derivedContent="IANA.OAuth.Params"/>
established by <xref target="RFC7591" format="default" sectionFormat="of" derivedContent="RFC7591"/>.</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-12.10-2">
          <dt pn="section-12.10-2.1">Client Metadata Name:</dt>
          <dd pn="section-12.10-2.2">
            <tt>dpop_bound_access_tokens</tt></dd>
          <dt pn="section-12.10-2.3">Client Metadata Description:</dt>
          <dd pn="section-12.10-2.4">Boolean value specifying whether the client always uses DPoP for token requests</dd>
          <dt pn="section-12.10-2.5">Change Controller:</dt>
          <dd pn="section-12.10-2.6">IETF</dd>
          <dt pn="section-12.10-2.7">Reference:</dt>
          <dd pn="section-12.10-2.8">
            <xref target="client-meta" format="default" sectionFormat="of" derivedContent="Section 5.2"/> of RFC 9449</dd>
        </dl>
      </section>
    </section>
  </middle>
  <back>
    <displayreference target="I-D.ietf-oauth-security-topics" to="SECURITY-TOPICS"/>
    <displayreference target="I-D.ietf-oauth-token-binding" to="TOKEN-BINDING"/>
    <references pn="section-13">
      <name slugifiedName="name-references">References</name>
      <references pn="section-13.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <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="RFC3986" target="https://www.rfc-editor.org/info/rfc3986" quoteTitle="true" derivedAnchor="RFC3986">
          <front>
            <title>Uniform Resource Identifier (URI): Generic Syntax</title>
            <author fullname="T. Berners-Lee" initials="T." surname="Berners-Lee"/>
            <author fullname="R. Fielding" initials="R." surname="Fielding"/>
            <author fullname="L. Masinter" initials="L." surname="Masinter"/>
            <date month="January" year="2005"/>
            <abstract>
              <t indent="0">A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines and security considerations for the use of URIs on the Internet. The URI syntax defines a grammar that is a superset of all valid URIs, allowing an implementation to parse the common components of a URI reference without knowing the scheme-specific requirements of every possible identifier. This specification does not define a generative grammar for URIs; that task is performed by the individual specifications of each URI scheme. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="66"/>
          <seriesInfo name="RFC" value="3986"/>
          <seriesInfo name="DOI" value="10.17487/RFC3986"/>
        </reference>
        <reference anchor="RFC5234" target="https://www.rfc-editor.org/info/rfc5234" quoteTitle="true" derivedAnchor="RFC5234">
          <front>
            <title>Augmented BNF for Syntax Specifications: ABNF</title>
            <author fullname="D. Crocker" initials="D." role="editor" surname="Crocker"/>
            <author fullname="P. Overell" initials="P." surname="Overell"/>
            <date month="January" year="2008"/>
            <abstract>
              <t indent="0">Internet technical specifications often need to define a formal syntax. Over the years, a modified version of Backus-Naur Form (BNF), called Augmented BNF (ABNF), has been popular among many Internet specifications. The current specification documents ABNF. It balances compactness and simplicity with reasonable representational power. The differences between standard BNF and ABNF involve naming rules, repetition, alternatives, order-independence, and value ranges. This specification also supplies additional rule definitions and encoding for a core lexical analyzer of the type common to several Internet specifications. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="68"/>
          <seriesInfo name="RFC" value="5234"/>
          <seriesInfo name="DOI" value="10.17487/RFC5234"/>
        </reference>
        <reference anchor="RFC6125" target="https://www.rfc-editor.org/info/rfc6125" quoteTitle="true" derivedAnchor="RFC6125">
          <front>
            <title>Representation and Verification of Domain-Based Application Service Identity within Internet Public Key Infrastructure Using X.509 (PKIX) Certificates in the Context of Transport Layer Security (TLS)</title>
            <author fullname="P. Saint-Andre" initials="P." surname="Saint-Andre"/>
            <author fullname="J. Hodges" initials="J." surname="Hodges"/>
            <date month="March" year="2011"/>
            <abstract>
              <t indent="0">Many application technologies enable secure communication between two entities by means of Internet Public Key Infrastructure Using X.509 (PKIX) certificates in the context of Transport Layer Security (TLS). This document specifies procedures for representing and verifying the identity of application services in such interactions. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6125"/>
          <seriesInfo name="DOI" value="10.17487/RFC6125"/>
        </reference>
        <reference anchor="RFC6749" target="https://www.rfc-editor.org/info/rfc6749" quoteTitle="true" derivedAnchor="RFC6749">
          <front>
            <title>The OAuth 2.0 Authorization Framework</title>
            <author fullname="D. Hardt" initials="D." role="editor" surname="Hardt"/>
            <date month="October" year="2012"/>
            <abstract>
              <t indent="0">The OAuth 2.0 authorization framework enables a third-party application to obtain limited access to an HTTP service, either on behalf of a resource owner by orchestrating an approval interaction between the resource owner and the HTTP service, or by allowing the third-party application to obtain access on its own behalf. This specification replaces and obsoletes the OAuth 1.0 protocol described in RFC 5849. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6749"/>
          <seriesInfo name="DOI" value="10.17487/RFC6749"/>
        </reference>
        <reference anchor="RFC6750" target="https://www.rfc-editor.org/info/rfc6750" quoteTitle="true" derivedAnchor="RFC6750">
          <front>
            <title>The OAuth 2.0 Authorization Framework: Bearer Token Usage</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="D. Hardt" initials="D." surname="Hardt"/>
            <date month="October" year="2012"/>
            <abstract>
              <t indent="0">This specification describes how to use bearer tokens in HTTP requests to access OAuth 2.0 protected resources. Any party in possession of a bearer token (a "bearer") can use it to get access to the associated resources (without demonstrating possession of a cryptographic key). To prevent misuse, bearer tokens need to be protected from disclosure in storage and in transport. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6750"/>
          <seriesInfo name="DOI" value="10.17487/RFC6750"/>
        </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="RFC7517" target="https://www.rfc-editor.org/info/rfc7517" quoteTitle="true" derivedAnchor="RFC7517">
          <front>
            <title>JSON Web Key (JWK)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <date month="May" year="2015"/>
            <abstract>
              <t indent="0">A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. This specification also defines a JWK Set JSON data structure that represents a set of JWKs. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and IANA registries established by that specification.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7517"/>
          <seriesInfo name="DOI" value="10.17487/RFC7517"/>
        </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="RFC7638" target="https://www.rfc-editor.org/info/rfc7638" quoteTitle="true" derivedAnchor="RFC7638">
          <front>
            <title>JSON Web Key (JWK) Thumbprint</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="N. Sakimura" initials="N." surname="Sakimura"/>
            <date month="September" year="2015"/>
            <abstract>
              <t indent="0">This specification defines a method for computing a hash value over a JSON Web Key (JWK). It defines which fields in a JWK are used in the hash computation, the method of creating a canonical form for those fields, and how to convert the resulting Unicode string into a byte sequence to be hashed. The resulting hash value can be used for identifying or selecting the key represented by the JWK that is the subject of the thumbprint.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7638"/>
          <seriesInfo name="DOI" value="10.17487/RFC7638"/>
        </reference>
        <reference anchor="RFC7800" target="https://www.rfc-editor.org/info/rfc7800" quoteTitle="true" derivedAnchor="RFC7800">
          <front>
            <title>Proof-of-Possession Key Semantics for JSON Web Tokens (JWTs)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="H. Tschofenig" initials="H." surname="Tschofenig"/>
            <date month="April" year="2016"/>
            <abstract>
              <t indent="0">This specification describes how to declare in a JSON Web Token (JWT) that the presenter of the JWT possesses a particular proof-of- possession key and how the recipient can cryptographically confirm proof of possession of the key by the presenter. Being able to prove possession of a key is also sometimes described as the presenter being a holder-of-key.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7800"/>
          <seriesInfo name="DOI" value="10.17487/RFC7800"/>
        </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="SHS" target="http://dx.doi.org/10.6028/NIST.FIPS.180-4" quoteTitle="true" derivedAnchor="SHS">
          <front>
            <title>Secure Hash Standard (SHS)</title>
            <author>
              <organization showOnFrontPage="true">National Institute of Standards and Technology</organization>
            </author>
            <date year="2015" month="August"/>
          </front>
          <seriesInfo name="FIPS" value="PUB 180-4"/>
          <seriesInfo name="DOI" value="10.6028/NIST.FIPS.180-4"/>
        </reference>
      </references>
      <references pn="section-13.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="BREACH" target="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3587" quoteTitle="true" derivedAnchor="BREACH">
          <front>
            <title>CVE-2013-3587</title>
            <author>
              <organization showOnFrontPage="true">CVE</organization>
            </author>
          </front>
        </reference>
        <reference anchor="Cloudbleed" target="https://blog.cloudflare.com/incident-report-on-memory-leak-caused-by-cloudflare-parser-bug/" quoteTitle="true" derivedAnchor="Cloudbleed">
          <front>
            <title>Incident report on memory leak caused by Cloudflare parser bug</title>
            <author initials="J." surname="Graham-Cumming" fullname="John Graham-Cumming"/>
            <date month="February" year="2017"/>
          </front>
        </reference>
        <reference anchor="CRIME" target="https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2012-4929" quoteTitle="true" derivedAnchor="CRIME">
          <front>
            <title>CVE-2012-4929</title>
            <author>
              <organization showOnFrontPage="true">CVE</organization>
            </author>
          </front>
        </reference>
        <reference anchor="GitHub.Tokens" target="https://github.blog/2022-04-15-security-alert-stolen-oauth-user-tokens/" quoteTitle="true" derivedAnchor="GitHub.Tokens">
          <front>
            <title>Security alert: Attack campaign involving stolen OAuth user tokens issued to two third-party integrators</title>
            <author initials="M." surname="Hanley" fullname="Mike Hanley"/>
            <date month="April" year="2022"/>
          </front>
        </reference>
        <reference anchor="Heartbleed" target="https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2014-0160" quoteTitle="true" derivedAnchor="Heartbleed">
          <front>
            <title>CVE-2014-0160</title>
            <author/>
          </front>
        </reference>
        <reference anchor="IANA.HTTP.AuthSchemes" target="https://www.iana.org/assignments/http-authschemes/" quoteTitle="true" derivedAnchor="IANA.HTTP.AuthSchemes">
          <front>
            <title>Hypertext Transfer Protocol (HTTP) Authentication Scheme Registry</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="IANA.HTTP.Fields" target="https://www.iana.org/assignments/http-fields/" quoteTitle="true" derivedAnchor="IANA.HTTP.Fields">
          <front>
            <title>Hypertext Transfer Protocol (HTTP) Field Name Registry</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="IANA.JOSE.ALGS" target="https://www.iana.org/assignments/jose/" quoteTitle="true" derivedAnchor="IANA.JOSE.ALGS">
          <front>
            <title>JSON Web Signature and Encryption Algorithms</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="IANA.JWT" target="https://www.iana.org/assignments/jwt/" quoteTitle="true" derivedAnchor="IANA.JWT">
          <front>
            <title>JSON Web Token Claims</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="IANA.MediaTypes" target="https://www.iana.org/assignments/media-types/" quoteTitle="true" derivedAnchor="IANA.MediaTypes">
          <front>
            <title>Media Types</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="IANA.OAuth.Params" target="https://www.iana.org/assignments/oauth-parameters/" quoteTitle="true" derivedAnchor="IANA.OAuth.Params">
          <front>
            <title>OAuth Parameters</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="OpenID.Core" target="https://openid.net/specs/openid-connect-core-1_0.html" quoteTitle="true" derivedAnchor="OpenID.Core">
          <front>
            <title>OpenID Connect Core 1.0 incorporating errata set 1</title>
            <author fullname="Nat Sakimura" initials="N." surname="Sakimura">
    </author>
            <author fullname="John Bradley" initials="J." surname="Bradley">
    </author>
            <author fullname="Michael B. Jones" initials="M." surname="Jones">
    </author>
            <author fullname="Breno de Medeiros" initials="B." surname="de Medeiros">
    </author>
            <author fullname="Chuck Mortimore" initials="C." surname="Mortimore">
    </author>
            <date year="2014" month="November"/>
          </front>
        </reference>
        <reference anchor="RFC2046" target="https://www.rfc-editor.org/info/rfc2046" quoteTitle="true" derivedAnchor="RFC2046">
          <front>
            <title>Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</title>
            <author fullname="N. Freed" initials="N." surname="Freed"/>
            <author fullname="N. Borenstein" initials="N." surname="Borenstein"/>
            <date month="November" year="1996"/>
            <abstract>
              <t indent="0">This second document defines the general structure of the MIME media typing system and defines an initial set of media types. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="2046"/>
          <seriesInfo name="DOI" value="10.17487/RFC2046"/>
        </reference>
        <reference anchor="RFC4122" target="https://www.rfc-editor.org/info/rfc4122" quoteTitle="true" derivedAnchor="RFC4122">
          <front>
            <title>A Universally Unique IDentifier (UUID) URN Namespace</title>
            <author fullname="P. Leach" initials="P." surname="Leach"/>
            <author fullname="M. Mealling" initials="M." surname="Mealling"/>
            <author fullname="R. Salz" initials="R." surname="Salz"/>
            <date month="July" year="2005"/>
            <abstract>
              <t indent="0">This specification defines a Uniform Resource Name namespace for UUIDs (Universally Unique IDentifier), also known as GUIDs (Globally Unique IDentifier). A UUID is 128 bits long, and can guarantee uniqueness across space and time. UUIDs were originally used in the Apollo Network Computing System and later in the Open Software Foundation\'s (OSF) Distributed Computing Environment (DCE), and then in Microsoft Windows platforms.</t>
              <t indent="0">This specification is derived from the DCE specification with the kind permission of the OSF (now known as The Open Group). Information from earlier versions of the DCE specification have been incorporated into this document. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4122"/>
          <seriesInfo name="DOI" value="10.17487/RFC4122"/>
        </reference>
        <reference anchor="RFC4949" target="https://www.rfc-editor.org/info/rfc4949" quoteTitle="true" derivedAnchor="RFC4949">
          <front>
            <title>Internet Security Glossary, Version 2</title>
            <author fullname="R. Shirey" initials="R." surname="Shirey"/>
            <date month="August" year="2007"/>
            <abstract>
              <t indent="0">This Glossary provides definitions, abbreviations, and explanations of terminology for information system security. The 334 pages of entries offer recommendations to improve the comprehensibility of written material that is generated in the Internet Standards Process (RFC 2026). The recommendations follow the principles that such writing should (a) use the same term or definition whenever the same concept is mentioned; (b) use terms in their plainest, dictionary sense; (c) use terms that are already well-established in open publications; and (d) avoid terms that either favor a particular vendor or favor a particular technology or mechanism over other, competing techniques that already exist or could be developed. This memo provides information for the Internet community.</t>
            </abstract>
          </front>
          <seriesInfo name="FYI" value="36"/>
          <seriesInfo name="RFC" value="4949"/>
          <seriesInfo name="DOI" value="10.17487/RFC4949"/>
        </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="RFC7523" target="https://www.rfc-editor.org/info/rfc7523" quoteTitle="true" derivedAnchor="RFC7523">
          <front>
            <title>JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="B. Campbell" initials="B." surname="Campbell"/>
            <author fullname="C. Mortimore" initials="C." surname="Mortimore"/>
            <date month="May" year="2015"/>
            <abstract>
              <t indent="0">This specification defines the use of a JSON Web Token (JWT) Bearer Token as a means for requesting an OAuth 2.0 access token as well as for client authentication.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7523"/>
          <seriesInfo name="DOI" value="10.17487/RFC7523"/>
        </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="RFC7636" target="https://www.rfc-editor.org/info/rfc7636" quoteTitle="true" derivedAnchor="RFC7636">
          <front>
            <title>Proof Key for Code Exchange by OAuth Public Clients</title>
            <author fullname="N. Sakimura" initials="N." role="editor" surname="Sakimura"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="N. Agarwal" initials="N." surname="Agarwal"/>
            <date month="September" year="2015"/>
            <abstract>
              <t indent="0">OAuth 2.0 public clients utilizing the Authorization Code Grant are susceptible to the authorization code interception attack. This specification describes the attack as well as a technique to mitigate against the threat through the use of Proof Key for Code Exchange (PKCE, pronounced "pixy").</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7636"/>
          <seriesInfo name="DOI" value="10.17487/RFC7636"/>
        </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="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="RFC8705" target="https://www.rfc-editor.org/info/rfc8705" quoteTitle="true" derivedAnchor="RFC8705">
          <front>
            <title>OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens</title>
            <author fullname="B. Campbell" initials="B." surname="Campbell"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="N. Sakimura" initials="N." surname="Sakimura"/>
            <author fullname="T. Lodderstedt" initials="T." surname="Lodderstedt"/>
            <date month="February" year="2020"/>
            <abstract>
              <t indent="0">This document describes OAuth client authentication and certificate-bound access and refresh tokens using mutual Transport Layer Security (TLS) authentication with X.509 certificates. OAuth clients are provided a mechanism for authentication to the authorization server using mutual TLS, based on either self-signed certificates or public key infrastructure (PKI). OAuth authorization servers are provided a mechanism for binding access tokens to a client's mutual-TLS certificate, and OAuth protected resources are provided a method for ensuring that such an access token presented to it was issued to the client presenting the token.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8705"/>
          <seriesInfo name="DOI" value="10.17487/RFC8705"/>
        </reference>
        <reference anchor="RFC8707" target="https://www.rfc-editor.org/info/rfc8707" quoteTitle="true" derivedAnchor="RFC8707">
          <front>
            <title>Resource Indicators for OAuth 2.0</title>
            <author fullname="B. Campbell" initials="B." surname="Campbell"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="H. Tschofenig" initials="H." surname="Tschofenig"/>
            <date month="February" year="2020"/>
            <abstract>
              <t indent="0">This document specifies an extension to the OAuth 2.0 Authorization Framework defining request parameters that enable a client to explicitly signal to an authorization server about the identity of the protected resource(s) to which it is requesting access.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8707"/>
          <seriesInfo name="DOI" value="10.17487/RFC8707"/>
        </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="RFC8792" target="https://www.rfc-editor.org/info/rfc8792" quoteTitle="true" derivedAnchor="RFC8792">
          <front>
            <title>Handling Long Lines in Content of Internet-Drafts and RFCs</title>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <author fullname="E. Auerswald" initials="E." surname="Auerswald"/>
            <author fullname="A. Farrel" initials="A." surname="Farrel"/>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <date month="June" year="2020"/>
            <abstract>
              <t indent="0">This document defines two strategies for handling long lines in width-bounded text content. One strategy, called the "single backslash" strategy, is based on the historical use of a single backslash ('\') character to indicate where line-folding has occurred, with the continuation occurring with the first character that is not a space character (' ') on the next line. The second strategy, called the "double backslash" strategy, extends the first strategy by adding a second backslash character to identify where the continuation begins and is thereby able to handle cases not supported by the first strategy. Both strategies use a self-describing header enabling automated reconstitution of the original content.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8792"/>
          <seriesInfo name="DOI" value="10.17487/RFC8792"/>
        </reference>
        <reference anchor="RFC9110" target="https://www.rfc-editor.org/info/rfc9110" quoteTitle="true" derivedAnchor="RFC9110">
          <front>
            <title>HTTP Semantics</title>
            <author fullname="R. Fielding" initials="R." role="editor" surname="Fielding"/>
            <author fullname="M. Nottingham" initials="M." role="editor" surname="Nottingham"/>
            <author fullname="J. Reschke" initials="J." role="editor" surname="Reschke"/>
            <date month="June" year="2022"/>
            <abstract>
              <t indent="0">The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document describes the overall architecture of HTTP, establishes common terminology, and defines aspects of the protocol that are shared by all versions. In this definition are core protocol elements, extensibility mechanisms, and the "http" and "https" Uniform Resource Identifier (URI) schemes.</t>
              <t indent="0">This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="97"/>
          <seriesInfo name="RFC" value="9110"/>
          <seriesInfo name="DOI" value="10.17487/RFC9110"/>
        </reference>
        <reference anchor="RFC9126" target="https://www.rfc-editor.org/info/rfc9126" quoteTitle="true" derivedAnchor="RFC9126">
          <front>
            <title>OAuth 2.0 Pushed Authorization Requests</title>
            <author fullname="T. Lodderstedt" initials="T." surname="Lodderstedt"/>
            <author fullname="B. Campbell" initials="B." surname="Campbell"/>
            <author fullname="N. Sakimura" initials="N." surname="Sakimura"/>
            <author fullname="D. Tonge" initials="D." surname="Tonge"/>
            <author fullname="F. Skokan" initials="F." surname="Skokan"/>
            <date month="September" year="2021"/>
            <abstract>
              <t indent="0">This document defines the pushed authorization request (PAR) endpoint, which allows clients to push the payload of an OAuth 2.0 authorization request to the authorization server via a direct request and provides them with a request URI that is used as reference to the data in a subsequent call to the authorization endpoint.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9126"/>
          <seriesInfo name="DOI" value="10.17487/RFC9126"/>
        </reference>
        <reference anchor="I-D.ietf-oauth-security-topics" target="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics-23" quoteTitle="true" derivedAnchor="SECURITY-TOPICS">
          <front>
            <title>OAuth 2.0 Security Best Current Practice</title>
            <author fullname="Torsten Lodderstedt" initials="T." surname="Lodderstedt">
              <organization showOnFrontPage="true">yes.com</organization>
            </author>
            <author fullname="John Bradley" initials="J." surname="Bradley">
              <organization showOnFrontPage="true">Yubico</organization>
            </author>
            <author fullname="Andrey Labunets" initials="A." surname="Labunets">
              <organization showOnFrontPage="true">Independent Researcher</organization>
            </author>
            <author fullname="Daniel Fett" initials="D." surname="Fett">
              <organization showOnFrontPage="true">Authlete</organization>
            </author>
            <date day="5" month="June" year="2023"/>
            <abstract>
              <t indent="0">This document describes best current security practice for OAuth 2.0. It updates and extends the OAuth 2.0 Security Threat Model to incorporate practical experiences gathered since OAuth 2.0 was published and covers new threats relevant due to the broader application of OAuth 2.0.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-oauth-security-topics-23"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.ietf-oauth-token-binding" target="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-token-binding-08" quoteTitle="true" derivedAnchor="TOKEN-BINDING">
          <front>
            <title>OAuth 2.0 Token Binding</title>
            <author fullname="Michael Jones" initials="M." surname="Jones">
              <organization showOnFrontPage="true">Microsoft</organization>
            </author>
            <author fullname="Brian Campbell" initials="B." surname="Campbell">
              <organization showOnFrontPage="true">Ping Identity</organization>
            </author>
            <author fullname="John Bradley" initials="J." surname="Bradley">
              <organization showOnFrontPage="true">Yubico</organization>
            </author>
            <author fullname="William Denniss" initials="W." surname="Denniss">
              <organization showOnFrontPage="true">Google</organization>
            </author>
            <date day="19" month="October" year="2018"/>
            <abstract>
              <t indent="0">This specification enables OAuth 2.0 implementations to apply Token Binding to Access Tokens, Authorization Codes, Refresh Tokens, JWT Authorization Grants, and JWT Client Authentication. This cryptographically binds these tokens to a client's Token Binding key pair, possession of which is proven on the TLS connections over which the tokens are intended to be used. This use of Token Binding protects these tokens from man-in-the-middle and token export and replay attacks.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-oauth-token-binding-08"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="W3C.CSP" target="https://www.w3.org/TR/CSP3/" quoteTitle="true" derivedAnchor="W3C.CSP">
          <front>
            <title>Content Security Policy Level 3</title>
            <author fullname="Mike West" initials="M." surname="West">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2023" month="July"/>
          </front>
          <refcontent>W3C Working Draft</refcontent>
        </reference>
        <reference anchor="W3C.WebCryptoAPI" target="https://www.w3.org/TR/2017/REC-WebCryptoAPI-20170126" quoteTitle="true" derivedAnchor="W3C.WebCryptoAPI">
          <front>
            <title>Web Cryptography API</title>
            <author fullname="Mark Watson" initials="M." surname="Watson">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="January"/>
          </front>
          <refcontent>W3C Recommendation</refcontent>
        </reference>
        <reference anchor="WHATWG.Fetch" target="https://fetch.spec.whatwg.org/" quoteTitle="true" derivedAnchor="WHATWG.Fetch">
          <front>
            <title>Fetch Living Standard</title>
            <author>
              <organization showOnFrontPage="true">WHATWG</organization>
            </author>
            <date year="2023" month="July"/>
          </front>
        </reference>
      </references>
    </references>
    <section anchor="Acknowledgements" numbered="false" removeInRFC="false" toc="include" 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="Brock Allen"/>,
<contact fullname="Annabelle Backman"/>,
<contact fullname="Dominick Baier"/>,
<contact fullname="Spencer Balogh"/>,
<contact fullname="Vittorio Bertocci"/>,
<contact fullname="Jeff Corrigan"/>,
<contact fullname="Domingos Creado"/>,
<contact fullname="Philippe De Ryck"/>,
<contact fullname="Andrii Deinega"/>,
<contact fullname="William Denniss"/>,
<contact fullname="Vladimir Dzhuvinov"/>,
<contact fullname="Mike Engan"/>,
<contact fullname="Nikos Fotiou"/>,
<contact fullname="Mark Haine"/>,
<contact fullname="Dick Hardt"/>,
<contact fullname="Joseph Heenan"/>,
<contact fullname="Bjorn Hjelm"/>,
<contact fullname="Jacob Ideskog"/>,
<contact fullname="Jared Jennings"/>,
<contact fullname="Benjamin Kaduk"/>,
<contact fullname="Pieter Kasselman"/>,
<contact fullname="Neil Madden"/>,
<contact fullname="Rohan Mahy"/>,
<contact fullname="Karsten Meyer zu Selhausen"/>,
<contact fullname="Nicolas Mora"/>,
<contact fullname="Steinar Noem"/>,
<contact fullname="Mark Nottingham"/>,
<contact fullname="Rob Otto"/>,
<contact fullname="Aaron Parecki"/>,
<contact fullname="Michael Peck"/>,
<contact fullname="Roberto Polli"/>,
<contact fullname="Paul Querna"/>,
<contact fullname="Justin Richer"/>,
<contact fullname="Joseph Salowey"/>,
<contact fullname="Rifaat Shekh-Yusef"/>,
<contact fullname="Filip Skokan"/>,
<contact fullname="Dmitry Telegin"/>,
<contact fullname="Dave Tonge"/>,
<contact fullname="Jim Willeke"/>,
and others for their valuable input, feedback, and general support of this work.</t>
      <t indent="0" pn="section-appendix.a-2">This document originated from discussions at the 4th OAuth Security
Workshop in Stuttgart, Germany. We thank the organizers of this
workshop (<contact fullname="Ralf Küsters"/> and <contact fullname="Guido Schmitz"/>).</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 initials="D." surname="Fett" fullname="Daniel Fett">
        <organization showOnFrontPage="true">Authlete</organization>
        <address>
          <postal>
            <street/>
          </postal>
          <email>mail@danielfett.de</email>
        </address>
      </author>
      <author initials="B." surname="Campbell" fullname="Brian Campbell">
        <organization showOnFrontPage="true">Ping Identity</organization>
        <address>
          <postal>
            <street/>
          </postal>
          <email>bcampbell@pingidentity.com</email>
        </address>
      </author>
      <author initials="J." surname="Bradley" fullname="John Bradley">
        <organization showOnFrontPage="true">Yubico</organization>
        <address>
          <postal>
            <street/>
          </postal>
          <email>ve7jtb@ve7jtb.com</email>
        </address>
      </author>
      <author initials="T." surname="Lodderstedt" fullname="Torsten Lodderstedt">
        <organization showOnFrontPage="true">Tuconic</organization>
        <address>
          <postal>
            <street/>
          </postal>
          <email>torsten@lodderstedt.net</email>
        </address>
      </author>
      <author initials="M." surname="Jones" fullname="Michael Jones">
        <organization showOnFrontPage="true">Self-Issued Consulting</organization>
        <address>
          <postal>
            <street/>
          </postal>
          <email>michael_b_jones@hotmail.com</email>
          <uri>https://self-issued.info/</uri>
        </address>
      </author>
      <author initials="D." surname="Waite" fullname="David Waite">
        <organization showOnFrontPage="true">Ping Identity</organization>
        <address>
          <postal>
            <street/>
          </postal>
          <email>david@alkaline-solutions.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
