<?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.6.17 (Ruby 3.1.3) -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-ietf-oauth-browser-based-apps-12" category="bcp" consensus="true" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.15.3 -->
  <front>
    <title>OAuth 2.0 for Browser-Based Apps</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-oauth-browser-based-apps-12"/>
    <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="D." surname="Waite" fullname="David Waite">
      <organization>Ping Identity</organization>
      <address>
        <email>david@alkaline-solutions.com</email>
      </address>
    </author>
    <date year="2022" month="December" day="06"/>
    <area>Security</area>
    <workgroup>Web Authorization Protocol</workgroup>
    <keyword>Internet-Draft</keyword>
    <abstract>
      <t>This specification details the 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>
    <section anchor="introduction">
      <name>Introduction</name>
      <t>This specification describes the current best practices for implementing OAuth 2.0
authorization flows in applications executing in a browser.</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 BCP 212, but nicknamed "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 in native
applications, including incorporating additional OAuth extensions where needed.</t>
      <t>OAuth 2.0 for Browser-Based Apps addresses the similarities between implementing
OAuth for native apps and browser-based apps, and includes additional
considerations when running in a browser. This is primarily focused on OAuth,
except where OpenID Connect provides additional considerations.</t>
      <t>Many of these recommendations are derived from the OAuth 2.0 Security Best Current Practice
<xref target="oauth-security-topics"/> and browser-based apps are expected to follow those recommendations
as well. This draft expands on and further restricts various recommendations in <xref target="oauth-security-topics"/>.</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 <xref target="RFC2119"/>.</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>While this document often refers to "JavaScript apps", this is not intended to be exclusive to JavaScript. The recommendations and considerations herein also apply to other languages that execute code in the browser, such as Web Assembly.</t>
    </section>
    <section anchor="overview">
      <name>Overview</name>
      <t>At the time that OAuth 2.0 <xref target="RFC6749"/> and <xref target="RFC6750"/> were created, 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 flow which would require a cross-origin POST request. This 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="oauth-security-topics"/>.</t>
      <t>In recent years, widespread adoption of Cross-Origin Resource Sharing (CORS), which enables exceptions to the same-origin policy, allows browser-based apps 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. In this flow, the access token is never exposed in the less-secure front channel. Furthermore, adding PKCE to the flow 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 flow with PKCE. There are various architectural patterns for deploying browser-based apps, both with and without a corresponding server-side component, each with their own trade-offs and considerations, discussed further in this document. Additional considerations apply for first-party common-domain apps.</t>
      <t>In summary, browser-based applications using the Authorization Code flow:</t>
      <ul spacing="normal">
        <li>MUST use PKCE (<xref target="RFC7636"/>) when obtaining an access token</li>
        <li>
          <t>MUST Protect themselves against CSRF attacks by either:
          </t>
          <ul spacing="normal">
            <li>ensuring the authorization server supports PKCE, or</li>
            <li>by using the OAuth 2.0 "state" parameter or the OpenID Connect "nonce" parameter to carry one-time use CSRF tokens</li>
          </ul>
        </li>
        <li>MUST Register one or more redirect URIs, and use only exact registered redirect URIs in authorization requests</li>
      </ul>
      <t>In summary, OAuth 2.0 authorization servers supporting browser-based applications using the Authorization Code flow:</t>
      <ul spacing="normal">
        <li>MUST Require exact matching of registered redirect URIs</li>
        <li>MUST Support the PKCE extension</li>
        <li>MUST NOT issue access tokens in the authorization response</li>
        <li>
          <t>If issuing refresh tokens to browser-based applications, then:
          </t>
          <ul spacing="normal">
            <li>MUST rotate refresh tokens on each use or use sender-constrained refresh tokens, and</li>
            <li>MUST set a maximum lifetime on refresh tokens or expire if they are not used in some amount of time</li>
            <li>when issuing a rotated refresh token, MUST NOT extend the lifetime of the new refresh token beyond the lifetime of the original refresh token if the refresh token has a preestablished expiration time</li>
          </ul>
        </li>
      </ul>
    </section>
    <section anchor="first-party-applications">
      <name>First-Party Applications</name>
      <t>While OAuth was initially created to allow third-party
applications to access an API on behalf of a user, it has proven to be
useful in a first-party scenario as well. First-party apps are applications where
the same organization provides both the API and the application.</t>
      <t>Examples of first-party applications are a web email client provided by the operator of the email account,
or a mobile banking application created by bank itself. (Note that there is no
requirement that the application actually be developed by the same company; a mobile
banking application developed by a contractor that is branded as the bank's
application is still considered a first-party application.) The first-party app
consideration is about the user's relationship to the application and the service.</t>
      <t>To conform to this best practice, first-party applications using OAuth or OpenID
Connect MUST use a redirect-based flow (such as the OAuth Authorization Code flow)
as described later in this document.</t>
      <t>The resource owner password credentials grant MUST NOT be used, as described in
<xref target="oauth-security-topics"/> Section 2.4. Instead, by using the Authorization Code flow
and redirecting the user to the authorization server,
this provides the authorization server the opportunity to prompt the user for
multi-factor 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 be extended with custom code.</t>
    </section>
    <section anchor="application-architecture-patterns">
      <name>Application Architecture Patterns</name>
      <t>Here are the main architectural patterns available when building browser-based
applications.</t>
      <ul spacing="normal">
        <li>single-domain, not using OAuth</li>
        <li>
          <t>a JavaScript application with a stateful backend component
          </t>
          <ul spacing="normal">
            <li>storing tokens and proxying all requests (BFF Proxy)</li>
            <li>obtaining tokens and passing them to the frontend (Token Mediating Backend)</li>
          </ul>
        </li>
        <li>
          <t>a JavaScript application obtaining access tokens
          </t>
          <ul spacing="normal">
            <li>via code executed in the DOM</li>
            <li>through a service worker</li>
          </ul>
        </li>
      </ul>
      <t>These architectures have different use cases and considerations.</t>
      <section anchor="single-domain-browser-based-apps-not-using-oauth">
        <name>Single-Domain Browser-Based Apps (not using OAuth)</name>
        <t>For simple system architectures, such as when the JavaScript application is served
from a domain that can share cookies with the domain of the API (resource server) and the authorization server,
OAuth adds additional attack vectors that could be avoided with a different solution.</t>
        <t>In particular, using any redirect-based mechanism of obtaining an access token
enables the redirect-based attacks described in <xref target="oauth-security-topics"/> Section 4, but if
the application, authorization server and resource server share a domain, then it is
unnecessary to use a redirect mechanism to communicate between them.</t>
        <t>An additional concern with handling access tokens in a browser is that
in case of successful cross-site scripting (XSS) attack, tokens could be read and further used or transmitted by the injected code if no
secure storage mechanism is in place.</t>
        <t>As such, it could be considered to use an HTTP-only cookie between the JavaScript application
and API so that the JavaScript code can't access the cookie value itself. The <tt>Secure</tt> cookie attribute should be used to ensure the cookie is not included in unencrypted HTTP requests. Additionally, the <tt>SameSite</tt> cookie attribute can be used to counter some CSRF attacks,
but should not be considered the extent of the CSRF protection, as described in <xref target="draft-ietf-httpbis-rfc6265bis"/></t>
        <t>OAuth was originally created for third-party or federated access to APIs, so it may not be
the best solution in a common-domain deployment. That said, there are still some advantages
in using OAuth even in a common-domain architecture:</t>
        <ul spacing="normal">
          <li>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.</li>
          <li>Being able to take advantage of existing library support rather than writing bespoke code for the integration.</li>
          <li>Centralizing login and multifactor support, account management, and recovery at the OAuth server, rather than making it part of the application logic.</li>
          <li>Splitting of responsibilities between authenticating a user and serving resources</li>
        </ul>
        <t>Using OAuth for browser-based apps in a first-party same-domain scenario provides these advantages, and can be accomplished by any of the architectural patterns described below.</t>
      </section>
      <section anchor="bff-proxy">
        <name>Backend For Frontend (BFF) Proxy</name>
        <artwork><![CDATA[
+-------------+  +--------------+ +---------------+
|             |  |              | |               |
|Authorization|  |    Token     | |   Resource    |
|  Endpoint   |  |   Endpoint   | |    Server     |
|             |  |              | |               |
+-------------+  +--------------+ +---------------+

       ^                ^                   ^
       |             (D)|                (G)|
       |                v                   v
       |
       |         +--------------------------------------+
       |         |                                      |
       |         |   Backend for Frontend Proxy (BFF)   |
    (B)|         |                                      |
       |         +--------------------------------------+
       |
       |           ^     ^     +          ^    +
       |        (A)|  (C)|  (E)|       (F)|    |(H)
       v           v     +     v          +    v

+-------------------------------------------------+
|                                                 |
|                   Browser                       |
|                                                 |
+-------------------------------------------------+
]]></artwork>
        <t>In this architecture, commonly referred to as "backend for frontend" or "BFF", the JavaScript code is loaded from a dynamic BFF Proxy (A) that has the ability to execute code and handle the full authentication flow itself. This enables the ability to keep
the call to actually get an access token outside the JavaScript application.</t>
        <t>Note that this BFF Proxy is not the Resource Server, it is the OAuth client and would be accessing data at a separate resource server.</t>
        <t>In this case, the BFF Proxy initiates the OAuth flow itself, by redirecting the browser to the authorization endpoint (B). When the user is redirected back, the browser delivers the authorization code to the BFF Proxy (C), where it can then exchange it for an access token at the token endpoint (D) using its client secret and PKCE code verifier.
The BFF Proxy then keeps the access token and refresh token stored internally, and creates a separate session with the browser-based app via a
traditional browser cookie (E).</t>
        <t>When the JavaScript application in the browser wants to make a request to the Resource Server,
it instead makes the request to the BFF Proxy (F), and the BFF Proxy will
make the request with the access token to the Resource Server (G), and forward the response (H)
back to the browser.</t>
        <t>(Common examples of this architecture are an Angular front-end with a .NET backend, or
a React front-end with a Spring Boot backend.)</t>
        <t>The BFF Proxy SHOULD be considered a confidential client, and issued its own client secret. The BFF Proxy SHOULD use the OAuth 2.0 Authorization Code grant with PKCE to initiate a request for an access token. Detailed recommendations for confidential clients can be found in <xref target="oauth-security-topics"/> Section 2.1.1.</t>
        <t>In this scenario, the connection between the browser and BFF Proxy SHOULD be a
session cookie provided by the BFF Proxy.</t>
        <section anchor="security-considerations">
          <name>Security considerations</name>
          <t>Security of the connection between code running in the browser and this BFF Proxy is
assumed to utilize browser-level protection mechanisms. Details are out of scope of
this document, but many recommendations can be found in the OWASP Cheat Sheet series (<eref target="https://cheatsheetseries.owasp.org">https://cheatsheetseries.owasp.org</eref>),
such as setting an HTTP-only and <tt>Secure</tt> cookie to authenticate the session between the
browser and BFF Proxy. Additionally, cookies MUST be protected from leakage by other means, such as logs.</t>
          <t>In this architecture, tokens are never sent to the front-end and are never accessible by any JavaScript code, so it fully protects against XSS attackers stealing tokens. However, an XSS attacker may still be able to make authenticated requests to the BFF Proxy which will in turn make requests to the resource server including the user's legitimate token. While the attacker is unable to extract and use the access token elsewhere, they can still effectively make authenticated requests to the resource server.</t>
        </section>
      </section>
      <section anchor="tm-backend">
        <name>Token Mediating Backend</name>
        <t>An alternative to a full BFF where all resource requests go through the backend is to use a token mediating backend which obtains the tokens and then forwards the tokens to the browser.</t>
        <artwork><![CDATA[
+-------------+  +--------------+ +---------------+
|             |  |              | |               |
|Authorization|  |    Token     | |   Resource    |
|  Endpoint   |  |   Endpoint   | |    Server     |
|             |  |              | |               |
+-------------+  +--------------+ +---------------+

       ^                ^                      ^
       |             (D)|                      |
       |                v                      |
       |                                       |
       |    +-------------------------+        |
       |    |                         |        |
       |    | Token Mediating Backend |        |
    (B)|    |                         |        |
       |    +-------------------------+        |
       |                                       |
       |           ^     ^     +               |
       |        (A)|  (C)|  (E)|            (F)|
       v           v     +     v               +

+-------------------------------------------------+
|                                                 |
|                   Browser                       |
|                                                 |
+-------------------------------------------------+
]]></artwork>
        <t>The frontend code makes a request to the Token Mediating Backend (A), and the backend initiates the OAuth flow itself, by redirecting the browser to the authorization endpoint (B). When the user is redirected back, the browser delivers the authorization code to the application server (C), where it can then exchange it for an access token at the token endpoint (D) using its client secret and PKCE code verifier. The backend delivers the tokens to the browser (E), which stores them for later use. The browser makes requests to the resource server directly (F) including the token it has stored.</t>
        <t>The main advantage this architecture provides over the full BFF architecture previously described is that the backend service is only involved in the acquisition of tokens, and doesn't have to proxy every request in the future. Routing every API call through a backend can be expensive in terms of performance and latency, and can create challenges in deploying the application across many regions. Instead, routing only the token acquisition through a backend means fewer requests are made to the backend. This improves the performance and reduces the latency of requests from the frontend, and reduces the amount of infrastructure needed in the backend.</t>
        <t>Similar to the previously described BFF Proxy pattern, The Token Mediating Backend SHOULD be considered a confidential client, and issued its own client secret. The Token Mediating Backend SHOULD use the OAuth 2.0 Authorization Code grant with PKCE to initiate a request for an access token. Detailed recommendations for confidential clients can be found in <xref target="oauth-security-topics"/> Section 2.1.1.</t>
        <t>In this scenario, the connection between the browser and Token Mediating Backend SHOULD be a session cookie provided by the backend.</t>
        <t>The Token Mediating Backend SHOULD cache tokens it obtains from the authorization server such that when the frontend needs to obtain new tokens, it can do so without the additional round trip to the authorization server if the tokens are still valid.</t>
        <t>The frontend SHOULD NOT persist tokens in local storage or similar mechanisms; instead, the frontend SHOULD store tokens only in memory, and make a new request to the backend if no tokens exist. This provides fewer attack vectors for token exfiltration should an XSS attack be successful.</t>
        <t>Editor's Note: A method of implementing this architecture is described by the <xref target="tmi-bff"/> draft, although it is currently an expired individual draft and has not been proposed for adoption to the OAuth Working Group.</t>
        <!-- TODO: Reference TMI BFF if the draft is picked up again https://www.ietf.org/archive/id/draft-bertocci-oauth2-tmi-bff-01.html -->

<section anchor="security-considerations-1">
          <name>Security Considerations</name>
          <t>If the backend caches tokens from the authorization server, it presents scopes elevation risks if applied indiscriminately. If the token cached by the authorization server features a superset of the scopes requested by the frontend, the backend SHOULD NOT return it to the frontend; instead it SHOULD perform a new request with the smaller set of scopes to the authorization server.</t>
          <t>In the case of a successful XSS attack, the attacker may be able to access the tokens if the tokens are persisted in the frontend, but is less likely to be able to access the tokens if they are stored only in memory. However, a successful XSS attack will also allow the attacker to call the Token Mediating Backend itself to retrieve the cached token or start a new OAuth flow.</t>
        </section>
      </section>
      <section anchor="javascript-apps-direct-tokens">
        <name>JavaScript Applications obtaining tokens directly</name>
        <t>This section describes the architecture of a JavaScript application obtaining tokens from the authorization server itself, with no intermediate proxy server and no backend component.</t>
        <artwork><![CDATA[
                      +---------------+           +--------------+
                      |               |           |              |
                      | Authorization |           |   Resource   |
                      |    Server     |           |    Server    |
                      |               |           |              |
                      +---------------+           +--------------+

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

+-----------------+         +-------------------------------+
|                 |   (A)   |                               |
| Static Web Host | +-----> |           Browser             |
|                 |         |                               |
+-----------------+         +-------------------------------+
]]></artwork>
        <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. This application is considered a public
client, since there is no way to issue it a client secret in this model.</t>
        <t>The code in the browser initiates the Authorization Code flow with the PKCE
extension (described in <xref target="authorization_code_flow"/>) (B) above, and obtains an
access token via a POST request (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.</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. It includes the access token in the request (D)
and receives the Resource Server's response (E).</t>
        <t>In this scenario, the Authorization Server and Resource Server MUST support
the necessary CORS headers to enable the JavaScript code to make these POST requests
from the domain on which the script is executing. (See <xref target="cors"/> for additional details.)</t>
        <t>Besides the general risks of XSS, if tokens are stored or handled by the browser, XSS poses an additional risk of token exfiltration. In this architecture, the JavaScript application is storing the access token so that it can make requests directly to the resource server. There are two primary methods by which the application can acquire tokens, with different security considerations of each.</t>
        <section anchor="acquiring-tokens-from-the-dom">
          <name>Acquiring tokens from the DOM</name>
          <t>If the JavaScript in the DOM will be making requests directly to the resource server, the simplest mechanism is to acquire and store the tokens somewhere accessible to the DOM. This will typically involve DOM-accessible code initiating the authorization code flow and exchanging the authorization code for an access token, and storing the access token obtained. There are a number of different options for storing tokens with different tradeoffs, described in <xref target="token-storage"/>.</t>
          <t>This method poses a particular risk in the case of a successful XSS attack. In case of a successful XSS attack, the injected code will have full access to the stored tokens and can exfiltrate them to the attacker.</t>
        </section>
        <section anchor="service-worker">
          <name>Acquiring tokens from a Service Worker</name>
          <t>In this model, a <eref target="https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API">Service Worker</eref> is responsible for obtaining tokens from the authorization server and making requests to the resource server.</t>
          <t>Service workers are run in a separate context from the DOM, have no access to the DOM, and the DOM has no access to the service worker or the storage available to the service worker. This makes service workers the most secure place to acquire and store tokens, as an XSS attack would be unable to exfiltrate the tokens.</t>
          <t>In this architecture, a service worker intercepts calls from the frontend to the resource server. As such, it completely isolates calls to the authorization server from XSS attack surface, as all tokens are safely kept in the service worker context without any access from other JavaScript contexts. The service worker is then solely responsible for adding the token in the authorization header to calls to the resource server.</t>
          <artwork><![CDATA[
                                                                 Resource               Authorization
  User       Application        Service Worker                    server                   server
   |   browse     |                   |                              |                        |
   | ------------>|                   |                              |                        |
   |              |------------------->                              |           /authorize   |
   |              |                   -------------------------------------------------------->
   |              |                   |                 redirect w/ authorization code        |
   |              |                   < - - - - - - - - - - - - - - - - - - - - - - - - - - - |
   |              |                   |                              |                        |
   |              |                   |  token request w/ auth code  |               /token   |
   |              |                   | ------------------------------------------------------>
   |              |                   | <- - - - - - - - - - - - - - - - - - - - - - - - - - -|
   |              |                   |                              |                        |
   |              | resource request  |                              |                        |
   |              |-------------------> resource request with token  |                        |
   |              |                   | ---------------------------->|                        |
   |              |                   |                              |                        |
  User       Application        Service Worker                   Resource               Authorization
                                                                  server                   server
]]></artwork>
          <section anchor="implementation-guidelines">
            <name>Implementation Guidelines</name>
            <ul spacing="normal">
              <li>The service worker MUST initiate the OAuth 2.0 Authorization Code grant with PKCE itself.</li>
              <li>The service worker MUST intercept the authorization code when the <em>authorization server</em> redirects to the application.</li>
              <li>The service worker implementation MUST then initiate the token request itself.</li>
              <li>The service worker MUST not transmit tokens, authorization codes or PKCE secrets (e.g. code verifier) to the frontend application.</li>
              <li>The service worker MUST block authorization requests and token requests initiating from the frontend application in order to avoid any front-end side-channel for getting credentials: the only way of starting the authorization flow is through the service worker. This protects against re-authorization from XSS-injected code.</li>
              <li>The application MUST register the Service Worker before running any code interacting with the user.</li>
            </ul>
          </section>
          <section anchor="security-considerations-2">
            <name>Security Considerations</name>
            <t>A successful XSS attack on an application using this Service Worker pattern would be unable to exfiltrate existing tokens stored by the application. However, an XSS attacker may still be able to cause the Service Worker to make authenticated requests to the resource server including the user's legitimate token.</t>
            <t>In case of a vulnerability leading to the Service Worker not being registered, an XSS attack would result in the attacker being able to initiate a new OAuth flow to obtain new tokens itself.</t>
            <t>To prevent the Service Worker from being unregistered, the Service Worker registration must happen as first step of the application start, and before any user interaction. Starting the Service worker before the rest of the application, and the fact that <eref target="https://www.w3.org/TR/service-workers/#navigator-service-worker-unregister">there is no way to remove a Service Worker from an active application</eref>, reduces the risk of an XSS attack being able to prevent the Service Worker from being registered.</t>
          </section>
        </section>
      </section>
    </section>
    <section anchor="authorization_code_flow">
      <name>Authorization Code Flow</name>
      <t>Browser-based applications that are public clients and use the Authorization Code grant type described in
Section 4.1 of OAuth 2.0 <xref target="RFC6749"/> MUST also follow these additional requirements
described in this section.</t>
      <section anchor="auth_code_request">
        <name>Initiating the Authorization Request from a Browser-Based Application</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>
        <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>using PKCE, and confirming that the authorization server supports PKCE</li>
          <li>using a unique value for the OAuth 2.0 "state" parameter</li>
          <li>if the application is using OpenID Connect, by using the OpenID Connect "nonce" parameter</li>
        </ul>
      </section>
      <section anchor="auth_code_redirect">
        <name>Handling the Authorization Code Redirect</name>
        <t>Authorization servers MUST require an exact match of a registered redirect URI.
As described in <xref target="oauth-security-topics"/> Section 4.1.1. this helps to prevent attacks targeting the authorization code.</t>
      </section>
    </section>
    <section anchor="refresh_tokens">
      <name>Refresh Tokens</name>
      <t>Refresh tokens provide a way for applications to obtain a new access token when the
initial access token expires. With public clients, 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>Javascript-accessible storage mechanisms like <em>Local Storage</em> provide an attacker with several opportunities by which a
refresh token can be leaked, just as with access tokens. As such, these mechanisms
are considered a higher risk for handling refresh tokens.</t>
      <t>Authorization servers may choose whether or not to issue refresh tokens to browser-based
applications. <xref target="oauth-security-topics"/> 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="oauth-security-topics"/>
around refresh tokens if refresh tokens are issued to browser-based applications.</t>
      <t>In particular, authorization servers:</t>
      <ul spacing="normal">
        <li>MUST either rotate refresh tokens on each use OR use sender-constrained refresh tokens as described in <xref target="oauth-security-topics"/> Section 4.13.2</li>
        <li>MUST either set a maximum lifetime on refresh tokens OR expire if the refresh token has not been used within some amount of time</li>
        <li>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</li>
      </ul>
      <t>For example:</t>
      <ul spacing="normal">
        <li>A user authorizes an application, issuing an access token that lasts 1 hour, and a refresh token that lasts 24 hours</li>
        <li>After 1 hour, the initial access token expires, so the application uses the refresh token to get a new access token</li>
        <li>The authorization server returns a new access token that lasts 1 hour, and a new refresh token that lasts 23 hours</li>
        <li>This continues until 24 hours pass from the initial authorization</li>
        <li>At this point, when the application attempts to use the refresh token after 24 hours, the request will fail and the application will have to involve the user in a new authorization request</li>
      </ul>
      <t>By limiting the overall refresh token lifetime to the lifetime of the initial refresh token, this ensures a stolen refresh token cannot be used indefinitely.</t>
      <t>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 anchor="token-storage">
      <name>Token Storage in the Browser</name>
      <t>When using an architectural pattern that involves the browser-based code obtaining tokens itself, the application will ultimately need to store the tokens it acquires for later use. This applies to both the Token-Mediating Backend architecture as well as any architecture where the JavaScript code is the OAuth client itself and does not have a corresponding backend component.</t>
      <t>This section is primarily concerned with the ability for an attacker to exfiltrate the tokens from where they are stored. Token exfiltration may occur via an XSS attack, via injected code from a browser extension, via malicious code deployed to the application such as via upstream dependencies of a package management system, or by the attacker getting access to the filesystem of the user's machine via malware.</t>
      <t>There are a number of storage options available to browser-based applications, and more may be created in the future. The different options have different use cases and considerations, and there is no clear "best" option that applies to every scenario. Tokens can be:</t>
      <ul spacing="normal">
        <li>Stored and managed by a Service Worker</li>
        <li>Stored in memory only, in particular stored in a closure variable rather than an object property</li>
        <li>Stored in LocalStorage, SessionStorage, or IndexedDB</li>
        <li>Stored in an encrypted format using the WebCrypto API to encrypt and decrypt from storage</li>
      </ul>
      <section anchor="cookies">
        <name>Cookies</name>
        <t>The Cookie API is a mechanism that is technically possible to use as storage from JavaScript, but is NOT RECOMMENDED as a place to store tokens that will be later accessed from JavaScript. (Note that this statement does not affect the BFF pattern described in <xref target="bff-proxy"/> since in that pattern the tokens are never accessible to the browser-based code.)</t>
        <t>When JavaScript code stores a token, the intent is for it to be able to retrieve the token for later use in an API call. Using the Cookie API to store the token has the unintended side effect of the browser also sending the token to the web server the next time the app is loaded, or on any API calls the app makes to its own backend.</t>
        <t>Illustrating this example with the diagram in <xref target="javascript-apps-direct-tokens"/>, the app would acquire the tokens in step C, store them in a cookie, and the next time the app loads from the Static Web Host, the browser would transmit the tokens in the Cookie header to the Static Web Host unnecessarily. Instead, the tokens should be stored using an API that is only accessible to JavaScript, such as the methods described below, so that the tokens are only sent outside the browser when intended.</t>
      </section>
      <section anchor="token-storage-service-worker">
        <name>Token Storage in a Service Worker</name>
        <t>Obtaining and storing the tokens with a service worker is the most secure option for unencrypted storage, as that isolates the tokens from XSS attacks. This is described in <xref target="service-worker"/>. This, like the other unencrypted options, do not provide any protection against exfiltration from the filesystem.</t>
      </section>
      <section anchor="token-storage-in-memory">
        <name>In-Memory Token Storage</name>
        <t>If using a service worker is not a viable option, the next most secure option is to store tokens in memory only. To prevent XSS attackers from exfiltrating the tokens, a "token manager" class can store the token in a closure variable (rather than an object property), and manage all calls to the resource server itself, never letting the access token be accessible outside this manager class.</t>
        <t>However, the major downside to this approach is that the tokens will not be persisted between page reloads. If that is a property you would like, then the next best options are one of the persistent browser storage APIs.</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, SessionStorage, and 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.</t>
        <t>SessionStorage is similar to LocalStorage, except that SessionStorage is cleared when a browser tab is closed, and is not shared between multiple tabs open to pages on the same origin. This slightly reduces the chance of a successful XSS attack, since a user who clicks a link carrying an XSS payload would open a new tab, and wouldn't have access to the existing tokens stored. However there are still other variations of XSS attacks that can compromise this storage.</t>
        <t>IndexedDB is a persistent storage mechanism like LocalStorage, but is shared between multiple tabs as well as between the DOM and Service Workers.</t>
      </section>
      <section anchor="filesystem-considerations">
        <name>Filesystem Considerations for Browser Storage APIs</name>
        <t>In all cases, as of this writing, browsers ultimately store data in plain text on the filesystem. Even if an application does not suffer from an XSS attack, other software on the computer may be able to read the filesystem and exfiltrate tokens from the storage.</t>
        <t>The <xref target="WebCrypto"/> API provides a mechanism for JavaScript code to generate a private 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 WebCrypto 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 anchor="sender-constrained-tokens">
        <name>Sender-Constrained Tokens</name>
        <t>Sender-constrained tokens require that the OAuth client 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.</t>
        <t>One method of implementing sender-constrained tokens in a way that is usable from browser-based apps is <xref target="DPoP"/>.</t>
        <t>Using sender-constrained tokens shifts the challenge of securely storing the token to securely storing the private key.</t>
        <t>If an application is using sender-constrained tokens, the secure storage of the private key is more important than the secure storage of the token. Ideally the application should use a non-exportable private key, such as generating one with the <xref target="WebCrypto"/> API. With an unencrypted token in LocalStorage 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 XSS attacks, such as by generating and storing it in a closure variable or in a Service Worker. This is similar to the considerations for storing tokens in a Service Worker, as described in <xref target="service-worker"/>.</t>
      </section>
    </section>
    <section anchor="security-considerations-3">
      <name>Security Considerations</name>
      <section anchor="cross-site-scripting">
        <name>Cross-Site Scripting Attacks (XSS)</name>
        <t>For all known architectures, all precautions MUST be taken to prevent cross-site scripting (XSS) attacks.
In general, XSS attacks are a huge risk, and can lead to full compromise of the application.</t>
        <t>If tokens are handled or accessible by the browser, there is a risk that a XSS attack can lead to token exfiltration.</t>
        <t>Even if tokens are never sent to the frontend and are never accessible by any JavaScript code, an XSS attacker may still be able to make authenticated requests to the resource server by mimicking legitimate code in the DOM. For example, the attacker may make a request to the BFF Proxy which will in turn make requests to the resource server including the user's legitimate token. In the Service Worker example, the attacker may make an API call to the Service Worker which will then turn around and make a request to the resource server with the legitimate token. While the attacker is unable to extract and use the access token elsewhere, they can still effectively make authenticated requests to the resource server to steal or modify data.</t>
      </section>
      <section anchor="token-exfiltration">
        <name>Reducing the Impact of Token Exfiltration</name>
        <t>If tokens are ever accessible to the browser or to any JavaScript code, there is always a risk of token exfiltration. The particular risk may change depending on the architecture chosen. Regardless of the particular architecture chosen, these additional security considerations limit the impact of token exfiltration:</t>
        <ul spacing="normal">
          <li>The authorization server SHOULD restrict access tokens to strictly needed resources, to avoid escalating the scope of the attack.</li>
          <li>To avoid information disclosure from ID Tokens, the authorization server SHOULD NOT include any ID token claims that aren't used by the frontend.</li>
          <li>Refresh tokens should be used in accordance with the guidance in <xref target="refresh_tokens"/>.</li>
        </ul>
      </section>
      <section anchor="client_registration">
        <name>Registration of Browser-Based Apps</name>
        <t>Browser-based applications (with no backend) are considered public clients as defined by Section 2.1
of OAuth 2.0 <xref target="RFC6749"/>, and MUST be registered with the authorization server as
such. Authorization servers MUST record the client type in the client registration
details in order to identify and process requests accordingly.</t>
        <t>Authorization servers MUST require that browser-based applications register
one or more redirect URIs.</t>
      </section>
      <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 cannot contain provisioned secrets. As such, a browser-based app
with native OAuth support is considered a public client as defined by Section 2.1
of OAuth 2.0 <xref 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 Section 5.3.1 of <xref target="RFC6819"/>, it is NOT RECOMMENDED
for authorization servers to require client authentication of browser-based
applications using a shared secret, as this serves little value beyond
client identification which is already provided by the client_id request 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 Section 10.2 of OAuth 2.0 <xref target="RFC6749"/>, the authorization
server SHOULD NOT process authorization requests automatically
without user consent or interaction, except when the identity of the
client can be assured.</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 client_id
has already been approved.</t>
      </section>
      <section anchor="csrf_protection">
        <name>Cross-Site Request Forgery Protections</name>
        <t>Clients MUST prevent Cross-Site Request Forgery (CSRF) attacks against their redirect URI.
Clients can accomplish this by either ensuring the authorization server supports
PKCE and relying on the CSRF protection that PKCE provides, or if the client is also an
OpenID Connect client, using the OpenID Connect "nonce" parameter, or by using the
"state" parameter to carry one-time-use CSRF tokens as described in <xref target="auth_code_request"/>.</t>
        <t>See Section 2.1 of <xref target="oauth-security-topics"/> for additional details.</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. To conform to this BCP such clients MUST apply
countermeasures to defend against mix-up attacks.</t>
        <t>It is RECOMMENDED to defend against mix-up attacks by identifying and validating the issuer
of the authorization response. This can be achieved either by using the "iss" response
parameter, as defined in <xref target="oauth-iss-auth-resp"/>, or by using the "iss" Claim of the ID token
when OpenID Connect is used.</t>
        <t>Alternative countermeasures, such as using distinct redirect URIs for each issuer, SHOULD
only be used if identifying the issuer as described is not possible.</t>
        <t>Section 4.4 of <xref target="oauth-security-topics"/> provides additional details about mix-up attacks
and the countermeasures mentioned above.</t>
      </section>
      <section anchor="cors">
        <name>Cross-Domain Requests</name>
        <t>To complete the Authorization Code flow, the browser-based application will
need to exchange the authorization code for an access token at the token endpoint.
If the authorization server provides additional endpoints to the application, such
as metadata URLs, dynamic client registration, revocation, introspection, discovery or
user info endpoints, these endpoints may also be accessed by the browser-based app.
Since these requests will be made from a browser, authorization servers MUST support
the necessary CORS headers (defined in <xref target="Fetch"/>) to allow the browser to make the
request.</t>
        <t>This specification does not include guidelines for deciding whether a CORS policy
for the token endpoint should be a wildcard origin or more restrictive. Note,
however, that the browser will attempt to GET or POST to the API endpoint before
knowing any CORS policy; it simply hides the succeeding or failing result from
JavaScript if the policy does not allow sharing.</t>
      </section>
      <section anchor="csp">
        <name>Content Security Policy</name>
        <t>A browser-based application that wishes to use either long-lived refresh tokens or
privileged scopes SHOULD restrict its JavaScript execution to a set of statically
hosted scripts via a Content Security Policy (<xref target="CSP3"/>) or similar mechanism. A
strong Content Security Policy can limit the potential attack vectors for malicious
JavaScript to be executed on the page.</t>
      </section>
      <section anchor="implicit_flow">
        <name>OAuth Implicit Flow</name>
        <t>The OAuth 2.0 Implicit flow (defined in Section 4.2 of
OAuth 2.0 <xref target="RFC6749"/>) works by the authorization server issuing an access token in the
authorization response (front channel) without the 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>Authorization servers MUST NOT issue access tokens in the authorization response, and MUST issue
access tokens only from the token endpoint.</t>
        <section anchor="attacks-on-the-implicit-flow">
          <name>Attacks on the Implicit Flow</name>
          <t>Many attacks on the Implicit flow described by <xref target="RFC6819"/> and Section 4.1.2 of <xref target="oauth-security-topics"/>
do not have sufficient mitigation strategies. The following sections describe the specific
attacks that cannot be mitigated while continuing to use the Implicit flow.</t>
          <section anchor="threat-manipulation-of-the-redirect-uri">
            <name>Threat: 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="oauth-security-topics"/>.</t>
          </section>
          <section anchor="threat-access-token-leak-in-browser-history">
            <name>Threat: 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 Section 4.3.2 of <xref target="oauth-security-topics"/>.</t>
          </section>
          <section anchor="threat-manipulation-of-scripts">
            <name>Threat: 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 man-in-the-middle attacks are typically out of scope
of basic security recommendations to prevent, in the case of browser-based apps 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="threat-access-token-leak-to-third-party-scripts">
            <name>Threat: Access Token Leak to Third-Party Scripts</name>
            <t>It is relatively common to use third-party scripts in browser-based apps, 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="countermeasures">
          <name>Countermeasures</name>
          <t>In addition to the countermeasures described by <xref target="RFC6819"/> and <xref target="oauth-security-topics"/>,
using the Authorization Code flow with PKCE extension prevents the attacks described above by
avoiding returning the access token in the redirect response at all.</t>
          <t>When PKCE is used, if an authorization code is stolen in transport, the attacker is
unable to do anything with the authorization code.</t>
        </section>
        <section anchor="disadvantages-of-the-implicit-flow">
          <name>Disadvantages of the Implicit Flow</name>
          <t>There are several additional reasons the Implicit flow is disadvantageous compared to
using the standard Authorization Code flow.</t>
          <ul spacing="normal">
            <li>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.</li>
            <li>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.</li>
            <li>Supporting the Implicit flow requires additional code, more upkeep and
understanding of the related security considerations, while limiting the
authorization server to just the Authorization Code flow reduces the attack surface
of the implementation.</li>
            <li>If the JavaScript application gets wrapped into a native app, then <xref target="RFC8252"/>
also requires the use of the Authorization Code flow with PKCE anyway.</li>
          </ul>
          <t>In OpenID Connect, the ID Token is sent in a known format (as a JWT), and digitally
signed. Returning an ID token using the Implicit flow (<tt>response_type=id_token</tt>) requires the client
validate the JWT signature, as malicious parties could otherwise craft and supply
fraudulent ID tokens. Performing OpenID Connect using the Authorization Code flow provides
the benefit of the client not needing to verify the JWT signature, as the ID token will
have been fetched over an HTTPS connection directly from the authorization server. Additionally,
in many cases an application will request both an ID token and an access token, so it is
simplier and provides fewer attack vectors to obtain both via the Authorization Code flow.</t>
        </section>
        <section anchor="historic-note">
          <name>Historic Note</name>
          <t>Historically, the Implicit flow provided an advantage to browser-based apps 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.</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. This means modern browser-based apps can
use the unmodified OAuth 2.0 Authorization Code flow, 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.</t>
        </section>
      </section>
      <section anchor="additional-security-considerations">
        <name>Additional Security Considerations</name>
        <t>The OWASP Foundation (https://www.owasp.org/) maintains a set of security
recommendations and best practices for web applications, and it is RECOMMENDED
to follow these best practices when creating an OAuth 2.0 Browser-Based application.</t>
      </section>
    </section>
    <section anchor="iana">
      <name>IANA Considerations</name>
      <t>This document does not require any IANA actions.</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <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="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="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="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="draft-ietf-httpbis-rfc6265bis" target="https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis">
          <front>
            <title>Cookies: HTTP State Management Mechanism</title>
            <author initials="L." surname="Chen" fullname="L. Chen">
              <organization>Google LLC</organization>
            </author>
            <author initials="S." surname="Englehardt" fullname="S. Englehardt">
              <organization>Mozilla</organization>
            </author>
            <author initials="M." surname="West" fullname="M. West">
              <organization>Google LLC</organization>
            </author>
            <author initials="J." surname="Wilander" fullname="J. Wilander">
              <organization>Apple, Inc</organization>
            </author>
            <date year="2021" month="October"/>
          </front>
        </reference>
        <reference anchor="CSP3" target="https://www.w3.org/TR/CSP3/">
          <front>
            <title>Content Security Policy</title>
            <author initials="M." surname="West" fullname="Mike West">
              <organization>Google, Inc</organization>
            </author>
            <date year="2018" month="October"/>
          </front>
        </reference>
        <reference anchor="Fetch" target="https://fetch.spec.whatwg.org/">
          <front>
            <title>Fetch</title>
            <author initials="" surname="whatwg" fullname="whatwg">
              <organization/>
            </author>
            <date year="2018"/>
          </front>
        </reference>
        <reference anchor="oauth-security-topics" target="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics">
          <front>
            <title>OAuth 2.0 Security Best Current Practice</title>
            <author initials="T." surname="Lodderstedt" fullname="Torsten Lodderstedt">
              <organization>yes.com</organization>
            </author>
            <author initials="J." surname="Bradley" fullname="John Bradley">
              <organization>Yubico</organization>
            </author>
            <author initials="A." surname="Labunets" fullname="Andrey Labunets">
              <organization>Facebook</organization>
            </author>
            <author initials="D." surname="Fett" fullname="Daniel Fett">
              <organization>yes.com</organization>
            </author>
            <date year="2021" month="April"/>
          </front>
        </reference>
        <reference anchor="oauth-iss-auth-resp" target="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-iss-auth-resp">
          <front>
            <title>OAuth 2.0 Authorization Server Issuer Identifier in Authorization Response</title>
            <author initials="K." surname="Meyer zu Selhausen" fullname="Karsten Meyer zu Selhausen">
              <organization>Hackmanit</organization>
            </author>
            <author initials="D." surname="Fett" fullname="Daniel Fett">
              <organization>yes.com</organization>
            </author>
            <date year="2021" month="January"/>
          </front>
        </reference>
      </references>
      <references>
        <name>Informative References</name>
        <reference anchor="HTML" target="https://html.spec.whatwg.org/">
          <front>
            <title>HTML</title>
            <author initials="" surname="whatwg" fullname="whatwg">
              <organization/>
            </author>
            <date year="2020"/>
          </front>
        </reference>
        <reference anchor="tmi-bff" target="https://datatracker.ietf.org/doc/html/draft-bertocci-oauth2-tmi-bff-01">
          <front>
            <title>Token Mediating and session Information Backend For Frontend</title>
            <author initials="V." surname="Bertocci" fullname="V. Bertocci">
              <organization>Okta</organization>
            </author>
            <author initials="B." surname="Cambpell" fullname="B. Cambpell">
              <organization>Ping</organization>
            </author>
            <date year="2021" month="April"/>
          </front>
        </reference>
        <reference anchor="WebCrypto" target="https://w3c.github.io/webcrypto/">
          <front>
            <title>Web Cryptography API</title>
            <author initials="D." surname="Huigens" fullname="Daniel Huigens">
              <organization>Proton AG</organization>
            </author>
            <date year="2022" month="November"/>
          </front>
        </reference>
        <reference anchor="DPoP" target="https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop">
          <front>
            <title>Demonstrating Proof-of-Possession at the Application Layer</title>
            <author initials="D." surname="Fett">
              <organization>yes.com</organization>
            </author>
            <author initials="B." surname="Cambpell">
              <organization>Ping Identity</organization>
            </author>
            <author initials="J." surname="Bradley">
              <organization>Yubico</organization>
            </author>
            <author initials="T." surname="Lodderstedt">
              <organization>yes.com</organization>
            </author>
            <author initials="M." surname="Jones">
              <organization>Microsoft</organization>
            </author>
            <author initials="D." surname="Waite">
              <organization>Ping Identity</organization>
            </author>
            <date>n.d.</date>
          </front>
        </reference>
      </references>
    </references>
    <section anchor="server-support-checklist">
      <name>Server Support Checklist</name>
      <t>OAuth authorization servers that support browser-based apps MUST:</t>
      <ol spacing="normal" type="1"><li>Support PKCE <xref target="RFC7636"/>. Required to protect authorization code
grants sent to public clients. See <xref target="auth_code_request"/></li>
        <li>NOT support the Resource Owner Password grant for browser-based clients.</li>
        <li>NOT support the Implicit grant for browser-based clients.</li>
        <li>Require "https" scheme redirect URIs.</li>
        <li>Require exact matching of registered redirect URIs.</li>
        <li>Support cross-domain requests at the token endpoint in order to allow browsers
to make the authorization code exchange request. See <xref target="cors"/></li>
        <li>Not assume that browser-based clients can keep a secret, and SHOULD NOT issue
secrets to applications of this type.</li>
        <li>Follow the <xref target="oauth-security-topics"/> recommendations on refresh tokens, as well
as the additional requirements described in <xref target="refresh_tokens"/>.</li>
      </ol>
    </section>
    <section anchor="document-history">
      <name>Document History</name>
      <t>[[ To be removed from the final specification ]]</t>
      <t>-12</t>
      <ul spacing="normal">
        <li>Revised overview and server support checklist to bring them up to date with the rest of the draft</li>
        <li>Added a new section about options for storing tokens</li>
        <li>Added a section on sender-constrained tokens and a reference to DPoP</li>
        <li>Rephrased the architecture patterns to focus on token acquisition</li>
        <li>Added a section discussing why not to use the Cookie API to store tokens</li>
      </ul>
      <t>-11</t>
      <ul spacing="normal">
        <li>Added a new architecture pattern: Token Mediating Backend</li>
        <li>Revised and added clarifications for the Service Worker pattern</li>
        <li>Editorial improvements in descriptions of the different architectures</li>
        <li>Rephrased headers</li>
      </ul>
      <t>-10</t>
      <ul spacing="normal">
        <li>Revised the names of the architectural patterns</li>
        <li>Added a new pattern using a service worker as the OAuth client to manage tokens</li>
        <li>Added some considerations when storing tokens in Local or Session Storage</li>
      </ul>
      <t>-09</t>
      <ul spacing="normal">
        <li>Provide additional context for the same-domain architecture pattern</li>
        <li>Added reference to draft-ietf-httpbis-rfc6265bis to clarify that SameSite is not the only CSRF protection measure needed</li>
        <li>Editorial improvements</li>
      </ul>
      <t>-08</t>
      <ul spacing="normal">
        <li>Added a note to use the "Secure" cookie attribute in addition to SameSite etc</li>
        <li>Updates to bring this draft in sync with the latest Security BCP</li>
        <li>Updated text for mix-up countermeasures to reference the new "iss" extension</li>
        <li>Changed "SHOULD" for refresh token rotation to MUST either use rotation or sender-constraining to match the Security BCP</li>
        <li>Fixed references to other specs and extensions</li>
        <li>Editorial improvements in descriptions of the different architectures</li>
      </ul>
      <t>-07</t>
      <ul spacing="normal">
        <li>Clarify PKCE requirements apply only to issuing access tokens</li>
        <li>Change "MUST" to "SHOULD" for refresh token rotation</li>
        <li>Editorial clarifications</li>
      </ul>
      <t>-06</t>
      <ul spacing="normal">
        <li>Added refresh token requirements to AS summary</li>
        <li>Editorial clarifications</li>
      </ul>
      <t>-05</t>
      <ul spacing="normal">
        <li>Incorporated editorial and substantive feedback from Mike Jones</li>
        <li>Added references to "nonce" as another way to prevent CSRF attacks</li>
        <li>Updated headers in the Implicit Flow section to better represent the relationship between the paragraphs</li>
      </ul>
      <t>-04</t>
      <ul spacing="normal">
        <li>Disallow the use of the Password Grant</li>
        <li>Add PKCE support to summary list for authorization server requirements</li>
        <li>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</li>
        <li>Updated recommendations on using state to reflect the Security BCP</li>
        <li>Updated server support checklist to reflect latest changes</li>
        <li>Updated the same-domain JS architecture section to emphasize the architecture rather than domain</li>
        <li>Editorial clarifications in the section that talks about OpenID Connect ID tokens</li>
      </ul>
      <t>-03</t>
      <ul spacing="normal">
        <li>Updated the historic note about the fragment URL clarifying that the Session History API means browsers can use the unmodified authorization code flow</li>
        <li>Rephrased "Authorization Code Flow" intro paragraph to better lead into the next two sections</li>
        <li>Softened "is likely a better decision to avoid using OAuth entirely" to "it may be..." for common-domain deployments</li>
        <li>Updated abstract to not be limited to public clients, since the later sections talk about confidential clients</li>
        <li>Removed references to avoiding OpenID Connect for same-domain architectures</li>
        <li>Updated headers to better describe architectures (Apps Served from a Static Web Server -&gt; JavaScript Applications without a Backend)</li>
        <li>Expanded "same-domain architecture" section to better explain the problems that OAuth has in this scenario</li>
        <li>Referenced Security BCP in implicit flow attacks where possible</li>
        <li>Minor typo corrections</li>
      </ul>
      <t>-02</t>
      <ul spacing="normal">
        <li>Rewrote overview section incorporating feedback from Leo Tohill</li>
        <li>Updated summary recommendation bullet points to split out application and server requirements</li>
        <li>Removed the allowance on hostname-only redirect URI matching, now requiring exact redirect URI matching</li>
        <li>Updated Section 6.2 to drop reference of SPA with a backend component being a public client</li>
        <li>Expanded the architecture section to explicitly mention three architectural patterns available to JS apps</li>
      </ul>
      <t>-01</t>
      <ul spacing="normal">
        <li>Incorporated feedback from Torsten Lodderstedt</li>
        <li>Updated abstract</li>
        <li>Clarified the definition of browser-based apps to not exclude applications cached in the browser, e.g. via Service Workers</li>
        <li>Clarified use of the state parameter for CSRF protection</li>
        <li>Added background information about the original reason the implicit flow was created due to lack of CORS support</li>
        <li>Clarified the same-domain use case where the SPA and API share a cookie domain</li>
        <li>Moved historic note about the fragment URL into the Overview</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 apps 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>Annabelle Backman, Brian Campbell, Brock Allen, Christian Mainka, Daniel Fett, Eva Sarafianou,
George Fletcher, Hannes Tschofenig, Janak Amarasena, John Bradley, Joseph Heenan,
Justin Richer, Karl McGuinness, Karsten Meyer zu Selhausen, Leo Tohill, Mike Jones,
Philippe De Ryck, Sean Kelleher, Tomek Stojecki, Torsten Lodderstedt, Vittorio Bertocci and Yannick Majoros.</t>
    </section>
  </back>
  <!-- ##markdown-source:
H4sIAAAAAAAAA+19a3fb1pXod/wKXPlDpYakY+XR1G2zRpbtWKkd61rKZLq6
OgkIHoqoQIADgJIZx//97ud5AaBkN7dds1aVNpFI4Dz22We/H9PpNOmKrjSP
09cn226VHs8+TZd1kz5p6tvWNNMnWWsW6clm0yaLOq+yNTy5aLJlNy1Mt5zW
Gbw0ncvDc3x4msHD00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