Skip to content
IAM Insights

Explainers · Glossary

Resource owner password credentials grant

resource owner password credentials grant · ROPC · password grant

The OAuth 2.0 grant in which the client collects the user's username and password and sends them to the authorization server. RFC 9700 says it MUST NOT be used.

reference →

In our briefings

What our briefings say about Resource owner password credentials grant itself, with the most direct claims first.

  1. The 2013 text still treats the implicit and password grants as usable options. Against code leakage to a counterfeit client, section 4.4.1.7 says the client "may consider using other flows that are not vulnerable to this kind of attack" and names those two grants, though section 4.4.2 lists token leakage and other threats for the implicit grant. Section 4.4.3 calls the password grant higher risk because it "maintains the UID/password anti-pattern". Such a client is not limited by scope, and with no authorization step the grant bypasses token revocation. The countermeasures for it begin with minimising its use "except for migration reasons".

    RFC 6819 warned in 2013 that servers receiving a token may reuse it, and offered audience binding and client-bound tokensBI-FIND-2013-0006

  2. Several of RFC 9700's MUSTs are checks an IAM team can run against its own stack. Authorization servers must match redirect URIs by exact string, with only the port of a native app's localhost URI exempt. They must support PKCE (Proof Key for Code Exchange) and refuse a token request that carries a code_verifier when the authorization request had no code_challenge. Public clients must use PKCE, and their refresh tokens must be sender-constrained or rotated. The resource owner password credentials grant must not be used. Two neighbouring rules are softer: the implicit grant gets a SHOULD NOT with an exception, and PKCE for confidential clients is only RECOMMENDED. The authors concede that following the document "may break interoperability" and still recommend upgrading "as soon as feasible".

    RFC 9700 bans OAuth's password grant and loose redirect matching; binding access tokens stays a SHOULDBI-FIND-2025-0351

  3. Two of the four grants RFC 6749 defines come with warnings in its own security section. The implicit grant returns the access token in the redirect with no client authentication (§4.2), and §10.16 says any sign-in protocol built on OAuth must not use it without extra checks, such as audience-restricting the token. Of the password grant, §10.7 says it "carries a higher risk than other grant types because it maintains the password anti-pattern this protocol seeks to avoid," and asks servers and clients to minimize its use. Thirteen years on, in the later documents we have read, RFC 9700 says the password grant MUST NOT be used and clients SHOULD NOT use the implicit grant, and the OAuth 2.1 draft leaves both out.

    RFC 6749 admits a server can't tell who presents a token; the fixes arrived in 2020 and 2023BI-FIND-2012-0005

Cited in 5 briefings

Every briefing that discusses this term, newest first.

  1. The browser OAuth draft favors a backend that keeps tokens out of JavaScript

    Draft · · IETF Datatracker · Aaron Parecki et al. · Jul 6, 2026

  2. OAuth 2.1's October draft bans plain PKCE and adds browser-app rules; 2.1-only clients can fail on older servers

    Draft · · IETF Datatracker · Dick Hardt et al. · Mar 2, 2026

  3. RFC 9700 bans OAuth's password grant and loose redirect matching; binding access tokens stays a SHOULD

    Article · · IETF (RFC Editor) · Torsten Lodderstedt et al. · Jan 2025

  4. RFC 6819 warned in 2013 that servers receiving a token may reuse it, and offered audience binding and client-bound tokens

    Article · · RFC Editor · T. Lodderstedt et al. · Jan 2013

  5. RFC 6749 admits a server can't tell who presents a token; the fixes arrived in 2020 and 2023

    Article · · RFC Editor · D. Hardt et al. · Oct 2012