Uh oh!
There was an error while loading. Please reload this page.
Add PKCE documentation - #256
Open
ricardobcl wants to merge 1 commit into
Open
Conversation
ricardobclforce-pushed
the
feature/add-pkce-documentation
branch
from
August 26, 2026 17:22
e0c4a61 to
ca60e2eCompareDocuments the Native Application Flow introduced by uphold/backend#19003: proof key generation, the GET /oauth2/authorize/start endpoint, the code_verifier token exchange parameter, loopback redirect URL matching semantics, and the associated rate limit. Blocked until the backend change is merged and deployed.
ricardobclforce-pushed
the
feature/add-pkce-documentation
branch
from
August 31, 2026 14:17
ca60e2e to
c670898Comparericardobcl
marked this pull request as ready for review
September 1, 2026 12:44
ricardobcl
commented
Sep 1, 2026
Author
uphold/backend#19003 has merged (squash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents the Native Application Flow (PKCE) being added to the authorization server by uphold/backend#19003, for native clients (desktop, CLI, mobile) that receive the OAuth redirect on a loopback address — including the MCP client use case.
_authentication.mdsection: proof key generation (code_verifier/code_challenge, S256 only), theGET /oauth2/authorize/startendpoint with its parameters and challenge semantics (30-minute validity, bound toclient_id+state, freshstateper attempt), thecode_verifiertoken-exchange parameter with its failure mode (mismatch consumes the code), and loopback redirect URL matching (port-agnostic per RFC 8252 §7.3)._applications.md: loopbackhttpredirect URLs are now registrable for native applications, with a pointer to the PKCE requirement they trigger._ratelimits.md:GET /oauth2/authorize/start— 30 requests / 5-min window per IP.Stacked on #250 (the auth-section refresh), since both edit the same sections — this PR targets that branch and will retarget to
masterautomatically when it merges.Blocked — do not merge until uphold/backend#19003 is merged and deployed
Two open review items on the backend PR may require small wording updates here before merging:
/oauth2/authorize/startwill reject clients that are not PKCE-required (review suggestion) — affects the "other applications may opt in" phrasing.client_secret) at the token endpoint will be relaxed for public clients — the Step 3 example currently shows-u <clientId>:<clientSecret>, matching today's behavior.Related issues
Impacted areas
Authentication, Applications and Rate Limits pages of the API reference.
Steps to reproduce or test
Development
Content derived from the backend PR's implementation and description (endpoint parameters, validation rules, TTLs and rate limit verified against its diff and config).
QA
Once the backend change is deployed to sandbox, run the documented flow end to end: generate a proof key, authorize via
/oauth2/authorize/start, and exchange the code withcode_verifier.Checklist
Breaking Changeif it applies.package.json.Deploy notes
Merge only after uphold/backend#19003 is deployed to production, and after #250 merges (this PR is stacked on it). No files removed, so no slate index changes are needed.
🤖 Generated with Claude Code