<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.24 (Ruby 3.3.6) -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-ietf-oauth-browser-based-apps-24" category="bcp" consensus="true" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.28.0 -->
  <front>
    <title>OAuth 2.0 for Browser-Based Applications</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-oauth-browser-based-apps-24"/>
    <author initials="A." surname="Parecki" fullname="Aaron Parecki">
      <organization>Okta</organization>
      <address>
        <email>aaron@parecki.com</email>
        <uri>https://aaronparecki.com</uri>
      </address>
    </author>
    <author initials="P." surname="De Ryck" fullname="Philippe De Ryck">
      <organization>Pragmatic Web Security</organization>
      <address>
        <email>philippe@pragmaticwebsecurity.com</email>
      </address>
    </author>
    <author initials="D." surname="Waite" fullname="David Waite">
      <organization>Ping Identity</organization>
      <address>
        <email>david@alkaline-solutions.com</email>
      </address>
    </author>
    <date year="2025" month="March" day="03"/>
    <area>Security</area>
    <workgroup>Web Authorization Protocol</workgroup>
    <keyword>Internet-Draft</keyword>
    <abstract>
      <?line 116?>

<t>This specification details the threats, attack consequences, security considerations and best practices that must be
taken into account when developing browser-based applications that use OAuth 2.0.</t>
    </abstract>
    <note removeInRFC="true">
      <name>Discussion Venues</name>
      <t>Discussion of this document takes place on the
    Web Authorization Protocol Working Group mailing list (oauth@ietf.org),
    which is archived at <eref target="https://mailarchive.ietf.org/arch/browse/oauth/"/>.</t>
      <t>Source for this draft and an issue tracker can be found at
    <eref target="https://github.com/oauth-wg/oauth-browser-based-apps"/>.</t>
    </note>
  </front>
  <middle>
    <?line 121?>

<section anchor="introduction">
      <name>Introduction</name>
      <t>This specification describes different architectural patterns for implementing OAuth 2.0 clients in applications executing in a browser. The specification outlines the security challenges for browser-based applications and analyzes how different patterns can help address some of these challenges.</t>
      <t>Note that many web applications consist of a first-party frontend and API, allowing for an architecture that does not rely on OAuth 2.0. Such scenarios can rely on OpenID Connect <xref target="OpenID"/> for user authentication, after which the application maintains the user's authentication state. Such a scenario, (which only uses OAuth 2.0 as the underlying specification of OpenID Connect), is not within scope of this specification. This document focuses on JavaScript frontend applications acting as the OAuth client, interacting with the Authorization Server to obtain access tokens and optionally refresh tokens. The client uses the access token to access protected resources on resource servers. When using OAuth 2.0, the client, authorization server, and resource servers are all considered independent parties, either in a first-party or third-party context, regardless of whether each is owned or operated by the same entity.</t>
      <t>For native application developers using OAuth 2.0 and OpenID Connect, an IETF BCP
(best current practice) was published that guides integration of these technologies.
This document is formally known as <xref target="RFC8252"/> or BCP212, but often referred to as "AppAuth" after
the OpenID Foundation-sponsored set of libraries that assist developers in adopting
these practices. <xref target="RFC8252"/> makes specific recommendations for how to securely implement OAuth clients in native
applications, including incorporating additional OAuth extensions where needed.</t>
      <t>This specification, OAuth 2.0 for Browser-Based Applications, highlights how the security properties of browser-based applications are vastly different than those of native applications, as well as addresses the similarities between implementing OAuth clients as native applications and browser-based applications. This document is primarily focused on OAuth, except where OpenID Connect provides additional considerations.</t>
      <t>Many of these recommendations are derived from the Best Current Practice for OAuth 2.0 Security
<xref target="RFC9700"/>, as browser-based applications are expected to follow those recommendations
as well. This document expands on and further restricts various recommendations given in <xref target="RFC9700"/>.</t>
    </section>
    <section anchor="notational-conventions">
      <name>Notational Conventions</name>
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED",
"MAY", and "OPTIONAL" in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>
    </section>
    <section anchor="terminology">
      <name>Terminology</name>
      <t>In addition to the terms defined in referenced specifications, this document uses
the following terms:</t>
      <dl>
        <dt>"OAuth":</dt>
        <dd>
          <t>In this document, "OAuth" refers to OAuth 2.0, <xref target="RFC6749"/> and <xref target="RFC6750"/>.</t>
        </dd>
        <dt>"Browser-based application":</dt>
        <dd>
          <t>An application that is dynamically downloaded and executed in a web browser,
usually written in JavaScript. Also sometimes referred to as a "single-page application", or "SPA".</t>
        </dd>
      </dl>
      <t>This document discusses the security of browser-based applications, which are executed by the browser in a runtime environment. In most scenarios, these applications are JavaScript (JS) applications running in a JavaScript execution environment. Given the popularity of this scenario, this document uses the term "JavaScript" to refer to all mechanisms that allow code to execute in the application's runtime in the browser. The recommendations and considerations in this document are not exclusively linked to the JavaScript language or its runtime, but also apply to other languages and runtime environments in the browser.</t>
      <dl>
        <dt>"PKCE":</dt>
        <dd>
          <t>Proof Key for Code Exchange (PKCE) <xref target="RFC7636"/>, a mechanism
to prevent various attacks on OAuth authorization codes.</t>
        </dd>
        <dt>"DPoP":</dt>
        <dd>
          <t>OAuth 2.0 Demonstrating of Proof of Possession (DPoP) <xref target="RFC9449"/> is a mechanism to restrict access tokens to be used only by the client they were issued to.</t>
        </dd>
        <dt>"CORS":</dt>
        <dd>
          <t>Cross-Origin Resource Sharing <xref target="Fetch"/>, a mechanism that enables exceptions to the browser's same-origin policy.</t>
        </dd>
        <dt>"CSP":</dt>
        <dd>
          <t>Content Security Policy <xref target="W3C.CSP3"/>, a mechanism of restricting which resources a particular web page can fetch or execute.</t>
        </dd>
      </dl>
    </section>
    <section anchor="history-of-oauth-20-in-browser-based-applications">
      <name>History of OAuth 2.0 in Browser-Based Applications</name>
      <t>At the time that OAuth 2.0 was initially specified in <xref target="RFC6749"/> and <xref target="RFC6750"/>, browser-based JavaScript applications needed a solution that strictly complied with the same-origin policy. Common deployments of OAuth 2.0 involved an application running on a different domain than the authorization server, so it was historically not possible to use the Authorization Code grant type which would require a cross-origin POST request. This limitation was one of the motivations for the definition of the Implicit flow, which returns the access token in the front channel via the fragment part of the URL, bypassing the need for a cross-origin POST request.</t>
      <t>However, there are several drawbacks to the Implicit flow, generally involving vulnerabilities associated with the exposure of the access token in the URL. See <xref target="implicit_flow"/> for an analysis of these attacks and the drawbacks of using the Implicit flow in browsers. Additional attacks and security considerations can be found in <xref target="RFC9700"/>.</t>
      <t>In modern web development, widespread adoption of Cross-Origin Resource Sharing (CORS) <xref target="Fetch"/> (which enables exceptions to the same-origin policy) allows browser-based applications to use the OAuth 2.0 Authorization Code flow and make a POST request to exchange the authorization code for an access token at the token endpoint. Since the Authorization Code grant type enables the use of refresh tokens, this behavior has been adopted for browser-based clients as well, even though these clients are still public clients with limited to no access to secure storage. Furthermore, adding Proof Key for Code Exchange (PKCE) <xref target="RFC7636"/> to the flow prevents authorization code injection, as well as ensures that even if an authorization code is intercepted, it is unusable by an attacker.</t>
      <t>For this reason, and from other lessons learned, the current best practice for browser-based applications is to use the OAuth 2.0 Authorization Code grant type with PKCE. There are various architectural patterns for deploying browser-based applications, both with and without a corresponding server-side component. Each of these architectures has specific trade-offs and considerations which are discussed further in this document. Additional considerations apply for first-party common-domain applications.</t>
    </section>
    <section anchor="threats">
      <name>The Threat of Malicious JavaScript</name>
      <t>Malicious JavaScript poses a significant risk to browser-based applications. Attack vectors, such as cross-site scripting (XSS) or the compromise of remote code files, give an attacker the capability to run arbitrary code in the application's execution context. This malicious code is not isolated from the main application's code in any way. Consequentially, the malicious code can not only take control of the running execution context, but can also perform actions within the application's origin. Concretely, this means that the malicious code can steal data from the current page, interact with other same-origin browsing contexts, send requests to a backend from within the application's origin, steal data from origin-based storage mechanisms (e.g., localStorage, IndexedDB), etc.</t>
      <t>First and foremost, it is crucial to take proactive measures to avoid the attacker from gaining a foothold in the first place. Doing so involves, but is not limited to:</t>
      <ul spacing="normal">
        <li>
          <t>Strictly applying context-sensitive output encoding and sanitization when handling untrusted data</t>
        </li>
        <li>
          <t>Limiting or avoiding the loading of unchecked third-party resources</t>
        </li>
        <li>
          <t>Using Subresource Integrity <xref target="W3C.SRI"/> to restrict valid scripts that can be loaded</t>
        </li>
        <li>
          <t>Using a nonce-based or hash-based Content Security Policy <xref target="W3C.CSP3"/> to prevent the execution of unauthorized script code</t>
        </li>
        <li>
          <t>Using origin isolation and HTML5 sandboxing to create boundaries between different parts of the application</t>
        </li>
      </ul>
      <t>Further recommendations can be found in the OWASP Cheat Sheet series <xref target="OWASPCheatSheet"/>.</t>
      <t>Unfortunately, history shows that even when applying these security guidelines, there remains a risk that the attacker finds a way to trigger the execution of malicious JavaScript. When analyzing the security of browser-based applications in light of the presence of malicious JS, it is crucial to realize that the <strong>malicious JavaScript code has the same privileges as the legitimate application code</strong>. All JS applications are exposed to this risk in some degree.</t>
      <t>Applications might obtain OAuth tokens that confer authorization
necessary to their functioning. In combination, this effectively gives
compromised code the ability to use that authorization for malicious ends.
Though the risk of attacker abuse of authorization is unavoidable, there are
ways to limit the extent to which a compromised application can abuse that
authorization. For instance, this access might be limited to times when the
application is in active use, by limiting the type of tokens that might be obtained, or by binding
the tokens to the browser.</t>
      <t>When the legitimate application code can access variables or call functions, the malicious JS code can do exactly the same. Furthermore, the malicious JS code can tamper with the regular execution flow of the application, as well as with any application-level defenses, since they are typically controlled from within the application. For example, the attacker can remove or override event listeners, modify the behavior of built-in functions (prototype pollution), and stop pages in frames from loading.</t>
      <t>The impact of malicious JavaScript on browser-based applications is a widely studied and well-understood topic. However, the concrete impact of malicious JavaScript on browser-based applications acting as an OAuth client is quite unique, since the malicious JavaScript can now impact the interactions during an OAuth flow. This section explores the threats malicious JS code poses to a browser-based application with the responsibilities of an OAuth client. The first part (<xref target="attackscenarios"/>) discusses a few scenarios that attackers can use once they have found a way to run malicious JavaScript code. These scenarios paint a clear picture of the true power of the attacker, which goes way beyond simple token exfiltration. The second part (<xref target="consequences"/>) analyzes the impact of these attack scenarios on the OAuth client.</t>
      <t>The remainder of this specification will refer back to these attack scenarios and consequences to analyze the security properties of the different architectural patterns.</t>
      <section anchor="attackscenarios">
        <name>Attack Scenarios</name>
        <t>This section presents several attack scenarios that an attacker can execute once they have found a vulnerability that allows the execution of malicious JavaScript code. The attack scenarios include trivial scenarios (<xref target="scenario-single-theft"/>) and elaborate scenarios (<xref target="scenario-new-flow"/>). Note that this enumeration is non-exhaustive, narrowly scoped to OAuth-specific features, and presented in no particular order.</t>
        <section anchor="scenario-single-theft">
          <name>Single-Execution Token Theft</name>
          <t>This scenario covers a simple token exfiltration attack, where the attacker obtains and exfiltrates the client's current tokens. This scenario consists of the following steps:</t>
          <ul spacing="normal">
            <li>
              <t>Execute malicious JS code</t>
            </li>
            <li>
              <t>Obtain tokens from the application's preferred storage mechanism (See <xref target="token-storage"/>)</t>
            </li>
            <li>
              <t>Send the tokens to a server controlled by the attacker</t>
            </li>
            <li>
              <t>Store/abuse the stolen tokens</t>
            </li>
          </ul>
          <t>The recommended defensive strategy to protect access tokens is to reduce the scope and lifetime of the token. For refresh tokens, the use of refresh token rotation offers a detection and correction mechanism. Sender-constrained tokens (<xref target="sender-constrained-tokens"/>) offer an additional layer of protection against stolen access tokens.</t>
          <t>Note that this attack scenario is trivial and often used to illustrate the dangers of malicious JavaScript. When discussing the security of browser-based applications, it is crucial to avoid limiting the attacker's capabilities to the attack discussed in this scenario.</t>
        </section>
        <section anchor="scenario-persistent-theft">
          <name>Persistent Token Theft</name>
          <t>This attack scenario is a more advanced variation on the Single-Execution Token Theft scenario (<xref target="scenario-single-theft"/>). Instead of immediately stealing tokens upon the execution of the malicious code, the attacker sets up the necessary handlers to steal the application's tokens on a continuous basis. This scenario consists of the following steps:</t>
          <ul spacing="normal">
            <li>
              <t>Execute malicious JS code</t>
            </li>
            <li>
              <t>Setup a continuous token theft mechanism (e.g., on a 10-second time interval)
              </t>
              <ul spacing="normal">
                <li>
                  <t>Obtain tokens from the application's preferred storage mechanism (See <xref target="token-storage"/>)</t>
                </li>
                <li>
                  <t>Send the tokens to a server controlled by the attacker</t>
                </li>
                <li>
                  <t>Store the tokens</t>
                </li>
              </ul>
            </li>
            <li>
              <t>Wait until the opportune moment to abuse the latest version of the stolen tokens</t>
            </li>
          </ul>
          <t>The crucial difference in this scenario is that the attacker always has access to the latest tokens used by the application. This slight variation in the attack scenario already suffices to counter typical defenses against token theft, such as short lifetimes or refresh token rotation.</t>
          <t>For access tokens, the attacker now obtains the latest access token for as long as the user's browser is online. Refresh token rotation is not sufficient to prevent abuse of a refresh token. An attacker can easily wait until the user closes the application or their browser goes offline before using the latest refresh token, thereby ensuring that the latest refresh token is not reused.</t>
        </section>
        <section anchor="scenario-new-flow">
          <name>Acquisition and Extraction of New Tokens</name>
          <t>In this advanced attack scenario, the attacker completely disregards any tokens that the application has already obtained. Instead, the attacker takes advantage of the ability to run malicious code that is associated with the application's origin. With that ability, the attacker can inject a hidden iframe and launch a silent Authorization Code flow. This silent flow will reuse the user's existing session with the authorization server and result in the issuing of a new, independent access token (and optionally refresh token). This scenario consists of the following steps:</t>
          <ul spacing="normal">
            <li>
              <t>Execute malicious JS code</t>
            </li>
            <li>
              <t>Set up a handler to obtain the authorization code from the iframe (e.g., by monitoring the frame's URL or via Web Messaging <xref target="WebMessaging"/>)</t>
            </li>
            <li>
              <t>Insert a hidden iframe into the page and initialize it with an authorization request. The authorization request in the iframe will occur within the user's session and, if the session is still active, result in the issuing of an authorization code. Note that this step relies on the Authorization Server supporting silent frame-based flows, as discussed in the last paragraph of this scenario.</t>
            </li>
            <li>
              <t>Extract the authorization code from the iframe using the previously installed handler</t>
            </li>
            <li>
              <t>Send the authorization code to a server controlled by the attacker</t>
            </li>
            <li>
              <t>Exchange the authorization code for a new set of tokens</t>
            </li>
            <li>
              <t>Abuse the stolen tokens</t>
            </li>
          </ul>
          <t>The most important takeaway from this scenario is that it runs a new OAuth flow instead of focusing on stealing existing tokens. In essence, even if the application finds a token storage mechanism that is able to completely isolate the stored tokens from the attacker, the attacker will still be able to request a new set of tokens. Note that because the attacker controls the application in the browser, the attacker's Authorization Code flow is indistinguishable from a legitimate Authorization Code flow.</t>
          <t>This attack scenario is possible because the security of public browser-based OAuth clients relies entirely on the redirect URI and application's origin. When the attacker executes malicious JavaScript code in the application's origin, they gain the capability to inspect same-origin frames. As a result, the attacker's code running in the main execution context can inspect the redirect URI loaded in the same-origin frame to extract the authorization code.</t>
          <t>There are no practical security mechanisms for frontend applications that counter this attack scenario. Short access token lifetimes and refresh token rotation are ineffective, since the attacker has a fresh, independent set of tokens. Advanced security mechanism, such as DPoP <xref target="RFC9449"/> are equally ineffective, since the attacker can use their own key pair to setup and use DPoP for the newly obtained tokens. Requiring user interaction with every Authorization Code flow would effectively stop the automatic silent issuance of new tokens, but this would significantly impact widely-established patterns, such as bootstrapping an application on its first page load, or single sign-on across multiple related applications, and is not a practical measure.</t>
        </section>
        <section anchor="scenario-proxy">
          <name>Proxying Requests via the User's Browser</name>
          <t>This attack scenario involves the attacker sending requests to the resource server directly from within the OAuth client application running in the user's browser. In this scenario, there is no need for the attacker to abuse the application to obtain tokens, since the browser will include its own cookies or tokens along in the request. The requests to the resource server sent by the attacker are indistinguishable from requests sent by the legitimate application, since the attacker is running code in the same context as the legitimate application. This scenario consists of the following steps:</t>
          <ul spacing="normal">
            <li>
              <t>Execute malicious JS code</t>
            </li>
            <li>
              <t>Send a request to a resource server and process the response</t>
            </li>
          </ul>
          <t>To authorize the requests to the resource server, the attacker simply mimics the behavior of the client application. For example, when a client application programmatically attaches an access token to outgoing requests, the attacker does the same. Should the client application rely on an external component to augment the request with the proper access token, then this external component will also augment the attacker's request.</t>
          <t>This attack pattern is well-known and also occurs with traditional applications using <tt>HttpOnly</tt> session cookies. It is commonly accepted that this scenario cannot be stopped or prevented by application-level security measures. For example, DPoP <xref target="RFC9449"/> explicitly considers this attack scenario to be out of scope.</t>
        </section>
      </section>
      <section anchor="consequences">
        <name>Attack Consequences</name>
        <t>Successful execution of an attack scenario can result in the theft of access tokens and refresh tokens, or in the ability to hijack the client application running in the user's browser. Each of these consequences is relevant for browser-based OAuth clients. They are discussed below in decreasing order of severity.</t>
        <section anchor="consequence-rt">
          <name>Exploiting Stolen Refresh Tokens</name>
          <t>When the attacker obtains a valid refresh token from a browser-based OAuth client, they can abuse the refresh token by running a Refresh Token grant with the authorization server. The response of the Refresh Token grant contains an access token, which gives the attacker the ability to access protected resources (See <xref target="consequence-at"/>). In essence, abusing a stolen refresh token enables long-term impersonation of the legitimate client application to resource servers.</t>
          <t>The attack is only stopped when the authorization server refuses a refresh token because it has expired or rotated, or when the refresh token is revoked. In a typical browser-based OAuth client, it is not uncommon for a refresh token to remain valid for multiple hours, or even days.</t>
        </section>
        <section anchor="consequence-at">
          <name>Exploiting Stolen Access Tokens</name>
          <t>If the attacker obtains a valid access token, they gain the ability to impersonate the legitimate client application in a request to a resource server. Concretely, possession of an access token allows the attacker to send arbitrary requests to any resource server that accepts the valid access token. In essence, abusing a stolen access token enables short-term impersonation of the legitimate client application to resource servers.</t>
          <t>The attack ends when the access token expires or when a token is revoked with the authorization server. In a typical browser-based OAuth client, access token lifetimes can be quite short, ranging from minutes to hours.</t>
          <t>Note that the possession of the access token allows its unrestricted use by the attacker. The attacker can send arbitrary requests to resource servers, using any HTTP method, destination URL, header values, or body.</t>
          <t>The application can use DPoP to ensure its access tokens are bound to non-exportable keys held by the browser. In that case, it becomes significantly harder for the attacker to abuse stolen access tokens. More specifically, with DPoP, the attacker can only abuse stolen application tokens by carrying out an online attack, where the proofs are calculated in the user's browser. This attack is described in detail in <xref section="11.4" sectionFormat="of" target="RFC9449"/>. However, when the attacker obtains a fresh access token (and optionally refresh token), as described in <xref target="scenario-new-flow"/>, they can set up DPoP for these tokens using an attacker-controlled key pair. In that case, the attacker is again free to abuse this newly obtained access token without restrictions.</t>
        </section>
        <section anchor="consequence-hijack">
          <name>Client Hijacking</name>
          <t>When stealing tokens is not possible or desirable, the attacker can also choose to hijack the OAuth client application running in the user's browser. This effectively allows the attacker to perform any operations that the legitimate client application can perform. Examples include inspecting data on the page, modifying the page, and sending requests to backend systems. Alternatively, the attacker can also abuse their access to the application to launch additional attacks, such as tricking the client into acting on behalf of the attacker using an attack such as session fixation.</t>
          <t>Note that client hijacking is less powerful than directly abusing stolen user tokens. In a client hijacking scenario, the attacker cannot directly control the tokens and is restricted by the security policies enforced on the client application. For example, a resource server running on <tt>admin.example.org</tt> can be configured with a CORS policy that rejects requests coming from a client running on <tt>web.example.org</tt>. Even if the access token used by the client would be accepted by the resource server, the resource server's strict CORS configuration does not allow such a request. A resource server without such a strict CORS policy can still be subject to adversarial requests coming from the compromised client application.</t>
        </section>
      </section>
    </section>
    <section anchor="application-architecture-patterns">
      <name>Application Architecture Patterns</name>
      <t>There are three main architectural patterns available when building browser-based JavaScript applications that rely on OAuth for accessing protected resources.</t>
      <ul spacing="normal">
        <li>
          <t>A JavaScript application that relies on a backend component for handling OAuth responsibilities and proxies all requests through the backend component (Backend-For-Frontend or BFF)</t>
        </li>
        <li>
          <t>A JavaScript application that relies on a backend component for handling OAuth responsibilities, but calls resource servers directly using the access token (Token-Mediating Backend)</t>
        </li>
        <li>
          <t>A JavaScript application acting as the client, handling all OAuth responsibilities in the browser (Browser-based OAuth Client)</t>
        </li>
      </ul>
      <t>Each of these architectural patterns offers a different trade-off between security and simplicity. The patterns in this section are presented in decreasing order of security.</t>
      <section anchor="pattern-bff">
        <name>Backend For Frontend (BFF)</name>
        <t>This section describes the architecture of a JavaScript application that relies on a backend component to handle all OAuth responsibilities and API interactions. The BFF has three core responsibilities:</t>
        <ol spacing="normal" type="1"><li>
            <t>The BFF interacts with the authorization server as a confidential OAuth client</t>
          </li>
          <li>
            <t>The BFF manages OAuth access and refresh tokens in the context of a cookie-based session, avoiding the direct exposure of any tokens to the JavaScript application</t>
          </li>
          <li>
            <t>The BFF proxies all requests to a resource server, augmenting them with the correct access token before forwarding them to the resource server</t>
          </li>
        </ol>
        <t>In this architecture, the BFF runs as a server-side component, but it is a component of the frontend application. To avoid confusion with other architectural concepts, such as API gateways and reverse proxies, it is important to keep in mind that the BFF becomes the OAuth client for the frontend application.</t>
        <t>If an attacker is able to execute malicious code within the JavaScript application, the application architecture is able to withstand most of the attack scenarios discussed before. Since tokens are only available to the BFF, there are no tokens available to extract from JavaScript (Single-Execution Token Theft (<xref target="scenario-single-theft"/>) and Persistent Token Theft (<xref target="scenario-persistent-theft"/>)). The BFF is a confidential client, which prevents the attacker from running a new flow within the browser (Acquisition and Extraction of New Tokens (<xref target="scenario-new-flow"/>)). Since the malicious JavaScript code still runs within the application's origin, the attacker is able to send requests to the BFF from within the user's browser (Proxying Requests via the User's Browser (<xref target="scenario-proxy"/>)). Note that the use of HttpOnly cookies prevents the attacker from directly accessing the session state, which prevents the escalation from client hijacking to session hijacking.</t>
        <section anchor="application-architecture">
          <name>Application Architecture</name>
          <figure anchor="fig-bbapp-pattern-bff">
            <name>OAuth 2.0 BFF Pattern</name>
            <artset>
              <artwork type="svg"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="448" width="576" viewBox="0 0 576 448" class="diagram" text-anchor="middle" font-family="monospace" font-size="13px" stroke-linecap="round">
                  <path d="M 8,368 L 8,432" fill="none" stroke="black"/>
                  <path d="M 152,368 L 152,432" fill="none" stroke="black"/>
                  <path d="M 184,32 L 184,112" fill="none" stroke="black"/>
                  <path d="M 232,368 L 232,432" fill="none" stroke="black"/>
                  <path d="M 256,144 L 256,336" fill="none" stroke="black"/>
                  <path d="M 288,208 L 288,272" fill="none" stroke="black"/>
                  <path d="M 312,32 L 312,112" fill="none" stroke="black"/>
                  <path d="M 320,304 L 320,336" fill="none" stroke="black"/>
                  <path d="M 368,32 L 368,112" fill="none" stroke="black"/>
                  <path d="M 368,304 L 368,336" fill="none" stroke="black"/>
                  <path d="M 416,144 L 416,176" fill="none" stroke="black"/>
                  <path d="M 416,304 L 416,336" fill="none" stroke="black"/>
                  <path d="M 456,32 L 456,112" fill="none" stroke="black"/>
                  <path d="M 464,304 L 464,336" fill="none" stroke="black"/>
                  <path d="M 480,32 L 480,112" fill="none" stroke="black"/>
                  <path d="M 512,304 L 512,336" fill="none" stroke="black"/>
                  <path d="M 520,144 L 520,176" fill="none" stroke="black"/>
                  <path d="M 536,208 L 536,272" fill="none" stroke="black"/>
                  <path d="M 536,304 L 536,336" fill="none" stroke="black"/>
                  <path d="M 568,32 L 568,112" fill="none" stroke="black"/>
                  <path d="M 568,368 L 568,432" fill="none" stroke="black"/>
                  <path d="M 184,32 L 312,32" fill="none" stroke="black"/>
                  <path d="M 368,32 L 456,32" fill="none" stroke="black"/>
                  <path d="M 480,32 L 568,32" fill="none" stroke="black"/>
                  <path d="M 184,112 L 312,112" fill="none" stroke="black"/>
                  <path d="M 368,112 L 456,112" fill="none" stroke="black"/>
                  <path d="M 480,112 L 568,112" fill="none" stroke="black"/>
                  <path d="M 288,208 L 536,208" fill="none" stroke="black"/>
                  <path d="M 288,272 L 536,272" fill="none" stroke="black"/>
                  <path d="M 8,368 L 152,368" fill="none" stroke="black"/>
                  <path d="M 232,368 L 568,368" fill="none" stroke="black"/>
                  <path d="M 168,400 L 216,400" fill="none" stroke="black"/>
                  <path d="M 8,432 L 152,432" fill="none" stroke="black"/>
                  <path d="M 232,432 L 568,432" fill="none" stroke="black"/>
                  <polygon class="arrowhead" points="544,336 532,330.4 532,341.6" fill="black" transform="rotate(90,536,336)"/>
                  <polygon class="arrowhead" points="528,176 516,170.4 516,181.6" fill="black" transform="rotate(90,520,176)"/>
                  <polygon class="arrowhead" points="528,144 516,138.4 516,149.6" fill="black" transform="rotate(270,520,144)"/>
                  <polygon class="arrowhead" points="520,304 508,298.4 508,309.6" fill="black" transform="rotate(270,512,304)"/>
                  <polygon class="arrowhead" points="472,336 460,330.4 460,341.6" fill="black" transform="rotate(90,464,336)"/>
                  <polygon class="arrowhead" points="424,304 412,298.4 412,309.6" fill="black" transform="rotate(270,416,304)"/>
                  <polygon class="arrowhead" points="424,176 412,170.4 412,181.6" fill="black" transform="rotate(90,416,176)"/>
                  <polygon class="arrowhead" points="424,144 412,138.4 412,149.6" fill="black" transform="rotate(270,416,144)"/>
                  <polygon class="arrowhead" points="376,336 364,330.4 364,341.6" fill="black" transform="rotate(90,368,336)"/>
                  <polygon class="arrowhead" points="376,304 364,298.4 364,309.6" fill="black" transform="rotate(270,368,304)"/>
                  <polygon class="arrowhead" points="328,336 316,330.4 316,341.6" fill="black" transform="rotate(90,320,336)"/>
                  <polygon class="arrowhead" points="328,304 316,298.4 316,309.6" fill="black" transform="rotate(270,320,304)"/>
                  <polygon class="arrowhead" points="264,336 252,330.4 252,341.6" fill="black" transform="rotate(90,256,336)"/>
                  <polygon class="arrowhead" points="264,144 252,138.4 252,149.6" fill="black" transform="rotate(270,256,144)"/>
                  <polygon class="arrowhead" points="224,400 212,394.4 212,405.6" fill="black" transform="rotate(0,216,400)"/>
                  <g class="text">
                    <text x="248" y="68">Authorization</text>
                    <text x="408" y="68">Token</text>
                    <text x="524" y="68">Resource</text>
                    <text x="244" y="84">Endpoint</text>
                    <text x="412" y="84">Endpoint</text>
                    <text x="524" y="84">Server</text>
                    <text x="400" y="164">(F)</text>
                    <text x="504" y="164">(K)</text>
                    <text x="336" y="244">Backend</text>
                    <text x="384" y="244">for</text>
                    <text x="436" y="244">Frontend</text>
                    <text x="496" y="244">(BFF)</text>
                    <text x="240" y="260">(D)</text>
                    <text x="296" y="324">(B,I)</text>
                    <text x="352" y="324">(C)</text>
                    <text x="400" y="324">(E)</text>
                    <text x="448" y="324">(G)</text>
                    <text x="496" y="324">(J)</text>
                    <text x="552" y="324">(L)</text>
                    <text x="192" y="388">(A,H)</text>
                    <text x="44" y="404">Static</text>
                    <text x="88" y="404">Web</text>
                    <text x="124" y="404">Host</text>
                    <text x="400" y="404">Browser</text>
                  </g>
                </svg>
              </artwork>
              <artwork type="ascii-art"><![CDATA[
                      +---------------+      +----------+  +----------+
                      |               |      |          |  |          |
                      | Authorization |      |  Token   |  | Resource |
                      |   Endpoint    |      | Endpoint |  |  Server  |
                      |               |      |          |  |          |
                      +---------------+      +----------+  +----------+

                               ^                   ^            ^
                               |                (F)|         (K)|
                               |                   v            v
                               |
                               |   +------------------------------+
                               |   |                              |
                               |   |  Backend for Frontend (BFF)  |
                            (D)|   |                              |
                               |   +------------------------------+
                               |
                               |       ^     ^     ^     +     ^  +
                               |  (B,I)|  (C)|  (E)|  (G)|  (J)|  |(L)
                               v       v     v     +     v     +  v

+-----------------+         +-----------------------------------------+
|                 |  (A,H)  |                                         |
| Static Web Host | +-----> |                 Browser                 |
|                 |         |                                         |
+-----------------+         +-----------------------------------------+
]]></artwork>
            </artset>
          </figure>
          <t>In this architecture, the JavaScript code is first loaded from a static web host into the browser (A), and the application then runs in the browser. The application checks with the BFF if there is an active session by calling a "check session" API endpoint (B). If an active session is found, the application resumes its authenticated state and skips forward to step J.</t>
          <t>When no active session is found, the JavaScript application triggers a navigation to the BFF (C) to initiate the Authorization Code flow with the PKCE
extension (described in <xref target="pattern-bff-flow"/>), to which the BFF responds by redirecting the browser to the authorization endpoint (D). When the user is redirected back, the browser delivers the authorization code to the BFF (E), where the BFF can then exchange it for tokens at the token endpoint (F) using its client credentials and PKCE code verifier.</t>
          <t>The BFF associates the obtained tokens with the user's session (See <xref target="pattern-bff-sessions"/>) and sets a cookie in the response to keep track of this session (G). At this point, the redirect-based Authorization Code flow has been completed, so the BFF can hand control back to the frontend application. It does so by including a redirect in the response (G), triggering the browser to fetch the frontend from the server (H). Note that step (H) is identical to step (A), which likely means that the requested resources can be loaded from the browser's cache. When the frontend loads, it will check with the BFF for an existing session (I), allowing the JavaScript application to resume its authenticated state.</t>
          <t>When the JavaScript application in the browser wants to make a request to the resource server, it sends a request to the corresponding endpoint on the BFF (J). This request will include the cookie set in step G, allowing the BFF to obtain the proper tokens for this user's session. The BFF removes the cookie from the request, attaches the user's access token to the request, and forwards it to the actual resource server (K). The BFF then forwards the response back to the browser-based application (L).</t>
        </section>
        <section anchor="implementation-details">
          <name>Implementation Details</name>
          <section anchor="bff_endpoints">
            <name>Session and OAuth Endpoints</name>
            <t>The BFF provides a set of endpoints that are crucial to implement the interactions between the browser-based application and the BFF. This section discusses these endpoints in a bit more detail to clarify their purpose and use cases.</t>
            <t>The "check session" endpoint (Steps B and I in the diagram above) is an API endpoint called by the browser-based application. The request will carry session information when available, allowing the BFF to check for an active session. The response should indicate to the browser-based application whether the session is active. Additionally, the BFF can include other information, such as identity information about the authenticated user.</t>
            <t>The endpoint that initiates the Authorization Code flow (step C) is contacted by the browser through a navigation. When the JavaScript application detects an unauthenticated state after checking the session (step B), it can navigate the browser to this endpoint. Doing so allows the BFF to respond with a redirect, which takes the browser to the authorization server. The endpoint to initiate this flow is typically included as the "login" endpoint by libraries that support OAuth 2.0 for confidential clients running on a web server. Note that it is also possible for the BFF to initiate the Authorization Code flow in step B, when it detects the absence of an active session. In that case, the BFF would return the authorization URI in the response and expect the JavaScript application to trigger a navigation event with this URI. However, this scenario requires a custom implementation and makes it harder to use standard OAuth libraries.</t>
            <t>The endpoint that receives the authorization code (step E) is called by a navigation event from within the browser. At this point, the JavaScript application is not loaded and not in a position to handle the redirect. Similar to the initiation of the flow, the endpoint to handle the redirect is offered by standard OAuth libraries. The BFF can respond to this request with a redirect that triggers the browser to load the  JavaScript application.</t>
            <t>Finally, the BFF can also offer a "logout" endpoint to the JavaScript application, which is not depicted in the diagram above. The exact behavior of the logout endpoint depends on the application requirements. Note that standard OAuth libraries typically also offer an implementation of the "logout" endpoint.</t>
          </section>
          <section anchor="refresh-tokens">
            <name>Refresh Tokens</name>
            <t>When using refresh tokens, as described in <xref section="4.14" sectionFormat="of" target="RFC9700"/>, the BFF obtains the refresh token (step F) and associates it with the user's session.</t>
            <t>If the BFF notices that the user's access token has expired and the BFF has a refresh token, it can use the refresh token to obtain a fresh access token. Since the BFF OAuth client is a confidential client, it will use client authentication on the refresh token request. Typically, the BFF performs these steps inline when handling an API call from the frontend. In that case, these steps, which are not explicitly shown on the diagram, would occur between steps J and K. BFFs that keep all token information available on the server side can also request fresh access tokens when they observe a token expiration event to increase the performance of API requests.</t>
            <t>When the refresh token expires, there is no way to obtain a valid access token without running an entirely new Authorization Code flow. Therefore, it makes sense to configure the lifetime of the cookie-based session managed by the BFF to be equal to the maximum lifetime of the refresh token. Additionally, when the BFF learns that a refresh token for an active session is no longer valid, it also makes sense to invalidate the session.</t>
          </section>
          <section anchor="pattern-bff-sessions">
            <name>Cookie-based Session Management</name>
            <t>The BFF relies on browser cookies (<xref target="I-D.ietf-httpbis-rfc6265bis"/>) to keep track of the user's session, which is used to access the user's tokens. Cookie-based sessions, both server-side and client-side, have some downsides.</t>
            <t>Server-side sessions expose only a session identifier and keep all data on the server. Doing so ensures a great level of control over active sessions, along with the possibility to revoke any session at will. The downside of this approach is the impact on scalability, requiring solutions such as "sticky sessions", or "session replication". Given these downsides, using server-side sessions with a BFF is only recommended in small-scale scenarios.</t>
            <t>Client-side sessions push all data to the browser in a signed, and optionally encrypted, object. This pattern absolves the server of keeping track of any session data, but severely limits control over active sessions and makes it difficult to handle session revocation. However, when client-side sessions are used in the context of a BFF, these properties change significantly. Since the cookie-based session is only used to obtain a user's tokens, all control and revocation properties follow from the use of access tokens and refresh tokens. It suffices to revoke the user's access token and/or refresh token to prevent ongoing access to protected resources, without the need to explicitly invalidate the cookie-based session.</t>
            <t>Best practices to secure the session cookie are discussed in <xref target="pattern-bff-cookie-security"/>.</t>
          </section>
          <section anchor="pattern-bff-oidc">
            <name>Combining OAuth and OpenID Connect</name>
            <t>The OAuth flow used by this application architecture can be combined with OpenID Connect by including the necessary OpenID Connect scopes in the authorization request (C). In that case, the BFF will receive an ID Token in step F. The BFF can associate the information from the ID Token with the user's session and provide it to the JavaScript application in step B or I.</t>
            <t>When needed, the BFF can use the access token associated with the user's session to make requests to the UserInfo endpoint.</t>
          </section>
          <section anchor="practical-deployment-strategies">
            <name>Practical Deployment Strategies</name>
            <t>Serving the static JavaScript code is a separate responsibility from handling OAuth tokens and proxying requests. In the diagram presented above, the BFF and static web host are shown as two separate entities. In real-world deployments, these components can be deployed as a single service (i.e., the BFF serving the static JS code), as two separate services (i.e., a CDN and a BFF), or as two components in a single service (i.e., static hosting and serverless functions on a cloud platform).</t>
            <t>Note that it is possible to further customize this architecture to tailor to specific scenarios. For example, an application relying on both internal and external resource servers can choose to host the internal resource server alongside the BFF. In that scenario, requests to the internal resource server are handled directly at the BFF, without the need to proxy requests over the network. Authorization from the point of view of the resource server does not change, as the user's session is internally translated to the access token and its claims.</t>
          </section>
        </section>
        <section anchor="security-considerations">
          <name>Security Considerations</name>
          <section anchor="pattern-bff-flow">
            <name>The Authorization Code Grant</name>
            <t>The main benefit of using a BFF is the BFF's ability to act as a confidential client. Therefore, the BFF MUST act as a confidential client. Furthermore, the BFF MUST use the OAuth 2.0 Authorization Code grant as described in <xref section="2.1.1" sectionFormat="of" target="RFC9700"/> to initiate a request for an access token.</t>
          </section>
          <section anchor="pattern-bff-cookie-security">
            <name>Cookie Security</name>
            <t>The BFF uses cookies to create a user session, which is directly associated with the user's tokens, either through server-side or client-side session state. Given the sensitive nature of these cookies, they must be properly protected.</t>
            <t>The following cookie security guidelines are relevant for this particular BFF architecture:</t>
            <ul spacing="normal">
              <li>
                <t>The BFF MUST enable the <em>Secure</em> flag for its cookies</t>
              </li>
              <li>
                <t>The BFF MUST enable the <em>HttpOnly</em> flag for its cookies</t>
              </li>
              <li>
                <t>The BFF SHOULD enable the <em>SameSite=Strict</em> flag for its cookies</t>
              </li>
              <li>
                <t>The BFF SHOULD set its cookie path to <em>/</em></t>
              </li>
              <li>
                <t>The BFF SHOULD NOT set the <em>Domain</em> attribute for cookies</t>
              </li>
              <li>
                <t>The BFF SHOULD start the name of its cookies with the <em>__Host-</em> prefix (<xref target="I-D.ietf-httpbis-rfc6265bis"/>)</t>
              </li>
            </ul>
            <t>These cookie security guidelines, combined with the use of HTTPS, help counter attacks that directly target a cookie-based session. Session hijacking is not possible, due to the <tt>Secure</tt> and <tt>HttpOnly</tt> cookie flags. The <tt>__Host</tt> prefix prevents the cookie from being shared with subdomains, thereby countering subdomain-based session hijacking or session fixation attacks. In a typical BFF deployment scenario, there is no reason to use more relaxed cookie security settings. Deviating from these settings requires proper motivation for the deployment scenario at hand.</t>
            <t>Additionally, when using client-side sessions that contain access tokens, (as opposed to server-side sessions where the tokens only live on the server), the BFF SHOULD encrypt its cookie contents. While the use of cookie encryption does not affect the security properties of the BFF pattern, it does ensure that tokens stored in cookies are never written to the user's hard drive in plaintext format. This security measure helps ensure the  confidentiality of the tokens in case an attacker is able to read cookies from the hard drive. Such an attack can be launched through malware running on the victim's computer. Note that while encrypting the cookie contents prevents direct access to embedded tokens, it still allows the attacker to use the encrypted cookie in a session hijacking attack.</t>
            <t>For further guidance on cookie security best practices, we refer to the OWASP Cheat Sheet series (<xref target="OWASPCheatSheet"/>).</t>
          </section>
          <section anchor="pattern-bff-csrf">
            <name>Cross-Site Request Forgery Protections</name>
            <t>The interactions between the JavaScript application and the BFF rely on cookies for authentication and authorization. Similar to other cookie-based interactions, the BFF is required to account for Cross-Site Request Forgery (CSRF) attacks. A successful CSRF attack could transform the BFF into a confused deputy, allowing the attacker's request to the BFF to trigger outgoing calls to a protected resource on behalf of the user.</t>
            <t>The BFF MUST implement a proper CSRF defense. The exact mechanism or combination of mechanisms depends on the exact domain where the BFF is deployed, as discussed below.</t>
            <section anchor="samesite-cookie-attribute">
              <name>SameSite Cookie Attribute</name>
              <t>Configuring the cookies with the <em>SameSite=Strict</em> attribute (See <xref target="pattern-bff-cookie-security"/>) ensures that the BFF's cookies are only included on same-site requests, and not on potentially malicious cross-site requests.</t>
              <t>This defense is adequate if the BFF is never considered to be same-site with any other applications. However, it falls short when the BFF is hosted alongside other applications within the same site, defined as the eTLD+1 (See this definition of <xref target="Site"/> for more details).</t>
              <t>For example, subdomains, such as  <tt>https://a.example.com</tt> and <tt>https://b.example.com</tt>, are considered same-site, since they share the same site <tt>example.com</tt>. They are considered cross-origin, since origins consist of the tuple <em>&lt;scheme, hostname, port&gt;</em>. As a result, a subdomain takeover attack against <tt>b.example.com</tt> can enable CSRF attacks against the BFF of <tt>a.example.com</tt>. Note that these subdomain-based attacks follow the same pattern as CSRF attacks, but with cross-origin nature instead of a cross-site nature.</t>
            </section>
            <section anchor="cors">
              <name>Cross-Origin Resource Sharing</name>
              <t>The BFF can rely on CORS as a CSRF defense mechanism. CORS is a security mechanism implemented by browsers that restricts cross-origin JavaScript-based requests, unless the server explicitly approves such a request by setting the proper CORS headers.</t>
              <t>Browsers typically restrict cross-origin HTTP requests initiated from scripts. CORS can remove this restriction if the target server approves the request, which is checked through an initial "preflight" request. Unless the preflight response explicitly approves the request, the browser will refuse to send the full request.</t>
              <t>Because of this property, the BFF can rely on CORS as a CSRF defense. When the attacker tries to launch a cross-origin request to the BFF from the user's browser, the BFF will not approve the request in the preflight response, causing the browser to block the actual request. Note that the attacker can always launch the request from their own machine, but then the request will not carry the user's cookies, so the attack will fail.</t>
              <t>When relying on CORS as a CSRF defense, it is important to realize that certain requests are possible without a preflight. For such requests, named "CORS-safelisted Requests", the browser will simply send the request and prevent access to the response if the server did not send the proper CORS headers. This behavior is enforced for requests that can be triggered via other means than JavaScript, such as a GET request or a form-based POST request.</t>
              <t>The consequence of this behavior is that certain endpoints of the resource server could become vulnerable to CSRF, even with CORS enabled as a defense. For example, if the resource server is an API that exposes an endpoint to a body-less POST request, there will be no preflight request and no CSRF defense.</t>
              <t>To avoid such bypasses against the CORS policy, the BFF SHOULD require that the JavaScript application includes a custom request header. Cross-origin requests with a custom request header always require a preflight, which makes CORS an effective CSRF defense. When this mechanism is used, the BFF MUST ensure that every incoming request carries this static header. The exact naming of this header is at the discretion of the JavaScript application and BFF. A sample configuration would be a request header with a static value, such as <tt>My-Static-Header: 1</tt>.</t>
              <t>It is also possible to deploy the JavaScript application on the same origin as the BFF. This ensures that legitimate interactions between the frontend and the BFF do not require any preflights, so there's no additional overhead.</t>
            </section>
            <section anchor="use-anti-forgerydouble-submit-cookies">
              <name>Use anti-forgery/double submit cookies</name>
              <t>Some technology stacks and frameworks have built-in CRSF protection using anti-forgery cookies. This mechanism relies on a session-specific secret that is stored in a cookie, which can only be read by the legitimate frontend running in the domain associated with the cookie. The frontend is expected to read the cookie and insert its value into the request, typically by adding a custom request header. The backend verifies the value in the cookie to the value provided by the frontend to identify legitimate requests. When implemented correctly for all state-changing requests, this mechanism effectively mitigates CSRF.</t>
              <t>Note that this mechanism is not necessarily recommended over the CORS approach. However, if a framework offers built-in support for this mechanism, it can serve as a low-effort alternative to protect against CSRF.</t>
            </section>
            <section anchor="privacy-considerations-in-the-bff-architecture">
              <name>Privacy considerations in the BFF architecture</name>
              <t>The BFF pattern requires that the JavaScript application proxies all requests to a resource server through a backend BFF component. As a consequence, the BFF component is able to observe all requests and responses between a JavaScript application and a resource server, which can have a considerable privacy impact.</t>
              <t>When the JavaScript application and BFF are built and deployed by the same party, the privacy impact is likely minimal. However, when this pattern is implemented using a BFF component that is provided or hosted by a third party, this privacy impact needs to be taken into account.</t>
            </section>
          </section>
          <section anchor="pattern-bff-proxy">
            <name>Proxy Restrictions</name>
            <t>The BFF acts as a proxy by accepting requests from the frontend and forwarding them to the resource server. The inbound request carries a cookie, which the BFF translates into an access token on the outbound request. Apart from CSRF attacks, attackers may attempt to manipulate the BFF into forwarding requests to unintended hosts. If an attacker successfully exploits this, they could redirect the BFF to an arbitrary server, potentially exposing the user's access token.</t>
            <t>To mitigate this risk, the BFF MUST enforce strict outbound request controls by validating destination hosts before forwarding requests. This requires maintaining an explicit allowlist of approved resource servers, ensuring that requests are only proxied to predefined backends (e.g., <tt>/bff/orders/create maps</tt> exclusively to <tt>https://order-api.example.com/create</tt>). If dynamic routing based on paths (e.g., <tt>/bff/orders/{id}</tt>) is necessary, the BFF MUST apply strict validation to ensure that only authorized destinations are accessible. Additionally, restricting the allowed HTTP methods on a per-endpoint basis can further reduce attack vectors.</t>
            <t>When implementing a dynamically configurable proxy, the BFF MUST ensure that it only allows requests to explicitly permitted hosts and paths. Failure to enforce these restrictions can lead to unauthorized access and access token leakage.</t>
          </section>
          <section anchor="advanced-security">
            <name>Advanced Security</name>
            <t>In the BFF pattern, all OAuth responsibilities have been moved to the BFF, a server-side component acting as a confidential client. Since server-side applications run in a more controlled environment than browser-based applications, it becomes easier to adopt advanced OAuth security practices. Examples include key-based client authentication and sender-constrained tokens.</t>
          </section>
        </section>
        <section anchor="threat-analysis">
          <name>Threat Analysis</name>
          <t>This section revisits the attack scenarios and consequences from <xref target="threats"/>, and discusses potential additional defenses.</t>
          <section anchor="attack-scenarios-and-consequences">
            <name>Attack Scenarios and Consequences</name>
            <t>If the attacker has the ability to execute malicious JavaScript code in the application's execution context, the following attack scenarios become relevant:</t>
            <ul spacing="normal">
              <li>
                <t>Proxying Requests via the User's Browser (<xref target="scenario-proxy"/>)</t>
              </li>
            </ul>
            <t>Note that this attack scenario results in the following consequences:</t>
            <ul spacing="normal">
              <li>
                <t>Client Hijacking (<xref target="consequence-hijack"/>)</t>
              </li>
            </ul>
            <t>Note that client hijacking is an attack scenario that is inherent to the nature of browser-based applications. As a result, nothing will be able to prevent such attacks apart from stopping the execution of malicious JavaScript code in the first place. Techniques that can help to achieve this are following secure coding guidelines, code analysis, and deploying defense-in-depth mechanisms such as Content Security Policy (<xref target="W3C.CSP3"/>).</t>
            <t>In this architecture, the BFF is a key component handling various security-specific responsibilities and proxy-based behavior. While it is out of the scope of this document to discuss a secure implementation of proxy-based applications, it is crucial to note that security vulnerabilities in the BFF can have a significant impact on the application.</t>
            <t>Finally, the BFF is uniquely placed to observe all traffic between the JavaScript application and the resource servers. If a high-security application would prefer to implement anomaly detection or rate limiting, such a BFF would be the ideal place to do so. Such restrictions can further help to mitigate the consequences of client hijacking.</t>
          </section>
          <section anchor="mitigated-attack-scenarios">
            <name>Mitigated Attack Scenarios</name>
            <t>The other attack scenarios, listed below, are effectively mitigated by the BFF application architecture:</t>
            <ul spacing="normal">
              <li>
                <t>Single-Execution Token Theft (<xref target="scenario-single-theft"/>)</t>
              </li>
              <li>
                <t>Persistent Token Theft (<xref target="scenario-persistent-theft"/>)</t>
              </li>
              <li>
                <t>Acquisition and Extraction of New Tokens (<xref target="scenario-new-flow"/>)</t>
              </li>
            </ul>
            <t>The BFF counters the first two attack scenarios by not exposing any tokens to the browser-based application. Even when the attacker gains full control over the JavaScript application, there are simply no tokens to be stolen.</t>
            <t>The third scenario, where the attacker obtains a fresh access token (and optionally refresh token) by running a silent flow, is mitigated by making the BFF a confidential client. Even when the attacker manages to obtain an authorization code, they are prevented from exchanging this code due to the lack of client credentials. Additionally, the use of PKCE prevents other attacks against the authorization code.</t>
            <t>Since refresh and access tokens are managed by the BFF and not exposed to the browser, the following two consequences of potential attacks become irrelevant:</t>
            <ul spacing="normal">
              <li>
                <t>Exploiting Stolen Refresh Tokens (See <xref target="consequence-rt"/>)</t>
              </li>
              <li>
                <t>Exploiting Stolen Access Tokens (See <xref target="consequence-at"/>)</t>
              </li>
            </ul>
          </section>
          <section anchor="summary">
            <name>Summary</name>
            <t>The architecture of a BFF is significantly more complicated than a browser-only application. It requires deploying and operating a server-side BFF component. Additionally, this pattern requires all interactions between the JavaScript application and the resource servers to be proxied by the BFF. Depending on the deployment pattern, this proxy behavior can add a significant burden on the server-side components. See <xref target="practical-deployment-scenarios"/> for additional notes if the BFF is acting as the resource server.</t>
            <t>However, because of the nature of the BFF architecture pattern, it offers strong security guarantees. Using a BFF also ensures that the application's attack surface does not increase by using OAuth. The only viable attack pattern is hijacking the client application in the user's browser, a problem inherent to web applications.</t>
            <t>This architecture is strongly recommended for business applications, sensitive applications, and applications that handle personal data.</t>
          </section>
        </section>
      </section>
      <section anchor="pattern-tmb">
        <name>Token-Mediating Backend</name>
        <t>This section describes the architecture of a JavaScript application that relies on a backend component to handle OAuth responsibilities for obtaining tokens as a confidential client. The backend component then provides the JavaScript application with the access token to directly interact with resource servers.</t>
        <t>The token-mediating backend pattern is more lightweight than the BFF pattern (See <xref target="pattern-bff"/>), since it does not require the proxying of all requests and responses between the JavaScript application and the resource server. From a security perspective, the token-mediating backend is less secure than a BFF, but still offers significant advantages over an OAuth client application running directly in the browser.</t>
        <t>If an attacker is able to execute malicious code within the JavaScript application, the application architecture is able to prevent the attacker from abusing refresh tokens (Single-Execution Token Theft (<xref target="scenario-single-theft"/>) and Persistent Token Theft (<xref target="scenario-persistent-theft"/>)) or obtaining a fresh set of tokens (Acquisition and Extraction of New Tokens (<xref target="scenario-new-flow"/>)). However, since the access token is directly exposed to the JavaScript application, the attacker can steal the token from client-side storage (Single-Execution Token Theft (<xref target="scenario-single-theft"/>) and Persistent Token Theft (<xref target="scenario-persistent-theft"/>)), or request a fresh token from the token-mediating backend (Proxying Requests via the User's Browser (<xref target="scenario-proxy"/>)). Note that the use of HttpOnly cookies prevents the attacker from directly accessing the session state, which prevents the escalation from access token theft to session hijacking.</t>
        <section anchor="application-architecture-1">
          <name>Application Architecture</name>
          <figure anchor="fig-bbapp-pattern-tmb">
            <name>OAuth 2.0 TMB Pattern</name>
            <artset>
              <artwork type="svg"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="448" width="576" viewBox="0 0 576 448" class="diagram" text-anchor="middle" font-family="monospace" font-size="13px" stroke-linecap="round">
                  <path d="M 8,368 L 8,432" fill="none" stroke="black"/>
                  <path d="M 152,368 L 152,432" fill="none" stroke="black"/>
                  <path d="M 184,32 L 184,112" fill="none" stroke="black"/>
                  <path d="M 232,368 L 232,432" fill="none" stroke="black"/>
                  <path d="M 256,144 L 256,336" fill="none" stroke="black"/>
                  <path d="M 288,208 L 288,272" fill="none" stroke="black"/>
                  <path d="M 312,32 L 312,112" fill="none" stroke="black"/>
                  <path d="M 320,304 L 320,336" fill="none" stroke="black"/>
                  <path d="M 368,32 L 368,112" fill="none" stroke="black"/>
                  <path d="M 368,304 L 368,336" fill="none" stroke="black"/>
                  <path d="M 416,144 L 416,176" fill="none" stroke="black"/>
                  <path d="M 416,304 L 416,336" fill="none" stroke="black"/>
                  <path d="M 456,32 L 456,112" fill="none" stroke="black"/>
                  <path d="M 464,304 L 464,336" fill="none" stroke="black"/>
                  <path d="M 480,32 L 480,112" fill="none" stroke="black"/>
                  <path d="M 512,208 L 512,272" fill="none" stroke="black"/>
                  <path d="M 536,144 L 536,336" fill="none" stroke="black"/>
                  <path d="M 568,32 L 568,112" fill="none" stroke="black"/>
                  <path d="M 568,368 L 568,432" fill="none" stroke="black"/>
                  <path d="M 184,32 L 312,32" fill="none" stroke="black"/>
                  <path d="M 368,32 L 456,32" fill="none" stroke="black"/>
                  <path d="M 480,32 L 568,32" fill="none" stroke="black"/>
                  <path d="M 184,112 L 312,112" fill="none" stroke="black"/>
                  <path d="M 368,112 L 456,112" fill="none" stroke="black"/>
                  <path d="M 480,112 L 568,112" fill="none" stroke="black"/>
                  <path d="M 288,208 L 512,208" fill="none" stroke="black"/>
                  <path d="M 288,272 L 512,272" fill="none" stroke="black"/>
                  <path d="M 8,368 L 152,368" fill="none" stroke="black"/>
                  <path d="M 232,368 L 568,368" fill="none" stroke="black"/>
                  <path d="M 168,400 L 216,400" fill="none" stroke="black"/>
                  <path d="M 8,432 L 152,432" fill="none" stroke="black"/>
                  <path d="M 232,432 L 568,432" fill="none" stroke="black"/>
                  <polygon class="arrowhead" points="544,336 532,330.4 532,341.6" fill="black" transform="rotate(90,536,336)"/>
                  <polygon class="arrowhead" points="544,144 532,138.4 532,149.6" fill="black" transform="rotate(270,536,144)"/>
                  <polygon class="arrowhead" points="472,336 460,330.4 460,341.6" fill="black" transform="rotate(90,464,336)"/>
                  <polygon class="arrowhead" points="424,304 412,298.4 412,309.6" fill="black" transform="rotate(270,416,304)"/>
                  <polygon class="arrowhead" points="424,176 412,170.4 412,181.6" fill="black" transform="rotate(90,416,176)"/>
                  <polygon class="arrowhead" points="424,144 412,138.4 412,149.6" fill="black" transform="rotate(270,416,144)"/>
                  <polygon class="arrowhead" points="376,336 364,330.4 364,341.6" fill="black" transform="rotate(90,368,336)"/>
                  <polygon class="arrowhead" points="376,304 364,298.4 364,309.6" fill="black" transform="rotate(270,368,304)"/>
                  <polygon class="arrowhead" points="328,336 316,330.4 316,341.6" fill="black" transform="rotate(90,320,336)"/>
                  <polygon class="arrowhead" points="328,304 316,298.4 316,309.6" fill="black" transform="rotate(270,320,304)"/>
                  <polygon class="arrowhead" points="264,336 252,330.4 252,341.6" fill="black" transform="rotate(90,256,336)"/>
                  <polygon class="arrowhead" points="264,144 252,138.4 252,149.6" fill="black" transform="rotate(270,256,144)"/>
                  <polygon class="arrowhead" points="224,400 212,394.4 212,405.6" fill="black" transform="rotate(0,216,400)"/>
                  <g class="text">
                    <text x="248" y="68">Authorization</text>
                    <text x="408" y="68">Token</text>
                    <text x="524" y="68">Resource</text>
                    <text x="244" y="84">Endpoint</text>
                    <text x="412" y="84">Endpoint</text>
                    <text x="524" y="84">Server</text>
                    <text x="400" y="164">(F)</text>
                    <text x="368" y="244">Token-Mediating</text>
                    <text x="464" y="244">Backend</text>
                    <text x="552" y="244">(J)</text>
                    <text x="240" y="260">(D)</text>
                    <text x="296" y="324">(B,I)</text>
                    <text x="352" y="324">(C)</text>
                    <text x="400" y="324">(E)</text>
                    <text x="448" y="324">(G)</text>
                    <text x="192" y="388">(A,H)</text>
                    <text x="44" y="404">Static</text>
                    <text x="88" y="404">Web</text>
                    <text x="124" y="404">Host</text>
                    <text x="400" y="404">Browser</text>
                  </g>
                </svg>
              </artwork>
              <artwork type="ascii-art"><![CDATA[
                      +---------------+      +----------+  +----------+
                      |               |      |          |  |          |
                      | Authorization |      |  Token   |  | Resource |
                      |   Endpoint    |      | Endpoint |  |  Server  |
                      |               |      |          |  |          |
                      +---------------+      +----------+  +----------+

                               ^                   ^              ^
                               |                (F)|              |
                               |                   v              |
                               |                                  |
                               |   +---------------------------+  |
                               |   |                           |  |
                               |   |  Token-Mediating Backend  |  |(J)
                            (D)|   |                           |  |
                               |   +---------------------------+  |
                               |                                  |
                               |       ^     ^     ^     +        |
                               |  (B,I)|  (C)|  (E)|  (G)|        |
                               v       v     v     +     v        v

+-----------------+         +-----------------------------------------+
|                 |  (A,H)  |                                         |
| Static Web Host | +-----> |                 Browser                 |
|                 |         |                                         |
+-----------------+         +-----------------------------------------+
]]></artwork>
            </artset>
          </figure>
          <t>In this architecture, the JavaScript code is first loaded from a static web host into the browser (A), and the application then runs in the browser. The application checks with the token-mediating backend if there is an active session (B). If an active session is found, the application receives the corresponding access token, resumes its authenticated state, and skips forward to step J.</t>
          <t>When no active session is found, the JavaScript application triggers a navigation to the token-mediating backend (C) to initiate the Authorization Code flow with the PKCE extension (described in <xref target="pattern-tmb-flow"/>), to which the token-mediating backend responds by redirecting the browser to the authorization endpoint (D). When the user is redirected back, the browser delivers the authorization code to the token-mediating backend (E), where the token-mediating backend can then exchange it for tokens at the token endpoint (F) using its client credentials and PKCE code verifier.</t>
          <t>The token-mediating backend associates the obtained tokens with the user's session (See <xref target="pattern-tmb-sessions"/>) and sets a cookie in the response to keep track of this session (G). This response to the browser will also trigger the reloading of the JavaScript application (H). When this application reloads, it will check with the token-mediating backend for an existing session (I), allowing the JavaScript application to resume its authenticated state and obtain the access token from the token-mediating backend.</t>
          <t>The JavaScript application in the browser can use the access token obtained in step I to directly make requests to the resource server (J).</t>
        </section>
        <section anchor="implementation-details-1">
          <name>Implementation Details</name>
          <section anchor="session-and-oauth-endpoints">
            <name>Session and OAuth Endpoints</name>
            <t>Most of the endpoint implementations of the token-mediating backend are similar to those described for a BFF.</t>
            <ul spacing="normal">
              <li>
                <t>The "check session" endpoint (Steps B and I in the diagram above) is an API endpoint called by the browser-based application. The request will carry session information when available, allowing the backend to check for an active session. The response should indicate to the browser-based application whether the session is active. If an active session is found, the backend includes the access token in the response. Additionally, the backend can include other information, such as identity information about the authenticated user.</t>
              </li>
              <li>
                <t>The endpoint that initiates the Authorization Code flow (step C) is identical to the endpoint described for the BFF architecture. See section <xref target="bff_endpoints"/> for more details.</t>
              </li>
              <li>
                <t>The endpoint that receives the authorization code (step E) is identical to the endpoint described for the BFF architecture. See section <xref target="bff_endpoints"/> for more details.</t>
              </li>
              <li>
                <t>The endpoint that supports logout is identical to the endpoint described for the BFF architecture. See section <xref target="bff_endpoints"/> for more details.</t>
              </li>
            </ul>
          </section>
          <section anchor="refresh-tokens-1">
            <name>Refresh Tokens</name>
            <t>When using refresh tokens, as described in <xref section="4.14" sectionFormat="of" target="RFC9700"/>, the token-mediating backend obtains the refresh token in step F and associates it with the user's session.</t>
            <t>If the resource server rejects the access token, the JavaScript application can contact the token-mediating backend to request a new access token. The token-mediating backend relies on the cookies associated with this request to look up the user's refresh token, and makes a token request using the refresh token. These steps are not shown in the diagram. Note that this Refresh Token request is from the backend, a confidential client, and thus requires client authentication.</t>
            <t>When the refresh token expires, there is no way to obtain a valid access token without starting an entirely new Authorization Code grant. Therefore, it makes sense to configure the lifetime of the cookie-based session to be equal to the maximum lifetime of the refresh token if such information is known upfront. Additionally, when the token-mediating backend learns that a refresh token for an active session is no longer valid, it makes sense to invalidate the session.</t>
          </section>
          <section anchor="access-token-scopes">
            <name>Access Token Scopes</name>
            <t>Depending on the resource servers being accessed and the configuration of scopes at the authorization server, the JavaScript application may wish to request access tokens with different scope configurations. This behavior would allow the JavaScript application to follow the best practice of using minimally-scoped access tokens.</t>
            <t>The JavaScript application can inform the token-mediating backend of the desired scopes when it checks for the active session (Step A/I). It is up to the token-mediating backend to decide if previously obtained access tokens fall within the desired scope criteria.</t>
            <t>It should be noted that this access token caching mechanism at the token-mediating backend can cause scope elevation risks when applied indiscriminately. If the cached access token features a superset of the scopes requested by the frontend, the token-mediating backend SHOULD NOT return it to the frontend; instead, it SHOULD use the refresh token to request an access token with the smaller set of scopes from the authorization server. Note that support of such an access token downscoping mechanism is at the discretion of the authorization server.</t>
            <t>The token-mediating backend can use a similar mechanism to downscoping when relying on <xref target="RFC8707"/> to obtain access token for a specific resource server.</t>
          </section>
          <section anchor="pattern-tmb-sessions">
            <name>Cookie-based Session Management</name>
            <t>Similar to the BFF, the token-mediating backend relies on browser cookies to keep track of the user's session. The same implementation guidelines and security considerations as for a BFF apply, as discussed in <xref target="pattern-bff-sessions"/>.</t>
          </section>
          <section anchor="combining-oauth-and-openid-connect">
            <name>Combining OAuth and OpenID Connect</name>
            <t>Similar to a BFF, the token-mediating backend can choose to combine OAuth and OpenID Connect in a single flow. See <xref target="pattern-bff-oidc"/> for more details.</t>
          </section>
          <section anchor="practical-deployment-scenarios">
            <name>Practical Deployment Scenarios</name>
            <t>Serving the static JavaScript code is a separate responsibility from handling interactions with the authorization server. In the diagram presented above, the token-mediating backend and static web host are shown as two separate entities. In real-world deployment scenarios, these components can be deployed as a single service (i.e., the token-mediating backend serving the static JS code), as two separate services (i.e., a CDN and a token-mediating backend), or as two components in a single service (i.e., static hosting and serverless functions on a cloud platform). These deployment differences do not affect the relationships described in this pattern, but may impact other practicalities, such as the need to properly configure CORS to enable cross-origin communication.</t>
          </section>
        </section>
        <section anchor="security-considerations-1">
          <name>Security Considerations</name>
          <section anchor="pattern-tmb-flow">
            <name>The Authorization Code Grant</name>
            <t>The main benefit of using a token-mediating backend is the backend's ability to act as a confidential client. Therefore, the token-mediating backend MUST act as a confidential client. Furthermore, the token-mediating backend MUST use the OAuth 2.0 Authorization Code grant as described in <xref section="2.1.1" sectionFormat="of" target="RFC9700"/> to initiate a request for an access token.</t>
          </section>
          <section anchor="pattern-bmf-cookie-security">
            <name>Cookie Security</name>
            <t>The token-mediating backend uses cookies to create a user session, which is directly associated with the user's tokens, either through server-side or client-side session state. The same cookie security guidelines as for a BFF apply, as discussed in <xref target="pattern-bff-cookie-security"/>.</t>
          </section>
          <section anchor="pattern-bmf-csrf">
            <name>Cross-Site Request Forgery Protections</name>
            <t>The interactions between the JavaScript application and the token-mediating backend rely on cookies for authentication and authorization. Just like a BFF, the token-mediating backend is required to account for Cross-Site Request Forgery (CSRF) attacks.</t>
            <t><xref target="pattern-bff-csrf"/> outlines the nuances of various mitigation strategies against CSRF attacks. Specifically for a token-mediating backend, these CSRF defenses only apply to the endpoint or endpoints where the JavaScript application can obtain its access tokens.</t>
          </section>
          <section anchor="advanced-oauth-security">
            <name>Advanced OAuth Security</name>
            <t>The token-mediating backend is a confidential client running as a server-side component. The token-mediating backend can adopt security best practices for confidential clients, such as key-based client authentication.</t>
          </section>
        </section>
        <section anchor="threat-analysis-1">
          <name>Threat Analysis</name>
          <t>This section revisits the attack scenarios and consequences from <xref target="threats"/>, and discusses potential additional defenses.</t>
          <section anchor="attack-scenarios-and-consequences-1">
            <name>Attack Scenarios and Consequences</name>
            <t>If the attacker has the ability to execute malicious JavaScript code in the application's execution context, the following attack scenarios become relevant:</t>
            <ul spacing="normal">
              <li>
                <t>Single-Execution Token Theft (<xref target="scenario-single-theft"/>) for access tokens</t>
              </li>
              <li>
                <t>Persistent Token Theft (<xref target="scenario-persistent-theft"/>) for access tokens</t>
              </li>
              <li>
                <t>Proxying Requests via the User's Browser (<xref target="scenario-proxy"/>)</t>
              </li>
            </ul>
            <t>Note that these attack scenarios result in the following consequences:</t>
            <ul spacing="normal">
              <li>
                <t>Exploiting Stolen Access Tokens (<xref target="consequence-at"/>)</t>
              </li>
              <li>
                <t>Client Hijacking (<xref target="consequence-hijack"/>)</t>
              </li>
            </ul>
            <t>Exposing the access token to the JavaScript application is the core idea behind the architecture pattern of the token-mediating backend. As a result, the access token becomes vulnerable to token theft by malicious JavaScript.</t>
          </section>
          <section anchor="mitigated-attack-scenarios-1">
            <name>Mitigated Attack Scenarios</name>
            <t>The other attack scenarios, listed below, are effectively mitigated by the token-mediating backend:</t>
            <ul spacing="normal">
              <li>
                <t>Single-Execution Token Theft (<xref target="scenario-single-theft"/>) for refresh tokens</t>
              </li>
              <li>
                <t>Persistent Token Theft (<xref target="scenario-persistent-theft"/>) for refresh tokens</t>
              </li>
              <li>
                <t>Acquisition and Extraction of New Tokens (<xref target="scenario-new-flow"/>)</t>
              </li>
            </ul>
            <t>The token-mediating backend counters the first two attack scenarios by not exposing the refresh token to the browser-based application. Even when the attacker gains full control over the JavaScript application, there are simply no refresh tokens to be stolen.</t>
            <t>The third scenario, where the attacker obtains a fresh access token (and optionally refresh token) by running a silent flow, is mitigated by making the token-mediating backend a confidential client. Even when the attacker manages to obtain an authorization code, they are prevented from exchanging this code due to the lack of client credentials.  Additionally, the use of PKCE prevents other attacks against the authorization code.</t>
            <t>Because of the nature of the token-mediating backend, the following consequences of potential attacks become irrelevant:</t>
            <ul spacing="normal">
              <li>
                <t>Exploiting Stolen Refresh Tokens (See <xref target="consequence-rt"/>)</t>
              </li>
            </ul>
          </section>
          <section anchor="additional-defenses">
            <name>Additional Defenses</name>
            <t>While this architecture inherently exposes access tokens, there are some additional defenses that can help to increase the security posture of the application.</t>
            <section anchor="secure-token-storage">
              <name>Secure Token Storage</name>
              <t>Given the nature of the token-mediating backend pattern, there is no need for persistent token storage in the browser. When needed, the application can always use its cookie-based session to obtain an access token from the token-mediating backend. <xref target="token-storage"/> provides more details on the security properties of various storage mechanisms in the browser.</t>
              <t>Be aware that even when the access token is stored out of reach of malicious JavaScript code, the malicious code can still mimic the legitimate application and send a request to the token-mediation backend to obtain the latest access token.</t>
            </section>
            <section anchor="using-sender-constrained-tokens">
              <name>Using Sender-Constrained Tokens</name>
              <t>Using sender-constrained access tokens is not trivial in this architecture. The token-mediating backend is responsible for exchanging an authorization code or refresh token for an access token, but the JavaScript application will use the access token. Using a mechanism such as DPoP <xref target="RFC9449"/> would require splitting responsibilities over two parties, which is not a scenario defined by the specification. Use of DPoP in such a scenario is out of the scope of this document.</t>
            </section>
          </section>
          <section anchor="summary-1">
            <name>Summary</name>
            <t>The architecture of a token-mediating backend is more complicated than a browser-only application, but less complicated than running a proxying BFF. Similar to complexity, the security properties offered by the token-mediating backend lie somewhere between using a BFF and running a browser-only application.</t>
            <t>A token-mediating backend addresses typical scenarios that grant the attacker long-term access on behalf of the user. However, due to the consequence of access token theft, the attacker still has the ability to gain direct access to resource servers.</t>
            <t>When considering a token-mediating backend architecture, it is strongly recommended to evaluate if adopting a full BFF as discussed in <xref target="pattern-bff"/> is a viable alternative. Only when the use cases or system requirements would prevent the use of a proxying BFF should the token-mediating backend be considered over a full BFF.</t>
          </section>
        </section>
      </section>
      <section anchor="pattern-oauth-browser">
        <name>Browser-based OAuth 2.0 client</name>
        <t>This section describes the architecture of a JavaScript application that acts as the OAuth client, handling all OAuth responsibilities in the browser. As a result, the browser-based application obtains tokens from the authorization server, without the involvement of a backend component.</t>
        <t>If an attacker is able to execute malicious JavaScript code, this application architecture is vulnerable to all attack scenarios discussed earlier (<xref target="attackscenarios"/>). In essence, the attacker will be able to obtain access tokens and refresh tokens from the authorization server, potentially giving them long-term access to protected resources on behalf of the user.</t>
        <section anchor="application-architecture-2">
          <name>Application Architecture</name>
          <figure anchor="fig-bbapp-pattern-standalone">
            <name>Browser-based OAuth 2.0 Client Pattern</name>
            <artset>
              <artwork type="svg"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="336" width="520" viewBox="0 0 520 336" class="diagram" text-anchor="middle" font-family="monospace" font-size="13px" stroke-linecap="round">
                  <path d="M 8,256 L 8,320" fill="none" stroke="black"/>
                  <path d="M 152,256 L 152,320" fill="none" stroke="black"/>
                  <path d="M 184,32 L 184,112" fill="none" stroke="black"/>
                  <path d="M 232,256 L 232,320" fill="none" stroke="black"/>
                  <path d="M 240,144 L 240,224" fill="none" stroke="black"/>
                  <path d="M 288,144 L 288,224" fill="none" stroke="black"/>
                  <path d="M 312,32 L 312,112" fill="none" stroke="black"/>
                  <path d="M 392,32 L 392,112" fill="none" stroke="black"/>
                  <path d="M 432,144 L 432,224" fill="none" stroke="black"/>
                  <path d="M 480,144 L 480,224" fill="none" stroke="black"/>
                  <path d="M 488,256 L 488,320" fill="none" stroke="black"/>
                  <path d="M 512,32 L 512,112" fill="none" stroke="black"/>
                  <path d="M 184,32 L 312,32" fill="none" stroke="black"/>
                  <path d="M 392,32 L 512,32" fill="none" stroke="black"/>
                  <path d="M 184,112 L 312,112" fill="none" stroke="black"/>
                  <path d="M 392,112 L 512,112" fill="none" stroke="black"/>
                  <path d="M 8,256 L 152,256" fill="none" stroke="black"/>
                  <path d="M 232,256 L 488,256" fill="none" stroke="black"/>
                  <path d="M 168,288 L 216,288" fill="none" stroke="black"/>
                  <path d="M 8,320 L 152,320" fill="none" stroke="black"/>
                  <path d="M 232,320 L 488,320" fill="none" stroke="black"/>
                  <polygon class="arrowhead" points="488,224 476,218.4 476,229.6" fill="black" transform="rotate(90,480,224)"/>
                  <polygon class="arrowhead" points="440,144 428,138.4 428,149.6" fill="black" transform="rotate(270,432,144)"/>
                  <polygon class="arrowhead" points="296,224 284,218.4 284,229.6" fill="black" transform="rotate(90,288,224)"/>
                  <polygon class="arrowhead" points="296,144 284,138.4 284,149.6" fill="black" transform="rotate(270,288,144)"/>
                  <polygon class="arrowhead" points="248,144 236,138.4 236,149.6" fill="black" transform="rotate(270,240,144)"/>
                  <polygon class="arrowhead" points="224,288 212,282.4 212,293.6" fill="black" transform="rotate(0,216,288)"/>
                  <g class="text">
                    <text x="248" y="68">Authorization</text>
                    <text x="452" y="68">Resource</text>
                    <text x="244" y="84">Server</text>
                    <text x="452" y="84">Server</text>
                    <text x="256" y="180">(B)</text>
                    <text x="304" y="180">(C)</text>
                    <text x="448" y="180">(D)</text>
                    <text x="496" y="180">(E)</text>
                    <text x="192" y="276">(A)</text>
                    <text x="44" y="292">Static</text>
                    <text x="88" y="292">Web</text>
                    <text x="124" y="292">Host</text>
                    <text x="352" y="292">Browser</text>
                  </g>
                </svg>
              </artwork>
              <artwork type="ascii-art"><![CDATA[
                      +---------------+         +--------------+
                      |               |         |              |
                      | Authorization |         |   Resource   |
                      |    Server     |         |    Server    |
                      |               |         |              |
                      +---------------+         +--------------+

                             ^     ^                 ^     +
                             |     |                 |     |
                             |(B)  |(C)              |(D)  |(E)
                             |     |                 |     |
                             |     |                 |     |
                             +     v                 +     v

+-----------------+         +-------------------------------+
|                 |   (A)   |                               |
| Static Web Host | +-----> |           Browser             |
|                 |         |                               |
+-----------------+         +-------------------------------+
]]></artwork>
            </artset>
          </figure>
          <t>In this architecture, the JavaScript code is first loaded from a static web host into
the browser (A), and the application then runs in the browser. In this scenario, the browser-based application is considered a public
client, which does not possess client credentials to authenticate to the authorization server.</t>
          <t>The application obtains an authorization code (B) by initiating the Authorization Code flow with the PKCE
extension (described in <xref target="pattern-oauth-browser-flow"/>). The application exchanges the authorization code for tokens via a JavaScript-based POST request to the token endpoint (C).</t>
          <t>The application is then responsible for storing
the access token and optional refresh token as securely as possible using appropriate browser APIs, described in <xref target="token-storage"/>.</t>
          <t>When the JavaScript application in the browser wants to make a request to the resource server,
it can interact with the resource server directly. The application includes the access token in the request (D)
and receives the resource server's response (E).</t>
        </section>
        <section anchor="implementation-details-2">
          <name>Implementation Details</name>
          <t>Browser-based applications that are public clients and use the Authorization Code grant type described in
<xref section="4.1" sectionFormat="of" target="RFC6749"/> MUST also follow these additional requirements
described in this section.</t>
          <section anchor="pattern-oauth-browser-flow">
            <name>The Authorization Code Grant</name>
            <t>Browser-based applications that are public clients MUST implement the Proof Key for Code Exchange
(PKCE <xref target="RFC7636"/>) extension when obtaining an access token, and authorization servers MUST support and enforce
PKCE for such clients.</t>
            <t>The PKCE extension prevents an attack where the authorization code is intercepted
and exchanged for an access token by a malicious client, by providing the
authorization server with a way to verify the client instance that exchanges
the authorization code is the same one that initiated the flow.</t>
          </section>
          <section anchor="pattern-oauth-browser-csrf">
            <name>Cross-Site Request Forgery Protections</name>
            <t>Browser-based applications MUST prevent CSRF attacks against their redirect URI. This can be
accomplished by any of the below:</t>
            <ul spacing="normal">
              <li>
                <t>configuring the authorization server to require PKCE for this client</t>
              </li>
              <li>
                <t>using and verifying unique value for the OAuth <tt>state</tt> parameter to carry a CSRF token</t>
              </li>
              <li>
                <t>if the application is also using OpenID Connect, by using and verifying the OpenID Connect <tt>nonce</tt> parameter as described in <xref target="OpenID"/></t>
              </li>
            </ul>
            <t>See <xref section="2.1" sectionFormat="of" target="RFC9700"/> for additional details on selecting a proper CSRF defense for the Authorization Code flow.</t>
          </section>
          <section anchor="pattern-oauth-browser-rt">
            <name>Refresh Tokens</name>
            <t>For browser-based clients, the refresh token is typically a bearer token, unless the application explicitly uses DPoP <xref target="RFC9449"/>. As a result, the risk of a leaked refresh token
is greater than leaked access tokens, since an attacker may be able to
continue using the stolen refresh token to obtain new access tokens potentially without being
detectable by the authorization server.</t>
            <t>Authorization servers may choose whether or not to issue refresh tokens to browser-based
applications. However, in light of the impact of third-party cookie-blocking mechanisms, the use of refresh tokens has become significantly more attractive. <xref target="RFC9700"/> describes some additional requirements around refresh tokens
on top of the recommendations of <xref target="RFC6749"/>. Applications and authorization servers
conforming to this BCP MUST also follow the recommendations in <xref target="RFC9700"/>
around refresh tokens if refresh tokens are issued to browser-based applications.</t>
            <t>In particular, authorization servers:</t>
            <ul spacing="normal">
              <li>
                <t>MUST either rotate refresh tokens on each use OR use sender-constrained refresh tokens as described in <xref section="4.14.2" sectionFormat="of" target="RFC9700"/></t>
              </li>
              <li>
                <t>MUST either set a maximum lifetime on refresh tokens OR expire if the refresh token has not been used within some amount of time</t>
              </li>
              <li>
                <t>upon issuing a rotated refresh token, MUST NOT extend the lifetime of the new refresh token beyond the lifetime of the initial refresh token if the refresh token has a preestablished expiration time</t>
              </li>
            </ul>
            <t>Limiting the overall refresh token lifetime to the lifetime of the initial refresh token ensures a stolen refresh token cannot be used indefinitely.</t>
            <t>For example:</t>
            <ul spacing="normal">
              <li>
                <t>A user authorizes an application, issuing an access token that lasts 10 minutes, and a refresh token that lasts 8 hours</t>
              </li>
              <li>
                <t>After 10 minutes, the initial access token expires, so the application uses the refresh token to get a new access token</t>
              </li>
              <li>
                <t>The authorization server returns a new access token that lasts 10 minutes, and a new refresh token that lasts 7 hours and 50 minutes</t>
              </li>
              <li>
                <t>This continues until 8 hours pass from the initial authorization</t>
              </li>
              <li>
                <t>At this point, when the application attempts to use the refresh token after 8 hours, the request will fail and the application will have to re-initiate an Authorization Code flow that relies on the user's authentication or previously established session</t>
              </li>
            </ul>
            <t>Authorization servers SHOULD link the lifetime of the refresh token to the user's authenticated session with the authorization server. Doing so ensures that when a user logs out, previously issued refresh tokens to browser-based applications become invalid, mimicking a single-logout scenario. Authorization servers MAY set different policies around refresh token issuance, lifetime and expiration for browser-based applications compared to other public clients.</t>
          </section>
        </section>
        <section anchor="security-considerations-2">
          <name>Security Considerations</name>
          <section anchor="client_authentication">
            <name>Client Authentication</name>
            <t>Since a browser-based application's source code is delivered to the end-user's
browser, it is unfit to contain provisioned secrets. As a consequence, browser-based applications are typically deployed as public clients as defined by <xref section="2.1" sectionFormat="of" target="RFC6749"/>.</t>
            <t>Secrets that are statically included as part of an app distributed to
multiple users should not be treated as confidential secrets, as one
user may inspect their copy and learn the shared secret.  For this
reason, and those stated in <xref section="5.3.1" sectionFormat="of" target="RFC6819"/>, authorization
servers MUST NOT require client authentication of browser-based
applications using a shared secret, as this serves no value beyond
client identification which is already provided by the <tt>client_id</tt> parameter.</t>
            <t>Authorization servers that still require a statically included shared
secret for SPA clients MUST treat the client as a public
client, and not accept the secret as proof of the client's identity. Without
additional measures, such clients are subject to client impersonation
(see <xref target="client_impersonation"/> below).</t>
          </section>
          <section anchor="client_impersonation">
            <name>Client Impersonation</name>
            <t>As stated in <xref section="10.2" sectionFormat="of" target="RFC6749"/>, the authorization
server SHOULD NOT process authorization requests automatically
without user consent or interaction, except when the authorization
server can assure the the identity of the client application.</t>
            <t>If authorization servers restrict redirect URIs to a fixed set of absolute
HTTPS URIs, preventing the use of wildcard domains, wildcard paths, or wildcard query string components,
this exact match of registered absolute HTTPS URIs MAY be accepted by authorization servers as
proof of identity of the client for the purpose of deciding whether to automatically
process an authorization request when a previous request for the <tt>client_id</tt>
has already been approved.</t>
            <section anchor="auth_code_redirect">
              <name>Authorization Code Redirect</name>
              <t>Clients MUST register one or more redirect URIs with the authorization server, and use only exact registered redirect URIs in the authorization request.</t>
              <t>Authorization servers MUST require an exact match of a registered redirect URI
as described in <xref section="4.1.1" sectionFormat="of" target="RFC9700"/>. This helps to prevent attacks targeting the authorization code.</t>
            </section>
          </section>
          <section anchor="in_browser_communication_security">
            <name>Security of In-Browser Communication Flows</name>
            <t>In browser-based applications, it is common to execute the OAuth flow in a secondary window, such as a popup or iframe, instead of redirecting the primary window.
In these flows, the browser-based app holds control of the primary window, for instance, to avoid page refreshes or to run frame-based flows silently.</t>
            <t>If the browser-based app and the authorization server are invoked in different frames, they have to use in-browser communication techniques like the postMessage API (a.k.a. <xref target="WebMessaging"/>) instead of top-level redirections.
To guarantee confidentiality and authenticity of messages, both the initiator origin and receiver origin of a postMessage MUST be verified using the mechanisms inherently provided by the postMessage API (Section 9.3.2 in <xref target="WebMessaging"/>).</t>
            <t><xref section="4.18" sectionFormat="of" target="RFC9700"/> provides additional details about the security of in-browser communication flows and the countermeasures that browser-based applications and authorization servers MUST apply to defend against these attacks.</t>
          </section>
          <section anchor="pattern-oauth-browser-cors">
            <name>Cross-Origin Requests</name>
            <t>In this scenario, the application sends JavaScript-based requests to the authorization server and the resource server. Given the nature of OAuth 2.0, these requests are typically cross-origin, subjecting them to browser-enforced restrictions on cross-origin communication. The authorization server and the resource server MUST send necessary CORS headers (defined in <xref target="Fetch"/>) to enable the JavaScript application to make the necessary cross-origin requests. Note that in the extraordinary scenario where the browser-based OAuth client runs in the same origin as the authorization server or resource server, a CORS policy is not needed to enable the necessary interaction.</t>
            <t>For the authorization server, the CORS configuration is relevant for the token endpoint, where the browser-based application exchanges the authorization code for tokens. Additionally, if the authorization server provides additional endpoints to the application, such as discovery metadata URLs, JSON Web Key Sets, dynamic client registration, revocation, introspection or user info endpoints, these endpoints may also be accessed by the browser-based application. Consequentially, the authorization server is responsible for supporting CORS on these endpoints.</t>
            <t>This specification does not include guidelines for deciding the concrete CORS policy implementation, which can consist of a wildcard origin or a more restrictive configuration. Note that CORS has two modes of operation with different security properties. The first mode applies to CORS-safelisted requests, formerly known as simple requests, where the browser sends the request and uses the CORS response headers to decide if the response can be exposed to the client-side execution context. For non-CORS-safelisted requests, such as a request with a custom request header, the browser will first check the CORS policy using a preflight. The browser will only send the actual request when the server sends its approval in the preflight response.</t>
            <t>Note that due to the authorization server's specific configuration, it is possible that the CORS response to a preflight is different from the CORS response to the actual request. During the preflight, the authorization server can only verify the provided origin, but during an actual request, the authorization server has the full request data, such as the client ID. Consequentially, the authorization server can approve a known origin during the preflight, but reject the actual request after comparing the origin to this specific client's list of pre-registered origins.</t>
          </section>
        </section>
        <section anchor="threat-analysis-2">
          <name>Threat Analysis</name>
          <t>This section revisits the attack scenarios and consequences from <xref target="threats"/>, and discusses potential additional defenses.</t>
          <section anchor="attack-scenarios-and-consequences-2">
            <name>Attack Scenarios and Consequences</name>
            <t>If the attacker has the ability to execute malicious JavaScript code in the application's execution context, the following attack scenarios become relevant:</t>
            <ul spacing="normal">
              <li>
                <t>Single-Execution Token Theft (<xref target="scenario-single-theft"/>)</t>
              </li>
              <li>
                <t>Persistent Token Theft (<xref target="scenario-persistent-theft"/>)</t>
              </li>
              <li>
                <t>Acquisition and Extraction of New Tokens (<xref target="scenario-new-flow"/>)</t>
              </li>
              <li>
                <t>Proxying Requests via the User's Browser (<xref target="scenario-proxy"/>)</t>
              </li>
            </ul>
            <t>The most dangerous attack scenario is the acquisition and extraction of new tokens. In this attack scenario, the attacker only interacts with the authorization server, which makes the actual implementation details of the OAuth functionality in the JavaScript client irrelevant. Even if the legitimate client application finds a way to completely isolate the tokens from the attacker, the attacker will still be able to obtain tokens from the authorization server.</t>
            <t>Note that these attack scenarios result in the following consequences:</t>
            <ul spacing="normal">
              <li>
                <t>Exploiting Stolen Refresh Tokens (See <xref target="consequence-rt"/>)</t>
              </li>
              <li>
                <t>Exploiting Stolen Access Tokens (See <xref target="consequence-at"/>)</t>
              </li>
              <li>
                <t>Client Hijacking (See <xref target="consequence-hijack"/>)</t>
              </li>
            </ul>
          </section>
          <section anchor="additional-defenses-1">
            <name>Additional Defenses</name>
            <t>While this architecture is inherently vulnerable to malicious JavaScript code, there are some additional defenses that can help to increase the security posture of the application. Note that none of these defenses address or fix the underlying problem that allows the attacker to run a new flow to obtain tokens.</t>
            <section anchor="secure-token-storage-1">
              <name>Secure Token Storage</name>
              <t>When handling tokens directly, the application can choose different storage mechanisms to store access tokens and refresh tokens. Universally accessible storage areas, such as <em>Local Storage</em> <xref target="WebStorage"/>, are easier to access from malicious JavaScript than highly isolated storage areas, such as a <em>Web Worker</em> <xref target="WebWorker"/>. <xref target="token-storage"/> discusses different storage mechanisms with their trade-off in more detail.</t>
              <t>A practical implementation pattern can use a Web Worker <xref target="WebWorker"/> to isolate the refresh token, and provide the application with the access token making requests to resource servers. This prevents an attacker from using the application's refresh token to obtain new tokens.</t>
              <t>However, even a token storage mechanism that completely isolates the tokens from the attacker does not prevent the attacker from running a new flow to obtain a fresh set of tokens (See <xref target="scenario-new-flow"/>).</t>
            </section>
            <section anchor="using-sender-constrained-tokens-1">
              <name>Using Sender-Constrained Tokens</name>
              <t>Browser-based OAuth clients can implement DPoP <xref target="RFC9449"/> to transition from bearer access tokens and bearer refresh tokens to sender-constrained tokens. In such an implementation, the private key used to sign DPoP proofs is handled by the browser (a non-extractable <xref target="CryptoKeyPair"/> is stored using <xref target="W3C.IndexedDB"/>). As a result, the use of DPoP effectively prevents scenarios where the attacker exfiltrates the application's tokens (See <xref target="scenario-single-theft"/> and <xref target="scenario-persistent-theft"/>).</t>
              <t>Note that the use of DPoP does not prevent the attacker from running a new flow to obtain a fresh access token (and optionally refresh token) <xref target="scenario-new-flow"/>. Even when DPoP is mandatory, the attacker can bind the fresh set of tokens to a key pair under their control, allowing them to exfiltrate the sender-constrained tokens and use them by relying on the attacker-controlled key to calculate the necessary DPoP proofs.</t>
            </section>
            <section anchor="restricting-access-to-the-authorization-server">
              <name>Restricting Access to the Authorization Server</name>
              <t>The scenario where the attacker obtains a fresh access token and (optionally refresh token) <xref target="scenario-new-flow"/> relies on the ability to directly interact with the authorization server from within the browser. In theory, a defense that prevents the attacker from silently interacting with the authorization server could solve the most dangerous attack scenario. However, in practice, such defenses are ineffective or impractical.</t>
              <t>For completeness, this BCP lists a few options below. Note that none of these defenses is recommended, as they do not offer practically usable security benefits.</t>
              <t>The authorization server could block authorization requests that originate from within an iframe. While this would prevent the exact scenario from <xref target="scenario-new-flow"/>, it would not work for slight variations of the attack scenario. For example, the attacker can launch the silent flow in a popup window, or a pop-under window. Additionally, browser-only OAuth clients typically rely on a hidden iframe-based flow to bootstrap the user's authentication state, so this approach would significantly impact the user experience.</t>
              <t>The authorization server could opt to make user consent mandatory in every Authorization Code flow (as described in <xref section="10.2" sectionFormat="of" target="RFC6749"/>), thus requiring user interaction before issuing an authorization code. This approach would make it harder for an attacker to run a silent flow to obtain a fresh set of tokens. However, it also significantly impacts the user experience by continuously requiring consent. As a result, this approach would result in "consent fatigue", which makes it likely that the user will blindly approve the consent, even when it is associated with a flow that was initiated by the attacker.</t>
            </section>
          </section>
          <section anchor="summary-2">
            <name>Summary</name>
            <t>To summarize, the architecture of a browser-based OAuth client application is straightforward, but results in a significant increase in the attack surface of the application. The attacker is not only able to hijack the client, but also to extract a full-featured set of tokens from the browser-based application.</t>
            <t>This architecture is not recommended for business applications, sensitive applications, and applications that handle personal data.</t>
          </section>
        </section>
      </section>
    </section>
    <section anchor="discouraged-and-deprecated-architecture-patterns">
      <name>Discouraged and Deprecated Architecture Patterns</name>
      <t>Client applications and backend applications have evolved significantly over the last two decades, along with threats, attacker models, and a general understanding of modern application security. As a result, previous recommendations are often no longer recommended and proposed solutions often fall short of meeting the expected security requirements.</t>
      <t>This section discusses a few alternative architecture patterns, which are not recommended for use in modern browser-based OAuth applications. This section discusses each of the patterns, along with a threat analysis that investigates the attack scenarios and consequences when relevant.</t>
      <section anchor="single-domain-browser-based-applications-not-using-oauth">
        <name>Single-Domain Browser-Based Applications (not using OAuth)</name>
        <t>Too often, simple applications are made needlessly complex by using OAuth to replace the concept of session management. A typical example is the modern incarnation of a server-side MVC application, which now consists of a browser-based frontend backed by a server-side API.</t>
        <t>In such an application, the use of OpenID connect to offload user authentication to a dedicated provider can significantly simplify the application's architecture and development. However, the use of OAuth for governing access between the frontend and the backend is often not needed. Instead of using access tokens, the application can rely on traditional cookie-based session management to keep track of the user's authentication status. The security guidelines to protect the session cookie are discussed in <xref target="pattern-bff-cookie-security"/>.</t>
        <t>While the advice to not use OAuth seems out-of-place in this document, it is important to note that OAuth was originally created for third-party or federated access to APIs, so it may not be the best solution in a single common-domain deployment. That said, there are still some advantages in using OAuth even in a common-domain architecture:</t>
        <ul spacing="normal">
          <li>
            <t>Allows more flexibility in the future, such as if you were to later add a new domain to the system. With OAuth already in place, adding a new domain wouldn't require any additional rearchitecting.</t>
          </li>
          <li>
            <t>Being able to take advantage of existing library support rather than writing bespoke code for the integration.</t>
          </li>
          <li>
            <t>Centralizing login and multi-factor authentication support, account management, and recovery at the OAuth server, rather than making it part of the application logic.</t>
          </li>
          <li>
            <t>Splitting of responsibilities between authenticating a user and serving resources</t>
          </li>
        </ul>
        <t>Using OAuth for browser-based applications in a first-party same-domain scenario provides these advantages, and can be accomplished by any of the architectural patterns described above.</t>
        <section anchor="threat-analysis-3">
          <name>Threat Analysis</name>
          <t>Due to the lack of using OAuth, this architecture pattern is only vulnerable to the following attack scenarios: Proxying Requests via the User's Browser (<xref target="scenario-proxy"/>). As a result, this pattern can lead to the following consequence: Client Hijacking (<xref target="consequence-hijack"/>)</t>
        </section>
      </section>
      <section anchor="implicit_flow">
        <name>OAuth Implicit Grant</name>
        <t>The OAuth 2.0 Implicit grant type (defined in <xref section="4.2" sectionFormat="of" target="RFC6749"/>)
works by the authorization server issuing an access token in the
authorization response (front channel) without an authorization code exchange step. In this case, the access
token is returned in the fragment part of the redirect URI, providing an attacker
with several opportunities to intercept and steal the access token.</t>
        <t>The security properties of the Implicit grant type make it no longer a recommended best practice. To effectively prevent the use of this flow, the authorization server MUST NOT issue access tokens in the authorization response, and MUST issue
access tokens only from the token endpoint. Browser-based clients MUST use the Authorization Code grant type and MUST NOT use the Implicit grant type to obtain access tokens.</t>
        <section anchor="historic-note">
          <name>Historic Note</name>
          <t>Historically, the Implicit grant type provided an advantage to browser-based applications since
JavaScript could always arbitrarily read and manipulate the fragment portion of the
URL without triggering a page reload. This was necessary in order to remove the
access token from the URL after it was obtained by the app. Additionally, until
CORS was widespread in browsers, the Implicit grant type
offered an alternative flow that didn't require CORS support in the browser or on the server.</t>
          <t>Modern browsers now have the Session History API (described in "Session history and
navigation" of <xref target="HTML"/>), which provides a mechanism to modify the path and query string
component of the URL without triggering a page reload. Additionally, CORS has widespread
support and is often used by single-page applications for many purposes. This means modern browser-based applications can
use the OAuth 2.0 Authorization Code grant type with PKCE, since they have the ability to
remove the authorization code from the query string without triggering a page reload
thanks to the Session History API, and CORS support at the token endpoint means the
app can obtain tokens even if the authorization server is on a different domain.</t>
        </section>
        <section anchor="threat-analysis-4">
          <name>Threat Analysis</name>
          <t>The architecture pattern discussed in this section is vulnerable to the following attack scenarios:</t>
          <ul spacing="normal">
            <li>
              <t>Single-Execution Token Theft <xref target="scenario-single-theft"/></t>
            </li>
            <li>
              <t>Persistent Token Theft <xref target="scenario-persistent-theft"/></t>
            </li>
            <li>
              <t>Acquisition and Extraction of New Tokens <xref target="scenario-new-flow"/></t>
            </li>
            <li>
              <t>Proxying Requests via the User's Browser <xref target="scenario-proxy"/></t>
            </li>
          </ul>
          <t>As a result, this pattern can lead to the following consequences:</t>
          <ul spacing="normal">
            <li>
              <t>Exploiting Stolen Refresh Tokens <xref target="consequence-rt"/></t>
            </li>
            <li>
              <t>Exploiting Stolen Access Tokens <xref target="consequence-at"/></t>
            </li>
            <li>
              <t>Client Hijacking <xref target="consequence-hijack"/></t>
            </li>
          </ul>
        </section>
        <section anchor="further-attacks-on-the-implicit-grant">
          <name>Further Attacks on the Implicit Grant</name>
          <t>Apart from the attack scenarios and consequences that were already discussed, there are a few additional attacks that further support the deprecation of the Implicit grant type. Many attacks on the Implicit grant type described by <xref target="RFC6819"/> and <xref section="4.1.2" sectionFormat="of" target="RFC9700"/>
do not have sufficient mitigation strategies. The following sections describe the specific
attacks that cannot be mitigated while continuing to use the Implicit grant type.</t>
          <section anchor="manipulation-of-the-redirect-uri">
            <name>Manipulation of the Redirect URI</name>
            <t>If an attacker is able to cause the authorization response to be sent to a URI under
their control, they will directly get access to the authorization response including the access token.
Several methods of performing this attack are described in detail in <xref target="RFC9700"/>.</t>
          </section>
          <section anchor="access-token-leak-in-browser-history">
            <name>Access Token Leak in Browser History</name>
            <t>An attacker could obtain the access token from the browser's history.
The countermeasures recommended by <xref target="RFC6819"/> are limited to using short expiration
times for tokens, and indicating that browsers should not cache the response.
Neither of these fully prevent this attack, they only reduce the potential damage.</t>
            <t>Additionally, many browsers now also sync browser history to cloud services and to
multiple devices, providing an even wider attack surface to extract access tokens
out of the URL.</t>
            <t>This is discussed in more detail in <xref section="4.3.2" sectionFormat="of" target="RFC9700"/>.</t>
          </section>
          <section anchor="manipulation-of-scripts">
            <name>Manipulation of Scripts</name>
            <t>An attacker could modify the page or inject scripts into the browser through various
means, including when the browser's HTTPS connection is being intercepted by, for
example, a corporate network. While attacks on the TLS layer are typically out of scope
of basic security recommendations to prevent, in the case of browser-based applications they are
much easier to perform. An injected script can enable an attacker to have access to everything
on the page.</t>
            <t>The risk of a malicious script running on the page may be amplified when the application
uses a known standard way of obtaining access tokens, namely that the attacker can
always look at the <tt>window.location</tt> variable to find an access token. This threat profile
is different from an attacker specifically targeting an individual application
by knowing where or how an access token obtained via the Authorization Code flow may
end up being stored.</t>
          </section>
          <section anchor="access-token-leak-to-third-party-scripts">
            <name>Access Token Leak to Third-Party Scripts</name>
            <t>It is relatively common to use third-party scripts in browser-based applications, such as
analytics tools, crash reporting, and even things like a Facebook or Twitter "like" button.
In these situations, the author of the application may not be able to be fully aware
of the entirety of the code running in the application. When an access token is
returned in the fragment, it is visible to any third-party scripts on the page.</t>
          </section>
        </section>
        <section anchor="disadvantages-of-the-implicit-grant">
          <name>Disadvantages of the Implicit Grant</name>
          <t>There are several additional reasons the Implicit grant type is disadvantageous compared to
using the recommended Authorization Code grant type.</t>
          <ul spacing="normal">
            <li>
              <t>OAuth 2.0 provides no mechanism for a client to verify that a particular access token was
intended for that client, which could lead to misuse and possible impersonation attacks if
a malicious party hands off an access token it retrieved through some other means
to the client.</t>
            </li>
            <li>
              <t>Returning an access token in the front-channel redirect gives the authorization
server no assurance that the access token will actually end up at the
application, since there are many ways this redirect may fail or be intercepted.</t>
            </li>
            <li>
              <t>Supporting the Implicit grant type requires additional code, more upkeep and
understanding of the related security considerations. Limiting the
authorization server to just the Authorization Code grant type reduces the attack surface
of the implementation.</t>
            </li>
            <li>
              <t>If the JavaScript application gets wrapped into a native app, then <xref target="RFC8252"/>
also requires the use of the Authorization Code grant type with PKCE anyway.</t>
            </li>
          </ul>
        </section>
      </section>
      <section anchor="resource-owner-password-grant">
        <name>Resource Owner Password Grant</name>
        <t>The Resource Owner Password Credentials Grant MUST NOT be used, as described in
<xref section="2.4" sectionFormat="of" target="RFC9700"/>. Instead, using the Authorization Code grant type
and redirecting the user to the authorization server
provides the authorization server the opportunity to prompt the user for
secure non-phishable authentication options, take advantage of single sign-on sessions,
or use third-party identity providers. In contrast, the Resource Owner Password Credentials Grant does not
provide any built-in mechanism for these, and would instead need to be extended with custom protocols.</t>
        <t>To conform to this best practice, browser-based applications using OAuth or OpenID
Connect MUST use a redirect-based flow (e.g. the OAuth Authorization Code grant type)
as described in this document.</t>
      </section>
      <section anchor="service-worker">
        <name>Handling the OAuth Flow in a Service Worker</name>
        <t>In an attempt to limit the attacker's ability to extract existing tokens or acquire a new set of tokens, a pattern using a Service Worker (<xref target="W3C.service-workers"/>) has been suggested in the past. In this pattern, the application's first action upon loading is registering a Service Worker. The Service Worker becomes responsible for executing the Authorization Code flow to obtain tokens and to augment outgoing requests to the resource server with the proper access token. Additionally, the Service Worker blocks the client application's code from making direct calls to the authorization server's endpoints. This restriction aims to target the attack scenario "Acquisition and Extraction of New Tokens" (<xref target="scenario-new-flow"/>).</t>
        <t>The sequence diagram included below illustrates the interactions between the client, the Service Worker, the authorization server, and the resource server.</t>
        <figure anchor="fig-bbapp-pattern-serviceworker">
          <name>OAuth 2.0 Service Worker Pattern</name>
          <artset>
            <artwork type="svg"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="432" width="568" viewBox="0 0 568 432" class="diagram" text-anchor="middle" font-family="monospace" font-size="13px" stroke-linecap="round">
                <path d="M 16,64 L 16,368" fill="none" stroke="black"/>
                <path d="M 120,64 L 120,368" fill="none" stroke="black"/>
                <path d="M 224,64 L 224,368" fill="none" stroke="black"/>
                <path d="M 392,64 L 392,120" fill="none" stroke="black"/>
                <path d="M 392,168 L 392,216" fill="none" stroke="black"/>
                <path d="M 392,248 L 392,368" fill="none" stroke="black"/>
                <path d="M 512,64 L 512,368" fill="none" stroke="black"/>
                <path d="M 24,96 L 112,96" fill="none" stroke="black"/>
                <path d="M 128,112 L 216,112" fill="none" stroke="black"/>
                <path d="M 232,128 L 504,128" fill="none" stroke="black"/>
                <path d="M 232,224 L 504,224" fill="none" stroke="black"/>
                <path d="M 128,304 L 216,304" fill="none" stroke="black"/>
                <path d="M 232,352 L 384,352" fill="none" stroke="black"/>
                <polygon class="arrowhead" points="512,224 500,218.4 500,229.6" fill="black" transform="rotate(0,504,224)"/>
                <polygon class="arrowhead" points="512,128 500,122.4 500,133.6" fill="black" transform="rotate(0,504,128)"/>
                <polygon class="arrowhead" points="392,352 380,346.4 380,357.6" fill="black" transform="rotate(0,384,352)"/>
                <polygon class="arrowhead" points="224,304 212,298.4 212,309.6" fill="black" transform="rotate(0,216,304)"/>
                <polygon class="arrowhead" points="224,112 212,106.4 212,117.6" fill="black" transform="rotate(0,216,112)"/>
                <polygon class="arrowhead" points="120,96 108,90.4 108,101.6" fill="black" transform="rotate(0,112,96)"/>
                <g class="text">
                  <text x="224" y="36">Service</text>
                  <text x="388" y="36">Resource</text>
                  <text x="512" y="36">Authorization</text>
                  <text x="20" y="52">User</text>
                  <text x="128" y="52">Application</text>
                  <text x="220" y="52">Worker</text>
                  <text x="388" y="52">Server</text>
                  <text x="508" y="52">Server</text>
                  <text x="68" y="84">browse</text>
                  <text x="460" y="116">/authorize</text>
                  <text x="276" y="148">redirect</text>
                  <text x="324" y="148">w/</text>
                  <text x="392" y="148">authorization</text>
                  <text x="468" y="148">code</text>
                  <text x="232" y="164">&lt;</text>
                  <text x="248" y="164">-</text>
                  <text x="264" y="164">-</text>
                  <text x="280" y="164">-</text>
                  <text x="296" y="164">-</text>
                  <text x="312" y="164">-</text>
                  <text x="328" y="164">-</text>
                  <text x="344" y="164">-</text>
                  <text x="360" y="164">-</text>
                  <text x="376" y="164">-</text>
                  <text x="392" y="164">-</text>
                  <text x="408" y="164">-</text>
                  <text x="424" y="164">-</text>
                  <text x="440" y="164">-</text>
                  <text x="456" y="164">-</text>
                  <text x="472" y="164">-</text>
                  <text x="488" y="164">-</text>
                  <text x="504" y="164">-</text>
                  <text x="280" y="196">token</text>
                  <text x="336" y="196">request</text>
                  <text x="268" y="212">w/</text>
                  <text x="300" y="212">auth</text>
                  <text x="340" y="212">code</text>
                  <text x="476" y="212">/token</text>
                  <text x="232" y="244">&lt;</text>
                  <text x="248" y="244">-</text>
                  <text x="264" y="244">-</text>
                  <text x="280" y="244">-</text>
                  <text x="296" y="244">-</text>
                  <text x="312" y="244">-</text>
                  <text x="328" y="244">-</text>
                  <text x="344" y="244">-</text>
                  <text x="360" y="244">-</text>
                  <text x="376" y="244">-</text>
                  <text x="392" y="244">-</text>
                  <text x="408" y="244">-</text>
                  <text x="424" y="244">-</text>
                  <text x="440" y="244">-</text>
                  <text x="456" y="244">-</text>
                  <text x="472" y="244">-</text>
                  <text x="488" y="244">-</text>
                  <text x="504" y="244">-</text>
                  <text x="172" y="276">resource</text>
                  <text x="168" y="292">request</text>
                  <text x="276" y="324">resource</text>
                  <text x="344" y="324">request</text>
                  <text x="252" y="340">w/</text>
                  <text x="292" y="340">access</text>
                  <text x="344" y="340">token</text>
                  <text x="20" y="388">User</text>
                  <text x="128" y="388">Application</text>
                  <text x="224" y="388">Service</text>
                  <text x="388" y="388">Resource</text>
                  <text x="512" y="388">Authorization</text>
                  <text x="220" y="404">Worker</text>
                  <text x="388" y="404">Server</text>
                  <text x="508" y="404">Server</text>
                </g>
              </svg>
            </artwork>
            <artwork type="ascii-art"><![CDATA[
                          Service             Resource     Authorization
  User      Application   Worker               Server         Server
   |            |            |                    |              |
   |   browse   |            |                    |              |
   |----------->|            |                    |              |
   |            |----------->|                    |   /authorize |
   |            |            |---------------------------------->|
   |            |            |  redirect w/ authorization code   |
   |            |            |< - - - - - - - - - - - - - - - - -|
   |            |            |                    |              |
   |            |            |    token request   |              |
   |            |            |    w/ auth code    |       /token |
   |            |            |---------------------------------->|
   |            |            |< - - - - - - - - - - - - - - - - -|
   |            |            |                    |              |
   |            |  resource  |                    |              |
   |            |  request   |                    |              |
   |            |----------->|                    |              |
   |            |            |  resource request  |              |
   |            |            |  w/ access token   |              |   
   |            |            |------------------->|              |
   |            |            |                    |              |
  User      Application   Service             Resource     Authorization
                          Worker               Server         Server
]]></artwork>
          </artset>
        </figure>
        <t>Note that this pattern never exposes the tokens to the application running in the browser. Since the Service Worker runs in an isolated execution environment, there is no shared memory and no way for the client application to influence the execution of the Service Worker.</t>
        <section anchor="threat-analysis-5">
          <name>Threat Analysis</name>
          <t>The architecture pattern discussed in this section is vulnerable to the following attack scenarios:</t>
          <ul spacing="normal">
            <li>
              <t>Acquisition and Extraction of New Tokens <xref target="scenario-new-flow"/></t>
            </li>
            <li>
              <t>Proxying Requests via the User's Browser <xref target="scenario-proxy"/></t>
            </li>
          </ul>
          <t>As a result, this pattern can lead to the following consequences:</t>
          <ul spacing="normal">
            <li>
              <t>Exploiting Stolen Refresh Tokens <xref target="consequence-rt"/></t>
            </li>
            <li>
              <t>Exploiting Stolen Access Tokens <xref target="consequence-at"/></t>
            </li>
            <li>
              <t>Client Hijacking <xref target="consequence-hijack"/></t>
            </li>
          </ul>
          <section anchor="attacking-the-service-worker">
            <name>Attacking the Service Worker</name>
            <t>The seemingly promising security benefits of using a Service Worker warrant a more detailed discussion of its security limitations. To fully protect the application against the relevant attack scenarios (<xref target="attackscenarios"/>), the Service Worker needs to meet two security requirements:</t>
            <ol spacing="normal" type="1"><li>
                <t>Prevent an attacker from exfiltrating tokens</t>
              </li>
              <li>
                <t>Prevent an attacker from acquiring a new set of tokens</t>
              </li>
            </ol>
            <t>Once registered, the Service Worker runs an Authorization Code flow and obtains the tokens. Since the Service Worker keeps track of tokens in its own isolated execution environment, they are out of reach for any application code, including potentially malicious code. Consequentially, the Service Worker meets the first requirement of preventing token exfiltration. This essentially neutralizes the first two attack scenarios discussed in <xref target="attackscenarios"/>.</t>
            <t>To meet the second security requirement, the Service Worker must be able to guarantee that an attacker controlling the legitimate application cannot execute a new Authorization Code grant, an attack discussed in <xref target="scenario-new-flow"/>. Due to the nature of Service Workers, the registered Service Worker will be able to block all outgoing requests that initiate such a new flow, even when they occur in a frame or a new window.</t>
            <t>However, the malicious code running inside the application can unregister this Service Worker. Unregistering a Service Worker can have a significant functional impact on the application, so it is not an operation the browser handles lightly. Therefore, an unregistered Service Worker is marked as such, but all currently running instances remain active until their corresponding browsing context is terminated (e.g., by closing the tab or window). So even when an attacker unregisters a Service Worker, it remains active and able to prevent the attacker from reaching the authorization server.</t>
            <t>One of the consequences of unregistering a Service Worker is that it will not be present when a new browsing context is opened. So when the attacker first unregisters the Service Worker, and then starts a new flow in a frame, there will be no Service Worker associated with the browsing context of the frame. Consequentially, the attacker will be able to run its own new Authorization Code grant, extract the authorization code from the frame's URL, and exchange it for tokens. In essence, the Service Worker fails to meet the second security requirement, leaving it vulnerable to the scenario where the attacker acquires a new set of tokens (<xref target="scenario-new-flow"/>).</t>
            <t>Due to these shortcomings, combined with the significant complexity of registering and maintaining a Service Worker, this pattern is not recommended.</t>
            <t>Finally, note that the use of a Service Worker by itself does not increase the attack surface of the application. In practice, Service Workers are often used to retrofit a legacy application with support for including OAuth access tokens on outgoing requests. The Service Worker in these scenarios does not change the security properties of the application, but merely simplifies development and maintenance of the application.</t>
          </section>
        </section>
      </section>
    </section>
    <section anchor="token-storage">
      <name>Token Storage in the Browser</name>
      <t>When a browser-based application handles OAuth access tokens or refresh tokens directly, it becomes responsible for ephemerally or persistently storing the tokens. As a consequence, the application needs to decide how to manage the tokens (e.g., in-memory vs persistent storage), and which steps to take to further isolate the tokens from the main application code. This section discusses a few different storage mechanisms and their properties. These recommendations take into account the unique properties of OAuth tokens, some of which may overlap with general browser security recommendations.</t>
      <t>When discussing the security properties of browser-based token storage solutions, it is important to understand the attacker's capabilities when they compromise a browser-based application. Similar to previous discussions, two main attack scenarios should be taken into account:</t>
      <ol spacing="normal" type="1"><li>
          <t>The attacker obtaining tokens from storage</t>
        </li>
        <li>
          <t>The attacker obtaining tokens from the provider (e.g., the authorization server or the token-mediating backend)</t>
        </li>
      </ol>
      <t>Since the attacker's code becomes indistinguishable from the legitimate application's code, the attacker will always be able to request tokens from the provider in exactly the same way as the legitimate application code. As a result, not even a completely isolated token storage solution can address the dangers of the second threat, where the attacker requests tokens from the provider.</t>
      <t>That said, the different security properties of browser-based storage solutions will impact the attacker's ability to obtain existing tokens from storage.</t>
      <section anchor="cookies">
        <name>Cookies</name>
        <t>Browser cookies are both a storage mechanism and a transport mechanism. The browser automatically supports both through the corresponding request and response headers, resulting in the storage of cookies in the browser and the automatic inclusion of cookies on outgoing requests given it matches the cookie's domain, path, or other properties.</t>
        <t>Next to header-based control over cookies, browsers also offer a JavaScript Cookie API to get and set cookies. This Cookie API is often mistaken as an easy way to store data in the browser. In such a scenario, the JavaScript code stores a token in a cookie, with the intent to retrieve the token for later inclusion in the Authorization header of an API call. However, since the cookie is associated with the domain of the browser-based application, the browser will also send the cookie containing the token when making a request to the server running on this domain. One example of such a request is the browser loading the application after a previous visit to the application (step A in the diagram of <xref target="pattern-oauth-browser"/>).</t>
        <t>Because of these unintentional side effects of using cookies for JavaScript-based storage, this practice is NOT RECOMMENDED.</t>
        <t>Note that this practice is different from the use of cookies in a BFF (discussed in <xref target="pattern-bff-cookie-security"/>), where the cookie is inaccessible to JavaScript and is supposed to be sent to the backend.</t>
      </section>
      <section anchor="token-storage-service-worker">
        <name>Token Storage in a Service Worker</name>
        <t>A Service Worker (<xref target="W3C.service-workers"/>) offers a fully isolated environment to keep track of tokens. These tokens are inaccessible to the client application, effectively protecting them against exfiltration. To guarantee the security of these tokens, the Service Worker cannot share these tokens with the application. Consequentially, whenever the application wants to perform an operation with a token, it has to ask the Service Worker to perform this operation and return the result.</t>
        <t>When aiming to isolate tokens from the application's execution context, the Service Worker MUST NOT store tokens in any persistent storage API that is shared with the main window. For example, currently, the IndexedDB storage is shared between the browsing context and Service Worker, so is not a suitable place for the Service Worker to persist data that should remain inaccessible to the main window. Consequentially, the Service Worker currently does not have access to an isolated persistent storage area.</t>
        <t>As discussed before, the use of a Service Worker does not prevent an attacker from obtaining a new set of tokens. Similarly, if the application is responsible for obtaining tokens from the authorization server and passing them to a Service Worker for further management, the attacker can perform the same operation as the legitimate application to obtain these tokens.</t>
      </section>
      <section anchor="token-storage-in-a-web-worker">
        <name>Token Storage in a Web Worker</name>
        <t>The application can use a Web Worker <xref target="WebWorker"/>, which results in an almost identical scenario as the previous one that relies on a Service Worker. The difference between a Service Worker and a Web Worker is the level of access and its runtime properties. Service Workers can intercept and modify outgoing requests, while Web Workers are just a way to run background tasks. Web Workers are ephemeral and disappear when the browsing context is closed, while Service Workers are persistent services registered in the browser.</t>
        <t>The security properties of using a Web Worker are identical to using Service Workers. When tokens are exposed to the application, they become vulnerable. When tokens need to be used, the operation that relies on them has to be carried out by the Web Worker.</t>
        <t>One common method to isolate the refresh token is to use Web Workers. In such a scenario, the application starts an Authorization Code flow from a Web Worker. The authorization code from the redirect is forwarded to the Web Worker, which then exchanges it for tokens. The Web Worker keeps the refresh token in memory and sends the access token to the main application. The main application uses the access token as desired. When the application needs to run a refresh token flow, it asks the Web Worker to do so, after which the application obtains a fresh access token.</t>
        <t>In this scenario, the application's own refresh token is effectively protected against exfiltration, but the access token is not. Additionally, nothing would prevent an attacker from obtaining their own tokens by running a new Authorization Code flow <xref target="scenario-new-flow"/>.</t>
      </section>
      <section anchor="token-storage-in-memory">
        <name>In-Memory Token Storage</name>
        <t>Another option is keeping tokens in memory, without using any persistent storage. Doing so limits the exposure of the tokens to the current execution context only, but has the downside of not being able to persist tokens between page loads.</t>
        <t>In a JavaScript execution environment, the security of in-memory token storage can be further enhanced by using a closure variable to effectively shield the token from direct access. By using closures, the token is only accessible to the pre-defined functions inside the closure, such as a function to make a request to the resource server.</t>
        <t>While closures work well in simple, isolated environments, they are tricky to secure in a complex environment like the browser's execution environment. For example, a closure relies on a variety of outside functions to execute its operations, such as <em>toString</em> functions or networking APIs. Using prototype poisoning, an attacker can substitute these functions with malicious versions, causing the closure's future operations to use these malicious versions. Inside the malicious function, the attacker can gain access to the function arguments, which may expose the tokens from within the closure to the attacker.</t>
      </section>
      <section anchor="token-storage-persistent">
        <name>Persistent Token Storage</name>
        <t>The persistent storage APIs currently available as of this writing are localStorage (<xref target="WebStorage"/>), sessionStorage (<xref target="WebStorage"/>), and <xref target="W3C.IndexedDB"/>.</t>
        <t>localStorage persists between page reloads as well as is shared across all tabs. This storage is accessible to the entire origin, and persists longer term. localStorage does not protect against XSS attacks, as the attacker would be running code within the same origin, and as such, would be able to read the contents of the localStorage. Additionally, localStorage is a synchronous API, blocking other JavaScript until the operation completes.</t>
        <t>sessionStorage is similar to localStorage, except that the lifetime of sessionStorage is linked to the lifetime of a browser tab. Additionally, sessionStorage is not shared between multiple tabs open to pages on the same origin, which slightly reduces the exposure of the tokens in sessionStorage.</t>
        <t>IndexedDB is a persistent storage mechanism like localStorage, but is shared between multiple tabs as well as between the browsing context and Service Workers.</t>
        <t>Note that the main difference between these patterns is the exposure of the data, but that none of these options can fully mitigate token exfiltration when the attacker can execute malicious code in the application's execution environment.</t>
      </section>
      <section anchor="filesystem-considerations">
        <name>Filesystem Considerations for Browser Storage APIs</name>
        <t>In all cases, as of this writing, there is no guarantee that browser storage is encrypted at rest. This behavior potentially exposes tokens to attackers that have the ability to read files on disk. While such attacks rely on capabilities that are well beyond the scope of browser-based applications, this topic highlights an important attack vector against modern applications. More and more malware is specifically created to crawl user's machines looking for browser profiles to obtain high-value tokens and session cookies, resulting in account takeover attacks.</t>
        <t>While the browser-based application is incapable of mitigating such attacks, the application can mitigate the consequences of such an attack by ensuring data confidentiality using encryption. The <xref target="W3C.WebCryptoAPI"/> provides a mechanism for JavaScript code to generate a secret key, as well as an option for that key to be non-exportable. A JavaScript application could then use this API to encrypt and decrypt tokens before storing them. However, the <xref target="W3C.WebCryptoAPI"/> specification only ensures that the key is not exportable to the browser code, but does not place any requirements on the underlying storage of the key itself with the operating system. As such, a non-exportable key cannot be relied on as a way to protect against exfiltration from the underlying filesystem.</t>
        <t>In order to protect against token exfiltration from the filesystem, the encryption keys would need to be stored somewhere other than the filesystem, such as on a remote server. This introduces new complexity for a purely browser-based app, and is out of scope of this document.</t>
      </section>
    </section>
    <section anchor="security-considerations-3">
      <name>Security Considerations</name>
      <section anchor="reducing-the-authority-of-tokens">
        <name>Reducing the Authority of Tokens</name>
        <t>A general security best practice in the OAuth world is to minimize the authority associated with access tokens. This best practice is applicable to all the architectures discussed in this specification. Concretely, the following considerations can help reducing the authority of access tokens:</t>
        <ul spacing="normal">
          <li>
            <t>Reduce the lifetime of access tokens and rely on refresh tokens for access token renewal</t>
          </li>
          <li>
            <t>Reduce the scopes or permissions associated with the access token</t>
          </li>
          <li>
            <t>Use <xref target="RFC8707"/> to restrict access tokens to a single resource</t>
          </li>
        </ul>
        <t>When OpenID Connect is used, it is important to avoid sensitive information disclosure through the claims in the ID Token. The authorization server SHOULD NOT include any ID token claims that aren't used by the client.</t>
      </section>
      <section anchor="sender-constrained-tokens">
        <name>Sender-Constrained Tokens</name>
        <t>As discussed throughout this document, the use of sender-constrained tokens does not solve the security limitations of browser-only OAuth clients. However, when the level of security offered by a token-mediating backend (<xref target="pattern-tmb"/>) or a browser-only OAuth client (<xref target="pattern-oauth-browser"/>) suffices for the use case at hand, sender-constrained tokens can be used to enhance the security of both access tokens and refresh tokens. One method of implementing sender-constrained tokens in a way that is usable from browser-based applications is DPoP <xref target="RFC9449"/>.</t>
        <t>When using sender-constrained tokens, the OAuth client has to prove possession of a private key in order to use the token, such that the token isn't usable by itself. If a sender-constrained token is stolen, the attacker wouldn't be able to use the token directly, they would need to also steal the private key. In essence, one could say that using sender-constrained tokens shifts the challenge of securely storing the token to securely storing the private key. Ideally, the application should use a non-exportable private key, such as generating one with the <xref target="W3C.WebCryptoAPI"/>. With an unencrypted token in the browser storage protected by a non-exportable private key, an XSS attack would not be able to extract the key, so the token would not be usable by the attacker.</t>
        <t>If the application is unable to use an API that generates a non-exportable key, the application should take measures to isolate the private key from its own execution context. The techniques for doing so are similar to using a secure token storage mechanism, as discussed in <xref target="token-storage"/>.</t>
        <t>While a non-exportable key is protected from exfiltration from within the JavaScript context, the exfiltration of the underlying private key from the filesystem is still a potential attack vector. At the time of writing, there is no guarantee made by the <xref target="W3C.WebCryptoAPI"/> that a non-exportable key is actually protected by a Trusted Platform Module (TPM) or stored in an encrypted form on disk. Exfiltration of the non-exportable key from the underlying filesystem may still be possible if the attacker can get access to the filesystem of the user's machine, for example via malware. This effectively makes the potential attack vector equivalent to a session hijacking attack.</t>
      </section>
      <section anchor="auth_server_mixup">
        <name>Authorization Server Mix-Up Mitigation</name>
        <t>Authorization server mix-up attacks mark a severe threat to every client that supports
at least two authorization servers. <xref section="4.4" sectionFormat="of" target="RFC9700"/> provides additional details about mix-up attacks
and the countermeasures mentioned above.</t>
      </section>
      <section anchor="isolating-applications-using-origins">
        <name>Isolating Applications using Origins</name>
        <t>Many of the web's security mechanisms rely on origins, which are defined as the triple <tt>&lt;scheme, hostname, port&gt;</tt>. For example, browsers automatically isolate browsing contexts with different origins, limit resources to certain origins, and apply CORS restrictions to outgoing cross-origin requests.</t>
        <t>Therefore, it is considered a best practice to avoid deploying more than one application in a single origin. An architecture that only deploys a single application in an origin can leverage these browser restrictions to increase the security of the application. Additionally, having a single origin per application makes it easier to configure and deploy security measures such as CORS, CSP, etc.</t>
      </section>
    </section>
    <section anchor="iana">
      <name>IANA Considerations</name>
      <t>This document does not require any IANA actions.</t>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references">
      <name>References</name>
      <references anchor="sec-normative-references">
        <name>Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
          <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>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="RFC6749" target="https://www.rfc-editor.org/info/rfc6749" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6749.xml">
          <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>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" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6750.xml">
          <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>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="RFC7636" target="https://www.rfc-editor.org/info/rfc7636" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7636.xml">
          <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>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="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
          <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>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="RFC8252" target="https://www.rfc-editor.org/info/rfc8252" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8252.xml">
          <front>
            <title>OAuth 2.0 for Native Apps</title>
            <author fullname="W. Denniss" initials="W." surname="Denniss"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <date month="October" year="2017"/>
            <abstract>
              <t>OAuth 2.0 authorization requests from native apps should only be made through external user-agents, primarily the user's browser. This specification details the security and usability reasons why this is the case and how native apps and authorization servers can implement this best practice.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="212"/>
          <seriesInfo name="RFC" value="8252"/>
          <seriesInfo name="DOI" value="10.17487/RFC8252"/>
        </reference>
        <reference anchor="RFC8707" target="https://www.rfc-editor.org/info/rfc8707" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8707.xml">
          <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>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="RFC9449" target="https://www.rfc-editor.org/info/rfc9449" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9449.xml">
          <front>
            <title>OAuth 2.0 Demonstrating Proof of Possession (DPoP)</title>
            <author fullname="D. Fett" initials="D." surname="Fett"/>
            <author fullname="B. Campbell" initials="B." surname="Campbell"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="T. Lodderstedt" initials="T." surname="Lodderstedt"/>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="D. Waite" initials="D." surname="Waite"/>
            <date month="September" year="2023"/>
            <abstract>
              <t>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>
          </front>
          <seriesInfo name="RFC" value="9449"/>
          <seriesInfo name="DOI" value="10.17487/RFC9449"/>
        </reference>
        <reference anchor="RFC9700" target="https://www.rfc-editor.org/info/rfc9700" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9700.xml">
          <front>
            <title>Best Current Practice for OAuth 2.0 Security</title>
            <author fullname="T. Lodderstedt" initials="T." surname="Lodderstedt"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="A. Labunets" initials="A." surname="Labunets"/>
            <author fullname="D. Fett" initials="D." surname="Fett"/>
            <date month="January" year="2025"/>
            <abstract>
              <t>This document describes best current security practice for OAuth 2.0. It updates and extends the threat model and security advice given in RFCs 6749, 6750, and 6819 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. Further, it deprecates some modes of operation that are deemed less secure or even insecure.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="240"/>
          <seriesInfo name="RFC" value="9700"/>
          <seriesInfo name="DOI" value="10.17487/RFC9700"/>
        </reference>
        <reference anchor="I-D.ietf-httpbis-rfc6265bis" target="https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-19" xml:base="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-httpbis-rfc6265bis.xml">
          <front>
            <title>Cookies: HTTP State Management Mechanism</title>
            <author fullname="Steven Bingler" initials="S." surname="Bingler">
              <organization>Google LLC</organization>
            </author>
            <author fullname="Mike West" initials="M." surname="West">
              <organization>Google LLC</organization>
            </author>
            <author fullname="John Wilander" initials="J." surname="Wilander">
              <organization>Apple, Inc</organization>
            </author>
            <date day="7" month="January" year="2025"/>
            <abstract>
              <t>This document defines the HTTP Cookie and Set-Cookie header fields. These header fields can be used by HTTP servers to store state (called cookies) at HTTP user agents, letting the servers maintain a stateful session over the mostly stateless HTTP protocol. Although cookies have many historical infelicities that degrade their security and privacy, the Cookie and Set-Cookie header fields are widely used on the Internet. This document obsoletes RFC 6265.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-rfc6265bis-19"/>
        </reference>
        <reference anchor="Fetch" target="https://fetch.spec.whatwg.org/">
          <front>
            <title>Fetch</title>
            <author initials="" surname="whatwg" fullname="whatwg">
              <organization/>
            </author>
            <date year="2024" month="December"/>
          </front>
        </reference>
        <reference anchor="W3C.service-workers" target="https://www.w3.org/TR/service-workers/" xml:base="https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.service-workers.xml">
          <front>
            <title>Service Workers</title>
            <author/>
          </front>
          <seriesInfo name="W3C CR" value="service-workers"/>
          <seriesInfo name="W3C" value="service-workers"/>
        </reference>
        <reference anchor="WebMessaging" target="https://html.spec.whatwg.org/#web-messaging">
          <front>
            <title>HTML - Cross-document messaging</title>
            <author initials="" surname="whatwg" fullname="whatwg">
              <organization/>
            </author>
            <date year="2025" month="January"/>
          </front>
        </reference>
      </references>
      <references anchor="sec-informative-references">
        <name>Informative References</name>
        <reference anchor="RFC6819" target="https://www.rfc-editor.org/info/rfc6819" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6819.xml">
          <front>
            <title>OAuth 2.0 Threat Model and Security Considerations</title>
            <author fullname="T. Lodderstedt" initials="T." role="editor" surname="Lodderstedt"/>
            <author fullname="M. McGloin" initials="M." surname="McGloin"/>
            <author fullname="P. Hunt" initials="P." surname="Hunt"/>
            <date month="January" year="2013"/>
            <abstract>
              <t>This document gives additional security considerations for OAuth, beyond those in the OAuth 2.0 specification, based on a comprehensive threat model for the OAuth 2.0 protocol. This document is not an Internet Standards Track specification; it is published for informational purposes.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6819"/>
          <seriesInfo name="DOI" value="10.17487/RFC6819"/>
        </reference>
        <reference anchor="HTML" target="https://html.spec.whatwg.org/">
          <front>
            <title>HTML</title>
            <author initials="" surname="whatwg" fullname="whatwg">
              <organization/>
            </author>
            <date year="2025" month="January"/>
          </front>
        </reference>
        <reference anchor="OpenID" target="https://openid.net/specs/openid-connect-core-1_0-errata2.html">
          <front>
            <title>OpenID Connect Core 1.0 incorporating errata set 2</title>
            <author initials="N." surname="Sakimura">
              <organization/>
            </author>
            <author initials="J." surname="Bradley">
              <organization/>
            </author>
            <author initials="M." surname="Jones">
              <organization/>
            </author>
            <author initials="B." surname="de Medeiros">
              <organization/>
            </author>
            <author initials="C." surname="Mortimore">
              <organization/>
            </author>
            <date year="2023" month="December"/>
          </front>
        </reference>
        <reference anchor="W3C.CSP3" target="https://www.w3.org/TR/CSP3/" xml:base="https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.CSP3.xml">
          <front>
            <title>Content Security Policy Level 3</title>
            <author/>
          </front>
          <seriesInfo name="W3C WD" value="CSP3"/>
          <seriesInfo name="W3C" value="CSP3"/>
        </reference>
        <reference anchor="W3C.IndexedDB" target="https://www.w3.org/TR/IndexedDB/" xml:base="https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.IndexedDB.xml">
          <front>
            <title>Indexed Database API</title>
            <author/>
          </front>
          <seriesInfo name="W3C REC" value="IndexedDB"/>
          <seriesInfo name="W3C" value="IndexedDB"/>
        </reference>
        <reference anchor="W3C.SRI" target="https://www.w3.org/TR/SRI/" xml:base="https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.SRI.xml">
          <front>
            <title>Subresource Integrity</title>
            <author/>
          </front>
          <seriesInfo name="W3C REC" value="SRI"/>
          <seriesInfo name="W3C" value="SRI"/>
        </reference>
        <reference anchor="W3C.WebCryptoAPI" target="https://www.w3.org/TR/WebCryptoAPI/" xml:base="https://bib.ietf.org/public/rfc/bibxml4/reference.W3C.WebCryptoAPI.xml">
          <front>
            <title>Web Cryptography API</title>
            <author/>
          </front>
          <seriesInfo name="W3C REC" value="WebCryptoAPI"/>
          <seriesInfo name="W3C" value="WebCryptoAPI"/>
        </reference>
        <reference anchor="WebStorage" target="https://html.spec.whatwg.org/#webstorage">
          <front>
            <title>HTML Living Standard - Web Storage</title>
            <author initials="" surname="whatwg" fullname="whatwg">
              <organization/>
            </author>
            <date year="2025" month="January"/>
          </front>
        </reference>
        <reference anchor="WebWorker" target="https://html.spec.whatwg.org/#toc-workers">
          <front>
            <title>HTML Living Standard - Web workers</title>
            <author initials="" surname="whatwg" fullname="whatwg">
              <organization/>
            </author>
            <date year="2025" month="January"/>
          </front>
        </reference>
        <reference anchor="Site" target="https://developer.mozilla.org/en-US/docs/Glossary/Site">
          <front>
            <title>Site</title>
            <author initials="M." surname="Contributors" fullname="MDN Contributors">
              <organization>Mozilla Developer Network</organization>
            </author>
            <date>n.d.</date>
          </front>
        </reference>
        <reference anchor="OWASPCheatSheet" target="https://cheatsheetseries.owasp.org/">
          <front>
            <title>OWASP Cheat Sheet</title>
            <author>
              <organization/>
            </author>
            <date>n.d.</date>
          </front>
        </reference>
        <reference anchor="CryptoKeyPair" target="https://developer.mozilla.org/en-US/docs/Web/API/CryptoKeyPair">
          <front>
            <title>CryptoKeyPair</title>
            <author initials="M." surname="Contributors" fullname="MDN Contributors">
              <organization>Mozilla Developer Network</organization>
            </author>
            <date>n.d.</date>
          </front>
        </reference>
      </references>
    </references>
    <?line 1424?>

<section anchor="document-history">
      <name>Document History</name>
      <t>[[ To be removed from the final specification ]]</t>
      <t>-24</t>
      <ul spacing="normal">
        <li>
          <t>Updated terminology definitions</t>
        </li>
        <li>
          <t>Fixed typos</t>
        </li>
        <li>
          <t>Updated acknowledgements</t>
        </li>
      </ul>
      <t>-23</t>
      <ul spacing="normal">
        <li>
          <t>Ensure acronyms and other specifications are defined and referenced on first use, and added to terminology</t>
        </li>
        <li>
          <t>Clarified mailicious JavaScript is the basis of the threat analysis earlier in the document</t>
        </li>
        <li>
          <t>Clarified why filesystem storage of private key is a concern</t>
        </li>
        <li>
          <t>Clarified JS runtimes in intro</t>
        </li>
        <li>
          <t>Addressed feedback from secdir review</t>
        </li>
        <li>
          <t>Clarified that the specific attacks described are the relevant ones for this document because they are OAuth-specific</t>
        </li>
        <li>
          <t>Described the relationship to session fixation attacks</t>
        </li>
        <li>
          <t>Clarified that section 8 is talking about OAuth tokens specifically</t>
        </li>
        <li>
          <t>Mentioned that localStorage is synchronous</t>
        </li>
        <li>
          <t>Applied suggestions about scope of malicious JS code from Martin Thompson's review</t>
        </li>
        <li>
          <t>Clarified "attacking the service worker" to be explicit that this is about the authorization code flow</t>
        </li>
        <li>
          <t>Clarified the intent of storing the refresh token in a web worker</t>
        </li>
        <li>
          <t>Mention explicitly access token and refresh token instead of "set of tokens" on first use per section</t>
        </li>
        <li>
          <t>Slightly rephrased Web Worker section to not sound like a recommendation</t>
        </li>
        <li>
          <t>Editorial edits to remove the phrase "perfect storage mechanism"</t>
        </li>
        <li>
          <t>Fixed references</t>
        </li>
        <li>
          <t>Addressed all feedback from the genart, opsdir, artart, secdir, and httpdir reviews</t>
        </li>
      </ul>
      <t>-22</t>
      <ul spacing="normal">
        <li>
          <t>Addressed AD review</t>
        </li>
        <li>
          <t>Moved RFC6819 reference to informal</t>
        </li>
        <li>
          <t>Added missing references from prose</t>
        </li>
        <li>
          <t>Replaced references to living standards with references to snapshots</t>
        </li>
      </ul>
      <t>-21</t>
      <ul spacing="normal">
        <li>
          <t>Removed unused references</t>
        </li>
        <li>
          <t>Removed reference to TMI-BFF individual draft</t>
        </li>
        <li>
          <t>Moved some references to the normative reference section</t>
        </li>
      </ul>
      <t>-20</t>
      <ul spacing="normal">
        <li>
          <t>Handled review comments from Rifaat (email 2024-11-13)</t>
        </li>
      </ul>
      <t>-19</t>
      <ul spacing="normal">
        <li>
          <t>Updated DPoP references to RFC9449</t>
        </li>
        <li>
          <t>Corrected spelling of Brian Campbell's name</t>
        </li>
      </ul>
      <t>-18</t>
      <ul spacing="normal">
        <li>
          <t>Addressed last call comments from Justin Richer</t>
        </li>
        <li>
          <t>Updated description of the benfits of Token-Mediating Backend pattern</t>
        </li>
        <li>
          <t>Added SVG diagrams in HTML version</t>
        </li>
        <li>
          <t>Added privacy considerations for BFF pattern</t>
        </li>
        <li>
          <t>Consistent use of "grant type", "grant" and "flow"</t>
        </li>
      </ul>
      <t>-17</t>
      <ul spacing="normal">
        <li>
          <t>Added a section on anti-forgery/double-submit cookies as another form of CSRF protection</t>
        </li>
        <li>
          <t>Updated CORS terminology</t>
        </li>
        <li>
          <t>Moved new section on in-browser flows as not applicable to BFF or TM patterns</t>
        </li>
        <li>
          <t>Fixed usage of some browser technology terminology</t>
        </li>
        <li>
          <t>Editorial improvements</t>
        </li>
      </ul>
      <t>-16</t>
      <ul spacing="normal">
        <li>
          <t>Applied editorial changes from Filip Skokan and Louis Jannett</t>
        </li>
        <li>
          <t>Clarified when cookie encryption applies</t>
        </li>
        <li>
          <t>Added a section with security considerations on the use of postMessage</t>
        </li>
      </ul>
      <t>-15</t>
      <ul spacing="normal">
        <li>
          <t>Consolidated guidelines for public JS clients in a single section</t>
        </li>
        <li>
          <t>Added more focus on best practices at the start of the document</t>
        </li>
        <li>
          <t>Restructured document to have top-level recommended and discouraged architecture patterns</t>
        </li>
        <li>
          <t>Added Philippe De Ryck as an author</t>
        </li>
      </ul>
      <t>-14</t>
      <ul spacing="normal">
        <li>
          <t>Minor editorial fixes and clarifications</t>
        </li>
        <li>
          <t>Updated some references</t>
        </li>
        <li>
          <t>Added a paragraph noting the possible exfiltration of a non-exportable key from the filesystem</t>
        </li>
      </ul>
      <t>-13</t>
      <ul spacing="normal">
        <li>
          <t>Corrected some uses of "DOM"</t>
        </li>
        <li>
          <t>Consolidated CSRF recommendations into normative part of the document</t>
        </li>
        <li>
          <t>Added links from the summary into the later sections</t>
        </li>
        <li>
          <t>Described limitations of Service Worker storage</t>
        </li>
        <li>
          <t>Minor editorial improvements</t>
        </li>
      </ul>
      <t>-12</t>
      <ul spacing="normal">
        <li>
          <t>Revised overview and server support checklist to bring them up to date with the rest of the draft</t>
        </li>
        <li>
          <t>Added a new section about options for storing tokens</t>
        </li>
        <li>
          <t>Added a section on sender-constrained tokens and a reference to DPoP</t>
        </li>
        <li>
          <t>Rephrased the architecture patterns to focus on token acquisition</t>
        </li>
        <li>
          <t>Added a section discussing why not to use the Cookie API to store tokens</t>
        </li>
      </ul>
      <t>-11</t>
      <ul spacing="normal">
        <li>
          <t>Added a new architecture pattern: Token-Mediating Backend</t>
        </li>
        <li>
          <t>Revised and added clarifications for the Service Worker pattern</t>
        </li>
        <li>
          <t>Editorial improvements in descriptions of the different architectures</t>
        </li>
        <li>
          <t>Rephrased headers</t>
        </li>
      </ul>
      <t>-10</t>
      <ul spacing="normal">
        <li>
          <t>Revised the names of the architectural patterns</t>
        </li>
        <li>
          <t>Added a new pattern using a service worker as the OAuth client to manage tokens</t>
        </li>
        <li>
          <t>Added some considerations when storing tokens in Local or Session Storage</t>
        </li>
      </ul>
      <t>-09</t>
      <ul spacing="normal">
        <li>
          <t>Provide additional context for the same-domain architecture pattern</t>
        </li>
        <li>
          <t>Added reference to draft-ietf-httpbis-rfc6265bis to clarify that SameSite is not the only CSRF protection measure needed</t>
        </li>
        <li>
          <t>Editorial improvements</t>
        </li>
      </ul>
      <t>-08</t>
      <ul spacing="normal">
        <li>
          <t>Added a note to use the "Secure" cookie attribute in addition to SameSite etc</t>
        </li>
        <li>
          <t>Updates to bring this draft in sync with the latest Security BCP</t>
        </li>
        <li>
          <t>Updated text for mix-up countermeasures to reference the new "iss" extension</t>
        </li>
        <li>
          <t>Changed "SHOULD" for refresh token rotation to MUST either use rotation or sender-constraining to match the Security BCP</t>
        </li>
        <li>
          <t>Fixed references to other specs and extensions</t>
        </li>
        <li>
          <t>Editorial improvements in descriptions of the different architectures</t>
        </li>
      </ul>
      <t>-07</t>
      <ul spacing="normal">
        <li>
          <t>Clarify PKCE requirements apply only to issuing access tokens</t>
        </li>
        <li>
          <t>Change "MUST" to "SHOULD" for refresh token rotation</t>
        </li>
        <li>
          <t>Editorial clarifications</t>
        </li>
      </ul>
      <t>-06</t>
      <ul spacing="normal">
        <li>
          <t>Added refresh token requirements to AS summary</t>
        </li>
        <li>
          <t>Editorial clarifications</t>
        </li>
      </ul>
      <t>-05</t>
      <ul spacing="normal">
        <li>
          <t>Incorporated editorial and substantive feedback from Mike Jones</t>
        </li>
        <li>
          <t>Added references to "nonce" as another way to prevent CSRF attacks</t>
        </li>
        <li>
          <t>Updated headers in the Implicit grant type section to better represent the relationship between the paragraphs</t>
        </li>
      </ul>
      <t>-04</t>
      <ul spacing="normal">
        <li>
          <t>Disallow the use of the Password Grant</t>
        </li>
        <li>
          <t>Add PKCE support to summary list for authorization server requirements</t>
        </li>
        <li>
          <t>Rewrote refresh token section to allow refresh tokens if they are time-limited, rotated on each use, and requiring that the rotated refresh token lifetimes do not extend past the lifetime of the initial refresh token, and to bring it in line with the Security BCP</t>
        </li>
        <li>
          <t>Updated recommendations on using state to reflect the Security BCP</t>
        </li>
        <li>
          <t>Updated server support checklist to reflect latest changes</t>
        </li>
        <li>
          <t>Updated the same-domain JS architecture section to emphasize the architecture rather than domain</t>
        </li>
        <li>
          <t>Editorial clarifications in the section that talks about OpenID Connect ID tokens</t>
        </li>
      </ul>
      <t>-03</t>
      <ul spacing="normal">
        <li>
          <t>Updated the historic note about the fragment URL clarifying that the Session History API means browsers can use the unmodified Authorization Code grant type</t>
        </li>
        <li>
          <t>Rephrased "Authorization Code grant type" intro paragraph to better lead into the next two sections</t>
        </li>
        <li>
          <t>Softened "is likely a better decision to avoid using OAuth entirely" to "it may be..." for common-domain deployments</t>
        </li>
        <li>
          <t>Updated abstract to not be limited to public clients, since the later sections talk about confidential clients</t>
        </li>
        <li>
          <t>Removed references to avoiding OpenID Connect for same-domain architectures</t>
        </li>
        <li>
          <t>Updated headers to better describe architectures (Applications Served from a Static Web Server -&gt; JavaScript Applications without a Backend)</t>
        </li>
        <li>
          <t>Expanded "same-domain architecture" section to better explain the problems that OAuth has in this scenario</t>
        </li>
        <li>
          <t>Referenced Security BCP in Implicit grant type attacks where possible</t>
        </li>
        <li>
          <t>Minor typo corrections</t>
        </li>
      </ul>
      <t>-02</t>
      <ul spacing="normal">
        <li>
          <t>Rewrote overview section incorporating feedback from Leo Tohill</t>
        </li>
        <li>
          <t>Updated summary recommendation bullet points to split out application and server requirements</t>
        </li>
        <li>
          <t>Removed the allowance on hostname-only redirect URI matching, now requiring exact redirect URI matching</t>
        </li>
        <li>
          <t>Updated Section 6.2 to drop reference of SPA with a backend component being a public client</t>
        </li>
        <li>
          <t>Expanded the architecture section to explicitly mention three architectural patterns available to JS applications</t>
        </li>
      </ul>
      <t>-01</t>
      <ul spacing="normal">
        <li>
          <t>Incorporated feedback from Torsten Lodderstedt</t>
        </li>
        <li>
          <t>Updated abstract</t>
        </li>
        <li>
          <t>Clarified the definition of browser-based applications to not exclude applications cached in the browser, e.g. via Service Workers</t>
        </li>
        <li>
          <t>Clarified use of the state parameter for CSRF protection</t>
        </li>
        <li>
          <t>Added background information about the original reason the Implicit grant type was created due to lack of CORS support</t>
        </li>
        <li>
          <t>Clarified the same-domain use case where the SPA and API share a cookie domain</t>
        </li>
        <li>
          <t>Moved historic note about the fragment URL into the Overview</t>
        </li>
      </ul>
    </section>
    <section anchor="acknowledgements">
      <name>Acknowledgements</name>
      <t>The authors would like to acknowledge the work of William Denniss and John Bradley,
whose recommendation for native applications informed many of the best practices for
browser-based applications. The authors would also like to thank Hannes Tschofenig
and Torsten Lodderstedt, the attendees of the Internet Identity Workshop 27
session at which this BCP was originally proposed, and the following individuals
who contributed ideas, feedback, and wording that shaped and formed the final specification:</t>
      <t>Andy Barlow, Annabelle Backman, Brian Campbell, Brock Allen, Christian Mainka, Damien Bowden,
Daniel Fett, Deb Cooley, Elar Lang, Emmanuel Gautier, Eva Sarafianou,
Filip Skokan, George Fletcher, Hannes Tschofenig, Janak Amarasena, John Bradley, Joseph Heenan,
Justin Richer, Karl McGuinness, Karsten Meyer zu Selhausen, Leo Tohill, Louis Jannett,
Marc Blanchet, Martin Thomson, Matthew Bocci, Mike Jones, Qin Wu,
Rifaat Shekh-Yusef, Sean Kelleher, Thomas Broyer, Thomas Fossati, Tomek Stojecki,
Torsten Lodderstedt, Vittorio Bertocci, Watson Ladd, William Duncan, and Yannick Majoros.</t>
    </section>
  </back>
  <!-- ##markdown-source:
H4sIAAAAAAAAA+y9a5vbxpUn/p6fAo/8ImqHbF/ixIn+O/OMbo7lWJZWLW12
34wFkmA3RiTAAcBudRTPZ99zr1OFArsly/HM/kd5kkgkUajLqXM/v7NYLGZD
PWyre8Wz+4fhovjy9PNi03bFg6696qtu8aDsq3Vxf7/f1qtyqNumn63bVVPu
4Il1V26GRV0Nm0VbwsOLpTy0xIcW5X7fL778ajar9929YugO/fDl55//6fMv
Z2VXlfeKs2p16OrhenbVdm/Ou/awv1f8tVoWOI+2q/9Gryued+3Qrtrt7M3V
veJJM1RdUw2LR/jqGczoXrFc7WezVbuum/N7xaFflP2qrmf7+t6sKODJe8V1
1cNf+7YbumrT27+vd+Gfs5LeiY8s4L9FUTfwzf3T4jlMdfWmps940ffLDmfl
Pm87ePGzN0NJ/6p2Zb29V5T4s3/Z889OV+2OvoT13isuhmHf3/vsM/pJ/Av3
8uenxaOqeHG9euNe/vyi3tb7fRV9Re9/3pXnO9ixFW2hba2b0V6e/Ze9/vSq
Wvbyw/H7H50Wfy3roXJvf1Re1mv3Kb8Y9r14sq6aIXnfGn/9L+X2Tbmtm2rR
t9sD0Q+9ajZr2g4ncVnhpr/45uGXX3zxJ/nrH77+Kvz195/LX7/+w+/+IH/9
4xdff6V//fL3X+pfv/78a/nrn76yEf709ec0wpPFo1MiVdz+Zd0vus3qD1/+
4ffw14iSx1/Dw99Uw+riHq1Obgt9Qh8E0gk7dXVRDlfn8hFtp/tkXQ64mdWq
2i2rrvjiT/Piy8/hntDoZXdeDYFGNvia035frU55hFPY9M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