Skip to content
IAM Insights

Briefing · Draft · source · updated · Boston Identity

OAuth's in-app login draft lets a native app collect the password itself, and leaves each server to vet the app

OAuth for First-Party Apps, an OAuth working group draft by Aaron Parecki, George Fletcher and Pieter Kasselman, lets a company's own mobile or desktop app run its login screens instead of opening a browser. The authors concede this gives people a second place to type credentials. Revision -03 requires the authorization server to check that the app really is first-party without saying how, and leaves the login steps themselves to each deployment.

IETF Datatracker · Aaron Parecki, George Fletcher, Pieter Kasselman · February 28, 2026 · read

share
3 findings4 sectionsStandardsPasswordless
11,057 words. With Aaron Parecki, author, Okta; George Fletcher, author, Practical Identity LLC; Pieter Kasselman, author, Defakto Security.
01

What's happening

Finding3
BI-FIND-2026-1068Lead finding

OAuth for First-Party Apps lets a native app collect login details itself, and requires the server to verify the app is first-party without prescribing how.

OAuth for First-Party Apps lets a native app collect a person's login details itself and post them to a new Authorization Challenge Endpoint, which returns an authorization code or an error asking for more; a browser is the fallback. The authors restrict it to apps run by the same entity as the authorization server, and they concede that a second place to type credentials makes fake login prompts harder to teach people to spot. The server MUST verify the client's "first-partyness", but the draft is "not prescriptive" on how it does so: attestation APIs SHOULD be used when possible, and the exact steps are out of scope. In browser-based apps, where cross-site scripting is a risk and first-partyness is harder to prove, its use is NOT RECOMMENDED.

high confidencebest source: vendor, technicalobserved Feb 2026EvidenceSecurity considerationsScope: first-party native apps onlySection 2
flag a problem with BI-FIND-2026-1068
Figure steps
  1. The person types a username or email into the app, and the app posts it to the authorization server's challenge endpoint.
  2. The server answers insufficient_authorization, with an auth_session value that links the steps that follow.
  3. The app asks the person for a code or passkey and posts the answer with the auth_session. What it asks, and in what order, each server defines for itself.
  4. The server returns an authorization code, or redirect_to_web to send the person to a browser.
  5. The app trades the code for an access token at the token endpoint.
  6. When an API answers with a step-up error, the app starts a new request at the challenge endpoint.
Fig. 1

The app runs the login itself; what passes between the first request and the code is whatever each authorization server defines, and a browser opens only if the server answers redirect_to_web.

Redrawn from the draft's own sequence in section 3.1, with the step-up return from section 7Source dated February 28, 2026Passage: Section 2

Swipe for the full figure →

BI-FIND-2026-1069

The draft fixes the endpoint and its first responses, and leaves the prompts, challenges and order of login steps to each deployment.

What the draft fixes is the endpoint and its first responses. The prompts, challenges and order of login steps are "intentionally left to individual deployments": each authorization server defines its own error codes and follow-up requests, which MAY go to proprietary endpoints, and the authors expect providers to wrap the whole thing in an SDK so app developers never implement it themselves. A complete interoperable solution is left to profiles, and any profile that stretches the draft beyond first-party apps MUST explain how it avoids the risks of a third-party app talking to the user directly.

flag a problem with BI-FIND-2026-1069
BI-FIND-2026-1070

Protection against a stolen login session or token stays at SHOULD in the draft unless the client opts in by sending a DPoP header.

Protection against a stolen login session or token stays at SHOULD unless the client opts in. Tokens SHOULD be sender-constrained, the authorization code SHOULD be bound to the client's DPoP key, and the auth_session value that links a login's steps SHOULD be tied to that key; without such binding, the authors write, a captured auth_session could be replayed from another device. The hard rules start only after a client sends a DPoP header on its first challenge request, the server MUST hold it to the same key through the token request and reject anything else. Revision -03 set the auth_session binding requirements at SHOULD.

medium confidencebest source: vendor, technicalobserved Feb 2026EvidenceSecurity considerations
flag a problem with BI-FIND-2026-1070
02

Section by section

4

showing 4 of 4

[1]

Scope: first-party native apps only

Aaron Parecki, Okta · George Fletcher, Practical Identity LLC · Pieter Kasselman, Defakto Security

StandardsPasswordless

The draft adds an Authorization Challenge Endpoint to OAuth 2.0 so a native app can collect a person's login details itself, opening a browser only as a fallback. It is meant for apps run by the same entity as the authorization server, and the authors say to consider it only when a redirect causes usability problems. The login interactions themselves are left to each deployment and to future profiles.

technical artifactfrom published text

[2]

Protocol: challenge endpoint, auth_session, step-up

Aaron Parecki, Okta · George Fletcher, Practical Identity LLC · Pieter Kasselman, Defakto Security

Standards

The app posts to the challenge endpoint and gets back an authorization code or an error: insufficient_authorization (ask the person for more), redirect_to_web (finish in a browser) or invalid_session. An opaque auth_session value links the steps, much as a browser cookie would. A token endpoint error or an API's RFC 9470 step-up error can send the app back to the challenge endpoint, which servers advertise in metadata as authorization_challenge_endpoint.

technical artifactfrom published text

[3]

Security considerations

Aaron Parecki, Okta · George Fletcher, Practical Identity LLC · Pieter Kasselman, Defakto Security

Standards

The authors name phishing, credential stuffing and client impersonation as the new risks. Most of their defences are SHOULDs: attestation, sender-constrained tokens with DPoP binding of the code, an auth_session tied to the device, and rate limits per auth_session. A company with several apps MUST give them an identical login experience, with a shared SDK RECOMMENDED, and single-page browser apps should not use the draft at all.

technical artifactfrom published text

[4]

Design goals, history and examples

Aaron Parecki, Okta · George Fletcher, Practical Identity LLC · Pieter Kasselman, Defakto Security

StandardsPasswordless

The authors explain why they chose a separate endpoint that returns an authorization code, instead of new grant types or tokens issued straight from the new endpoint. Revision -03 set the auth_session binding requirements at SHOULD, made response_type=code required and clarified that the draft is meant for first-party apps. The worked examples (passkey, one-time code, email, step-up) are illustrations, not requirements.

technical artifactfrom published text

Terms used

OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
Attestation
A signed statement that something is what it claims to be: which model an agent runs, what code it was built from, or which human owns it.
Application programming interface
Application programming interface: a defined way for software components to request operations or exchange data.
Cross-site scripting (XSS)
An attack where a site is tricked into running an attacker's script in a visitor's browser, which can then read tokens held in the page and act as the visitor.
DPoP
A way to bind an OAuth access token to the specific key that requested it: the client signs a fresh proof for every call, so a stolen bearer token is useless to whoever steals it without also holding the matching private key.
OAuth 2.0 Step Up Authentication Challenge
RFC 9470: lets an API tell a client that the user must log in again, more strongly or more recently, before a call succeeds.
Impersonation
One party acting fully as another, indistinguishable to any system it reaches, rather than acting as itself with borrowed authority (delegation). RFC 8693's OAuth token exchange names both as the two semantics a security token can carry.
FIDO2 / passkeys
Standards from the Fast Identity Online (FIDO) Alliance and World Wide Web Consortium (W3C) behind passkeys: phishing-resistant sign-in with public-key credentials instead of passwords, on one device or synced across devices.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity